daemon

package
v0.0.0-...-585f190 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewDaemonImpl)

Functions

This section is empty.

Types

type Daemon

type Daemon interface {
	Start(ctx context.Context)
}

func NewDaemonImpl

func NewDaemonImpl(config *config.Config, operator *biz.DataOperatorUsecase) Daemon

type DaemonImpl

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

func (*DaemonImpl) Start

func (d *DaemonImpl) Start(ctx context.Context)

Start starts the daemon

It will start the operator to do some operations It is a blocking function

Jump to

Keyboard shortcuts

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