windows

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	ID          string
	GUID        string
	Name        string
	Description string
	Command     string
	Args        []string
	AutoStart   bool
}

Service has a parameters for windows service.

func (*Service) CreateWrapper

func (s *Service) CreateWrapper(path string) error

CreateWrapper creates service wrapper.

func (*Service) Install

func (s *Service) Install() error

Install installs windows service.

func (*Service) Remove

func (s *Service) Remove() error

Remove removes windows service.

func (*Service) Start

func (s *Service) Start() error

Start starts windows service.

func (*Service) Stop

func (s *Service) Stop() error

Stop stops windows service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL