daemon

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(scope string) fx.Option

Types

type Daemon

type Daemon struct {
	// contains filtered or unexported fields
}

func (*Daemon) GetHealthStatus

func (d *Daemon) GetHealthStatus() HealthStatus

func (*Daemon) Ready

func (d *Daemon) Ready() bool

type HealthStatus

type HealthStatus int32
const (
	HealthStatus_Healthy HealthStatus = iota
	HealthStatus_Unhealthy
)

type Params

type Params struct {
	fx.In

	Lifecycle fx.Lifecycle
	Logger    *zap.Logger
}

Jump to

Keyboard shortcuts

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