Documentation
¶
Overview ¶
功能:服务接口 说明:
功能:服务 说明:
功能:服务状态 说明:
Index ¶
- type IService
- type Service
- func (s *Service) Is_dead() bool
- func (s *Service) Is_running() bool
- func (s *Service) Service_status() Status
- func (s *Service) Update_status(st Status)
- func (s *Service) With_lock(handler func())
- func (s *Service) With_lock_error(handler func() error) error
- func (s *Service) With_lock_read(handler func())
- func (s *Service) With_lock_read_error(handler func() error) error
- type Status
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
}
Service 服务
func (*Service) With_lock_error ¶
With_lock_error 锁
func (*Service) With_lock_read_error ¶
With_lock_read_error 锁
Click to show internal directories.
Click to hide internal directories.