Documentation ¶ Index ¶ func Init() error func Init_(name string) error type Service func GetInstance() *Service func GetInstance_(name string) *Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() error func Init_ ¶ func Init_(name string) error Init a new instance. If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get. Types ¶ type Service ¶ type Service struct { daemon.Daemon } func GetInstance ¶ func GetInstance() *Service func GetInstance_ ¶ func GetInstance_(name string) *Service Source Files ¶ View all Source files daemon.go Click to show internal directories. Click to hide internal directories.