Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseService ¶
type BaseService struct {
// contains filtered or unexported fields
}
func NewBaseService ¶
func NewBaseService(service Service, name string) *BaseService
func (*BaseService) Name ¶
func (bs *BaseService) Name() string
func (*BaseService) OnStart ¶
func (bs *BaseService) OnStart() error
func (*BaseService) OnStop ¶
func (bs *BaseService) OnStop() error
func (*BaseService) Start ¶
func (bs *BaseService) Start() error
func (*BaseService) Started ¶
func (bs *BaseService) Started() bool
func (*BaseService) Stop ¶
func (bs *BaseService) Stop() error
Click to show internal directories.
Click to hide internal directories.