runtimecontext

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRuntimeContextNotFound = errors.New("runtime context was not found")

Functions

func MustExtract

func MustExtract(ctx context.Context) js.Value

MustExtract extracts runtime context object from context. This function panics when runtime context object was not found.

func New

func New(ctx context.Context, runtimeCtxObj js.Value) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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