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 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)
Click to show internal directories.
Click to hide internal directories.