boot

package
v4.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 3

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) 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