Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShutdownContext ¶ added in v0.0.3
Types ¶
type App ¶ added in v0.0.3
type App struct {
// contains filtered or unexported fields
}
func NewApp ¶ added in v0.0.3
func NewApp( servers *types.ServerPool, services *types.ServicePool, ) *App
type MockEngine ¶ added in v0.0.3
type MockEngine struct {
// contains filtered or unexported fields
}
func NewMockEngine ¶ added in v0.0.3
func NewMockEngine(modules types.Module, opts ...MockEngineOpt) *MockEngine
func (*MockEngine) Run ¶ added in v0.0.3
func (e *MockEngine) Run(f any) error
func (*MockEngine) RunBenchmark ¶ added in v0.0.3
func (e *MockEngine) RunBenchmark(tb *testing.B, name string, f any)
type MockEngineOpt ¶ added in v0.0.3
type MockEngineOpt func(engine *MockEngine)
type ServiceAdapterIn ¶ added in v0.0.3
type ServiceAdapterOut ¶ added in v0.0.3
type ServiceAdapterOut struct {
dig.Out
ServiceList types.ServiceList
ServerList types.ServerList
}
func ServiceAdapter ¶ added in v0.0.3
func ServiceAdapter(in ServiceAdapterIn) ServiceAdapterOut
Click to show internal directories.
Click to hide internal directories.