Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Lifecycle = &LifecycleData{}
Functions ¶
func AddCommand ¶
func AddCommand(name, short, long string, cmd interface{})
Types ¶
type LifecycleData ¶
type LifecycleData struct {
// contains filtered or unexported fields
}
func (*LifecycleData) OnShutdown ¶
func (l *LifecycleData) OnShutdown(handle func())
func (*LifecycleData) RunCleanup ¶
func (l *LifecycleData) RunCleanup()
func (*LifecycleData) Shutdown ¶
func (l *LifecycleData) Shutdown(code int)
func (*LifecycleData) Start ¶
func (l *LifecycleData) Start()
Click to show internal directories.
Click to hide internal directories.