context

package
v0.0.0-...-891ed02 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Logger   logger.ILogger
	Producer internal.IProducer
}

Context provides commonly-used services.

func NewContext

func NewContext(l logger.ILogger, p internal.IProducer) *Context

NewContext creates and return a new Context instance.

Jump to

Keyboard shortcuts

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