Documentation ¶
Index ¶
- type SelfInstallService
- func (svc *SelfInstallService) Install(arguments []string) error
- func (svc *SelfInstallService) Run(ctx context.Context, params ...interface{}) error
- func (svc *SelfInstallService) Start(s service.Service) error
- func (svc *SelfInstallService) Stop(s service.Service) error
- func (svc *SelfInstallService) Uninstall() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelfInstallService ¶
type SelfInstallService struct { natsservice.NatsService ServiceName string }
SelfInstallService installs the current executable as a service on linux
func (*SelfInstallService) Install ¶ added in v0.1.14
func (svc *SelfInstallService) Install(arguments []string) error
func (*SelfInstallService) Run ¶
func (svc *SelfInstallService) Run(ctx context.Context, params ...interface{}) error
func (*SelfInstallService) Uninstall ¶ added in v1.1.34
func (svc *SelfInstallService) Uninstall() error
Click to show internal directories.
Click to hide internal directories.