service_control

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2017 License: GPL-3.0 Imports: 6 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 ServiceControl

type ServiceControl struct {
}

func (*ServiceControl) Continue

func (sc *ServiceControl) Continue(svcName string) error

func (*ServiceControl) Install

func (sc *ServiceControl) Install(svcName, svcDisplayName, svcDescription string) error

func (*ServiceControl) Pause

func (sc *ServiceControl) Pause(svcName string) error

The following functions are not necessary, but they were already implemented on Windows.

func (*ServiceControl) Query

func (sc *ServiceControl) Query(svcName string) (svc.Status, error)

func (*ServiceControl) Remove

func (sc *ServiceControl) Remove(svcName string) error

func (*ServiceControl) Start

func (sc *ServiceControl) Start(svcName string) error

func (*ServiceControl) Stop

func (sc *ServiceControl) Stop(svcName string) error

Jump to

Keyboard shortcuts

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