startup

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerOptions

type ServerOptions interface {
	deploymentinfra.Options
	authinfra.Options

	RunnersPollInterval() time.Duration
	RunnersDeploymentCount() int
	ConnectionString() string
}

type ServerRoot

type ServerRoot interface {
	Cleanup() error
	Bus() bus.Dispatcher
	Logger() log.Logger
	UsersReader() domain.UsersReader
}

Represents a services root containing every services used by a server.

func Server

func Server(options ServerOptions, logger log.Logger) (ServerRoot, error)

Instantiate a new server root, registering and initializing every services needed by the server.

Jump to

Keyboard shortcuts

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