cosmos-sdk/core/context/server_context.go
Julien Robert 6fc677faec
docs(core): add core documentation and principles (#21511)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2024-09-03 22:20:05 +00:00

14 lines
306 B
Go

package context
type (
loggerContextKey struct{}
viperContextKey struct{}
)
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
)