Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceMap = sync.Map{}
View Source
var StopWhenKill = true
Functions ¶
func RegisterService ¶
func RegisterServiceInline ¶ added in v1.0.2
Types ¶
type DefaultService ¶
type DefaultService struct {
// contains filtered or unexported fields
}
func (*DefaultService) Info ¶
func (s *DefaultService) Info() string
func (*DefaultService) Name ¶
func (s *DefaultService) Name() string
func (*DefaultService) Order ¶
func (s *DefaultService) Order() int
func (*DefaultService) Restart ¶
func (s *DefaultService) Restart()
func (*DefaultService) Start ¶
func (s *DefaultService) Start()
func (*DefaultService) Stop ¶
func (s *DefaultService) Stop(sig os.Signal)
type PanicResult ¶
Click to show internal directories.
Click to hide internal directories.