Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lifecycle ¶
type Lifecycle interface { Startuper Shutdowner }
type LifecycleFunc ¶
Wrapper to Lifecycle to make it possible to invoke single function for any state change.
func (LifecycleFunc) Shutdown ¶
func (lf LifecycleFunc) Shutdown(bundle *Bundle) error
func (LifecycleFunc) Startup ¶
func (lf LifecycleFunc) Startup(bundle *Bundle) error
type ShutdownFunc ¶
Wrapper to Shutdowner to make it posisble to invoke standalone function.
func (ShutdownFunc) Shutdown ¶
func (sf ShutdownFunc) Shutdown(bundle *Bundle) error
type Shutdowner ¶
type StartupFunc ¶
Wrapper for Startuper to make it possible to invoke standalone function.
func (StartupFunc) Startup ¶
func (sf StartupFunc) Startup(bundle *Bundle) error
Click to show internal directories.
Click to hide internal directories.