boot

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(name string) error

func Open

func Open(name string, parent []string) error

func Register

func Register(name string, task *Task)

func Shutdown

func Shutdown() (err error)

func Startup

func Startup() (err error)

func Unregister

func Unregister(name string)

Types

type Task

type Task struct {
	Startup  func() error
	Shutdown func() error
	Depends  []string
	// contains filtered or unexported fields
}

func Load

func Load(name string) *Task

Jump to

Keyboard shortcuts

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