Documentation ¶
Index ¶
- func AfterStart() error
- func AfterStop() error
- func BeforeStart() error
- func BeforeStop() error
- func Dix(data ...interface{}) error
- func Go(data ...interface{})
- func Graph() string
- func Init(opts ...Option) error
- func New(opts ...Option) *dix
- func Start() error
- func Stop() error
- func WithAfterStart(fn func()) error
- func WithAfterStop(fn func()) error
- func WithBeforeStart(fn func()) error
- func WithBeforeStop(fn func()) error
- func WithStart(fn func()) error
- func WithStop(fn func()) error
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterStart ¶ added in v0.0.15
func AfterStart() error
func BeforeStart ¶ added in v0.0.15
func BeforeStart() error
func BeforeStop ¶ added in v0.0.15
func BeforeStop() error
func WithAfterStart ¶ added in v0.0.15
func WithAfterStart(fn func()) error
func WithAfterStop ¶ added in v0.0.15
func WithAfterStop(fn func()) error
func WithBeforeStart ¶ added in v0.0.15
func WithBeforeStart(fn func()) error
func WithBeforeStop ¶ added in v0.0.15
func WithBeforeStop(fn func()) error
Types ¶
type Option ¶
type Option func(c *Options)
func WithAllowNil ¶
func WithInvoker ¶
func WithInvoker(invoker invokerFn) Option
func WithStrict ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.