Ocean/Shutdown/Variables.go

15 lines
501 B
Go
Raw Permalink Normal View History

package Shutdown
import (
"container/list"
LM "github.com/SommerEngineering/Ocean/Log/Meta"
"os"
)
var (
2015-06-17 15:44:52 +00:00
shutdownSignal chan os.Signal = make(chan os.Signal) // A channel for the shutdown event
shutdownHandlers *list.List = nil // All shutdown handlers
senderName LM.Sender = `System::Shutdown` // This is the name for logging event from this package
stopAllRequests bool = false // Does the system goes down now?
)