Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SServiceBase ¶
type SServiceBase struct { Service IService O *options.BaseOptions }
func NewBaseService ¶
func NewBaseService(service IService) *SServiceBase
func (*SServiceBase) CreatePid ¶
func (s *SServiceBase) CreatePid() error
func (*SServiceBase) RemovePid ¶
func (s *SServiceBase) RemovePid()
func (*SServiceBase) SignalTrap ¶
func (s *SServiceBase) SignalTrap(onExit func())
func (*SServiceBase) StartService ¶
func (s *SServiceBase) StartService()
Click to show internal directories.
Click to hide internal directories.