boot

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 16 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSvc

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

func Run

func Run(cfgPath string)

Types

type Boot

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

func New

func New(cfgPath string) *Boot

func (*Boot) Cancel

func (b *Boot) Cancel()

func (*Boot) Init

func (b *Boot) Init() error

func (*Boot) OnChildDone

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

func (*Boot) Start

func (b *Boot) Start() error

type SvcType

type SvcType string

Jump to

Keyboard shortcuts

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