Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DaemonSpec ¶
type ServiceWrapper ¶ added in v0.0.14
type ServiceWrapper struct {
// contains filtered or unexported fields
}
func NewServiceWrapper ¶ added in v0.0.14
func NewServiceWrapper(cfg config.Config) *ServiceWrapper
func (*ServiceWrapper) AddDaemon ¶ added in v0.0.14
func (s *ServiceWrapper) AddDaemon(spec DaemonSpec) error
func (*ServiceWrapper) IsRunning ¶ added in v0.0.14
func (s *ServiceWrapper) IsRunning(label string) (bool, error)
func (*ServiceWrapper) RemoveDaemon ¶ added in v0.0.14
func (s *ServiceWrapper) RemoveDaemon(label string) error
func (*ServiceWrapper) Start ¶ added in v0.0.14
func (s *ServiceWrapper) Start(label string) error
func (*ServiceWrapper) Stop ¶ added in v0.0.14
func (s *ServiceWrapper) Stop(label string) error
Click to show internal directories.
Click to hide internal directories.