Documentation
¶
Overview ¶
Package startup provides a mechanism for registering and running initialization functions during application startup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeferStartup = wlerrors.New("defer startup")
ErrDeferStartup signals that a startup function should be deferred and run later.
Functions ¶
func RegisterHook ¶
func RegisterHook(f HookFunc)
RegisterHook adds a startup function to be executed during application initialization.
Types ¶
Click to show internal directories.
Click to hide internal directories.