daemon

package
v1.22.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MPL-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrInterceptor added in v1.8.0

func ErrInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

func Main

func Main()

Main runs the daemon.

Types

type Daemon

type Daemon struct {
	Daemon   *net.UnixListener
	Runtime  *retryingTCPListener
	DBProxy  *retryingTCPListener
	Dash     *retryingTCPListener
	EncoreDB *sql.DB

	Apps       *apps.Manager
	Secret     *secret.Manager
	RunMgr     *run.Manager
	ClusterMgr *sqldb.ClusterManager
	Trace      trace2.Store
	Server     *daemon.Server
	// contains filtered or unexported fields
}

Daemon orchestrates setting up the different daemon subsystems.

Jump to

Keyboard shortcuts

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