Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBase ¶
type ServiceBase struct { SubService application.AppInterface EventHandler contract.IServiceHandler HandlerChannel chan contract.IModuleEventReq OsSignal chan os.Signal StopChan chan chan struct{} }
func (*ServiceBase) OnExit ¶
func (s *ServiceBase) OnExit()
func (*ServiceBase) OnInit ¶
func (s *ServiceBase) OnInit() error
func (*ServiceBase) OnStart ¶
func (s *ServiceBase) OnStart() error
func (*ServiceBase) OnStop ¶
func (s *ServiceBase) OnStop() error
func (*ServiceBase) RegisterService ¶
func (s *ServiceBase) RegisterService()
func (*ServiceBase) Run ¶
func (s *ServiceBase) Run()
func (*ServiceBase) UnRegisterService ¶
func (s *ServiceBase) UnRegisterService() error
Click to show internal directories.
Click to hide internal directories.