helpers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CidToJSCID

func CidToJSCID(c cid.Cid) js.Value

func JsBufferToBytes

func JsBufferToBytes(buf js.Value) []byte

func JsCidToCid

func JsCidToCid(jsCid js.Value) (cid.Cid, error)

func JsStringArrayToStringSlice

func JsStringArrayToStringSlice(jsStrArray js.Value) []string

func SliceToJSArray

func SliceToJSArray(slice []byte) js.Value

func SliceToJSBuffer

func SliceToJSBuffer(slice []byte) js.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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