program

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusUnknown = "unknown"
	StatusRunning = "running"
	StatusStopped = "stopped"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

type Program struct {
	Service service.Service
	// contains filtered or unexported fields
}

func New

func New(conf config.Config) (*Program, error)

func (*Program) Install

func (p *Program) Install() error

func (*Program) Start

func (p *Program) Start(s service.Service) error

func (*Program) StartService

func (p *Program) StartService() error

func (*Program) Status

func (p *Program) Status() string

func (*Program) Stop

func (p *Program) Stop(s service.Service) error

func (*Program) StopService

func (p *Program) StopService() error

func (*Program) Uninstall

func (p *Program) Uninstall() error

Jump to

Keyboard shortcuts

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