context

package
v1.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ExecModeKey is the context key for setting the execution mode.
	ExecModeKey = execModeKey{}
	// CometInfoKey is the context key for allowing modules to get CometInfo.
	CometInfoKey = cometInfoKey{}
	// CometParamsInitInfoKey is the context key for setting consensus params from genesis in the consensus module.
	CometParamsInitInfoKey = initInfoKey{}

	// EnvironmentContextKey is the context key for the environment.
	// A caller should not assume the environment is available in each context.
	// ref: https://github.com/cosmos/cosmos-sdk/issues/19640
	EnvironmentContextKey = environmentKey{}
)
View Source
var (
	// LoggerContextKey is the context key where the logger can be found.
	LoggerContextKey loggerContextKey
	// ViperContextKey is the context key where the viper instance can be found.
	ViperContextKey viperContextKey
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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