Documentation ¶
Index ¶
- type DarwinParams
- type Params
- type SystemService
- func (s *SystemService) CommonName() string
- func (s *SystemService) Install() error
- func (s *SystemService) InstallWithExtraArguments(args ...string) (err error)
- func (s *SystemService) Setup() error
- func (s *SystemService) Start() error
- func (s *SystemService) Status() (status string, err error)
- func (s *SystemService) Stop() error
- func (s *SystemService) Uninstall() error
- type WindowsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DarwinParams ¶
type Params ¶
type Params struct { ServiceCommonName string SystemServiceName string SystemServiceDisplayName string SystemServiceDescription string ExecutableFileName string ExecutableArguments []string DarwinParams DarwinParams WindowsParams WindowsParams }
type SystemService ¶
func NewSystemService ¶
func NewSystemService(params *Params, serviceInterface service.Interface) *SystemService
func (*SystemService) CommonName ¶
func (s *SystemService) CommonName() string
func (*SystemService) Install ¶
func (s *SystemService) Install() error
func (*SystemService) InstallWithExtraArguments ¶
func (s *SystemService) InstallWithExtraArguments(args ...string) (err error)
func (*SystemService) Setup ¶
func (s *SystemService) Setup() error
func (*SystemService) Start ¶
func (s *SystemService) Start() error
func (*SystemService) Status ¶
func (s *SystemService) Status() (status string, err error)
func (*SystemService) Stop ¶
func (s *SystemService) Stop() error
func (*SystemService) Uninstall ¶
func (s *SystemService) Uninstall() error
type WindowsParams ¶
Click to show internal directories.
Click to hide internal directories.