Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger = NewZapLogger()
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
Cancel()
Done() <-chan struct{}
}
func NewContext ¶
func NewContext() Context
type DiContainer ¶
type DiContainer interface {
AddLifetime(dependency LifetimeDependency)
Add(dependency any)
AddInstance(dependency any)
AddExecute(executable any)
Run()
Stop()
}
func NewDIContainer ¶
func NewDIContainer(context Context) DiContainer
type HttpClient ¶
func NewHttpClient ¶
func NewHttpClient() HttpClient
type LifetimeDependency ¶
Click to show internal directories.
Click to hide internal directories.