Documentation ¶ Index ¶ type Service func (s *Service) IsRunning() bool func (s *Service) IsStopped() bool func (s *Service) Start(f func() error) (err error) func (s *Service) Stop(f func()) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func (*Service) IsRunning ¶ func (s *Service) IsRunning() bool func (*Service) IsStopped ¶ func (s *Service) IsStopped() bool func (*Service) Start ¶ func (s *Service) Start(f func() error) (err error) func (*Service) Stop ¶ func (s *Service) Stop(f func()) Source Files ¶ View all Source files service.go Directories ¶ Show internal Expand all Path Synopsis BOOL assert bytes_buffer compare go_pool guid heap lock logger math queue rbmap internal internal/rbmap1 internal/rbmap2 rtree internal safe string_convert sys time internal internal/heap_timer tools Click to show internal directories. Click to hide internal directories.