Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("container", fx.Provide(getserver.New), fx.Provide(addserver.New), fx.Provide(listservers.New), fx.Provide(reportserver.New), fx.Provide(renewserver.New), fx.Provide(removeserver.New), fx.Provide(refreshservers.New), fx.Provide(reviveservers.New), fx.Provide(probeserver.New), fx.Provide(NewUseCaseConfigs), fx.Provide(NewContainer), )
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { AddServer addserver.UseCase GetServer getserver.UseCase ListServers listservers.UseCase ProbeServer probeserver.UseCase RefreshServers refreshservers.UseCase RemoveServer removeserver.UseCase RenewServer renewserver.UseCase ReportServer reportserver.UseCase ReviveServers reviveservers.UseCase }
func NewContainer ¶ added in v0.14.0
func NewContainer( addServerUseCase addserver.UseCase, getServerUseCase getserver.UseCase, listServersUseCase listservers.UseCase, probeServerUseCase probeserver.UseCase, refreshServersUseCase refreshservers.UseCase, removeServerUseCase removeserver.UseCase, renewServerUseCase renewserver.UseCase, reportServerUseCase reportserver.UseCase, reviveServersUseCase reviveservers.UseCase, ) Container
type UseCaseConfigs ¶ added in v0.14.0
type UseCaseConfigs struct { fx.Out AddServerOptions addserver.UseCaseOptions ReportServerOptions reportserver.UseCaseOptions RefreshServersOptions refreshservers.UseCaseOptions ReviveServersOptions reviveservers.UseCaseOptions }
func NewUseCaseConfigs ¶ added in v0.14.0
func NewUseCaseConfigs(cfg config.Config) UseCaseConfigs
Click to show internal directories.
Click to hide internal directories.