Documentation ¶ Index ¶ type AlertFunc type Service func NewService(cfgPath, workspace string, intervalSec int, autoHeal bool, onAlert AlertFunc) *Service func (s *Service) SetManager(mgr *channels.Manager) func (s *Service) Start() func (s *Service) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AlertFunc ¶ type AlertFunc func(msg string) type Service ¶ type Service struct { // contains filtered or unexported fields } func NewService ¶ func NewService(cfgPath, workspace string, intervalSec int, autoHeal bool, onAlert AlertFunc) *Service func (*Service) SetManager ¶ func (s *Service) SetManager(mgr *channels.Manager) func (*Service) Start ¶ func (s *Service) Start() func (*Service) Stop ¶ func (s *Service) Stop() Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.