Fix module shutdown and logging integration

This commit is contained in:
Daniel 2018-09-27 15:57:19 +02:00
parent 45e187f883
commit d3dcee7075
4 changed files with 26 additions and 20 deletions

View file

@ -22,13 +22,13 @@ var (
// Module represents a module.
type Module struct {
Name string
Active *abool.AtomicBool
Name string
Active *abool.AtomicBool
inTransition bool
prep func() error
start func() error
starting bool
stop func() error
prep func() error
start func() error
stop func() error
dependencies []string
}