indexdb

package module
v0.0.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 4 Imported by: 1

README

indexdb

implementación de index dB con Websassembly compilado con go (golang)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(h *model.MainHandler) (err string)

run = RunBootData()

func Await added in v0.0.37

func Await(cb func() (js.Value, error)) js.Value

func CreateBlobURL added in v0.0.24

func CreateBlobURL(blob any) string

CreateBlobURL crea una URL Blob a partir de un blob.

func PromiseError added in v0.0.37

func PromiseError(e interface{}) (err js.Value)

PromiseError makes sure to return some error that Invoke will understand.

func PromiseOf added in v0.0.37

func PromiseOf(fn PromiseAbleFunc) js.Func

MakePromise hace una promesa de una función que toma una serie de argumentos.

Types

type PromiseAbleFunc added in v0.0.37

type PromiseAbleFunc = func(js.Value, []js.Value) (interface{}, error)

https://go-review.googlesource.com/c/go/+/402455/3/src/syscall/js/promise.go Función prometedora que satisface los requisitos de MakePromise.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL