Documentation ¶ Index ¶ func Close(name string) error func Open(name string, parent []string) error func Register(name string, task *Task) func Shutdown() (err error) func Startup() (err error) func Unregister(name string) type Task func Load(name string) *Task 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 Source Files ¶ View all Source files boot.go Click to show internal directories. Click to hide internal directories.