container

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Container

type Container struct {
	AddServer      addserver.UseCase
	CleanServers   cleanservers.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,
	cleanServersUseCase cleanservers.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

Jump to

Keyboard shortcuts

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