mirror of
https://github.com/safing/portbase
synced 2025-09-15 09:39:50 +00:00
Fix module shutdown and logging integration
This commit is contained in:
parent
45e187f883
commit
d3dcee7075
4 changed files with 26 additions and 20 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue