wasm

package
v0.0.0-...-1f00af5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSession

func GetSession(key string) (string, bool)

GetSession retrieves a binary value from sessionStorage. This is a no-op when not in wasm.

func HTTPGet

func HTTPGet(filename string) ([]byte, error)

HTTPGet fetches a path via ajax request.

func SetSession

func SetSession(key string, value string)

SetSession sets a binary value on sessionStorage. This is a no-op when not in wasm.

func StorageKeys

func StorageKeys(prefix string) []string

StorageKeys returns the list of localStorage keys matching a prefix. This is a no-op when not in wasm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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