Documentation
¶
Index ¶
- func AfterStart() error
- func AfterStop() error
- func BeforeStart() error
- func BeforeStop() error
- func Start() error
- func Stop() error
- func WithAfterStart(fn func(ctx *AfterStartCtx)) error
- func WithAfterStop(fn func(ctx *AfterStopCtx)) error
- func WithBeforeStart(fn func(ctx *BeforeStartCtx)) error
- func WithBeforeStop(fn func(ctx *BeforeStopCtx)) error
- func WithStart(fn func(ctx *StartCtx)) error
- func WithStop(fn func(ctx *StopCtx)) error
- type AfterStartCtx
- type AfterStopCtx
- type BeforeStartCtx
- type BeforeStopCtx
- type StartCtx
- type StopCtx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterStart ¶
func AfterStart() error
func BeforeStart ¶
func BeforeStart() error
func BeforeStop ¶
func BeforeStop() error
func WithAfterStart ¶
func WithAfterStart(fn func(ctx *AfterStartCtx)) error
func WithAfterStop ¶
func WithAfterStop(fn func(ctx *AfterStopCtx)) error
func WithBeforeStart ¶
func WithBeforeStart(fn func(ctx *BeforeStartCtx)) error
func WithBeforeStop ¶
func WithBeforeStop(fn func(ctx *BeforeStopCtx)) error
Types ¶
type AfterStartCtx ¶
type AfterStopCtx ¶
type BeforeStartCtx ¶
type BeforeStopCtx ¶
Click to show internal directories.
Click to hide internal directories.