boot

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 18 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Boot

func Boot(cfgPath string)

func RegisterSvc

func RegisterSvc(typ SvcType, creator plugin.Creator, cfgCreator plugin.CfgCreator)

Types

type Booter added in v0.0.3

type Booter struct {
	runner.Runner
	// contains filtered or unexported fields
}

func New

func New(cfgPath string) *Booter

func (*Booter) Cancel added in v0.0.3

func (b *Booter) Cancel()

func (*Booter) Init added in v0.0.3

func (b *Booter) Init() error

func (*Booter) OnChildDone added in v0.0.3

func (b *Booter) OnChildDone(child runner.Runner) error

func (*Booter) Start added in v0.0.3

func (b *Booter) Start() error

type Svc added in v0.0.3

type Svc interface {
	runner.Runner
	plugin.Plugin
}

type SvcType

type SvcType string

Jump to

Keyboard shortcuts

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