shared

package
v0.0.0-...-91256e5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GoCtxKey is the context key allowing passing values between different
	// starlark invocations.
	GoCtxKey = "go_context"
)

Variables

This section is empty.

Functions

func GetGoCtx

func GetGoCtx(thread *starlark.Thread) context.Context

func SetGoCtx

func SetGoCtx(thread *starlark.Thread, ctx context.Context)

func SetGoCtxWithValues

func SetGoCtxWithValues(thread *starlark.Thread, keyValPairs ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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