Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAssetHandlers ¶
func AppendAssetHandlers(mux *http.ServeMux, opts *WASMOptions) error
Append all the files in the net/http FS instance containing the embedded WASM assets to an *http.ServeMux instance.
Types ¶
type WASMOptions ¶
type WASMOptions struct {
Prefix string
}
WASMOptions provides a list of JavaScript and CSS link to include with HTML output.
func DefaultWASMOptions ¶
func DefaultWASMOptions() *WASMOptions
Return a *WASMOptions struct with default paths and URIs.
Click to show internal directories.
Click to hide internal directories.