config

package
v0.0.0-...-b7b0d94 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Package config allows reading configuration from the WebAssembly host.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() []byte

Get can be called at any time, to read configuration set by the host.

For example:

func main() {
	config := config.Get()
	// decode yaml
}

Types

This section is empty.

Directories

Path Synopsis
Package internal allows unit testing without requiring wasm imports.
Package internal allows unit testing without requiring wasm imports.

Jump to

Keyboard shortcuts

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