dix_run

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterStart

func AfterStart() error

func AfterStop

func AfterStop() error

func BeforeStart

func BeforeStart() error

func BeforeStop

func BeforeStop() error

func Start

func Start() error

func Stop

func Stop() 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

func WithStart

func WithStart(fn func(ctx *StartCtx)) error

func WithStop

func WithStop(fn func(ctx *StopCtx)) error

Types

type AfterStartCtx

type AfterStartCtx struct{ dix.Model }

type AfterStopCtx

type AfterStopCtx struct{ dix.Model }

type BeforeStartCtx

type BeforeStartCtx struct{ dix.Model }

type BeforeStopCtx

type BeforeStopCtx struct{ dix.Model }

type StartCtx

type StartCtx struct{ dix.Model }

type StopCtx

type StopCtx struct{ dix.Model }

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL