container

package
v0.0.0-...-6d34543 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 6 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,
	provideMockAppName,
)

Functions

func AppName

func AppName() string

func SetConfFunc

func SetConfFunc(conf func() config.Config)

func SetLogger

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

Types

type Esim

type Esim struct {
	Logger log.Logger

	Conf config.Config

	Tracer *tracer.EsimTracer

	AppName string
	// contains filtered or unexported fields
}

Esim init start.

func NewEsim

func NewEsim() *Esim

Esim init end.

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