context

package
v0.0.0-...-c7a1919 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Storage = &ContextKey{key: "Storage"}
	Host    = &ContextKey{key: "Host"}

	PrivateKey = &ContextKey{key: "PrivateKey"}
	PublicKey  = &ContextKey{key: "PublicKey"}
	Address    = &ContextKey{key: "Address"}
)

Functions

func GetContext

func GetContext() context.Context

func SetContext

func SetContext(ctx context.Context)

Types

type ContextKey

type ContextKey struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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