container

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockSet = wire.NewSet(
	wire.Struct(new(Esim), "*"),
	provideMockConf,
	provideLogger,
	provideMockProme,
	provideNoopTracer,
)

Functions

func SetConfFunc

func SetConfFunc(conf func() config.Config)

func SetLogger

func SetLogger(logger func(config.Config) log.Logger)

func SetPrometheusFunc

func SetPrometheusFunc(pt func(config.Config, log.Logger) *prometheus.Prometheus)

func SetTracer

func SetTracer(tracer func(config.Config, log.Logger) opentracing.Tracer)

Types

type Esim

type Esim struct {
	Logger log.Logger

	Conf config.Config

	Tracer opentracing.Tracer
	// contains filtered or unexported fields
}

Esim init start.

func NewEsim

func NewEsim() *Esim

func NewMockEsim

func NewMockEsim() *Esim

func (*Esim) String

func (e *Esim) String() string

Jump to

Keyboard shortcuts

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