service

package
v0.0.0-...-267f5d8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	Starter *RasStarter
	// contains filtered or unexported fields
}

Control implements service.Control

func (*Control) Init

func (p *Control) Init(env svc.Environment) error

func (*Control) Run

func (p *Control) Run(ctx context.Context) error

func (*Control) Start

func (p *Control) Start() error

func (*Control) Stop

func (p *Control) Stop() error

type ErrorLogWriter

type ErrorLogWriter struct{}

func (ErrorLogWriter) Write

func (lw ErrorLogWriter) Write(p []byte) (n int, err error)

type LogWriter

type LogWriter struct{}

func (LogWriter) Write

func (lw LogWriter) Write(p []byte) (n int, err error)

type RasStarter

type RasStarter struct {
	// contains filtered or unexported fields
}

func NewRasStarter

func NewRasStarter(cmd string, args []string) *RasStarter

func (*RasStarter) Start

func (s *RasStarter) Start() error

func (*RasStarter) Stop

func (s *RasStarter) Stop() error

Jump to

Keyboard shortcuts

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