Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WinServiceMain = func(MainFunc, *ServiceDescription, *config.Config) (bool, error) { return false, nil }
WinServiceMain is only invoked on Windows. It detects when bugnad is running as a service and reacts accordingly.
Functions ¶
This section is empty.
Types ¶
type MainFunc ¶
type MainFunc func(startedChan chan<- struct{}) error
MainFunc specifies the signature of an application's main function to be able to run as a windows service
type ServiceDescription ¶
ServiceDescription contains information about a service, needed to administer it
Click to show internal directories.
Click to hide internal directories.