types

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigContext added in v0.4.0

type ConfigContext interface {
	context.Context
	Config() *config.Config
}

type LoggerContext added in v0.4.0

type LoggerContext interface {
	context.Context
	Logger() *zap.SugaredLogger
}

type NodeContext added in v0.4.0

type NodeContext interface {
	LoggerContext
	ConfigContext
}

func NewNodeContext added in v0.4.0

func NewNodeContext(ctx context.Context, log *zap.SugaredLogger, cfg *config.Config) (NodeContext, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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