vpplauncher

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Path    string // path to executable
	Config  string // startup config contents
	Pidfile string // path to pidfile
}

type VPP

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

func LaunchVPP

func LaunchVPP() (*VPP, error)

func NewVPP

func NewVPP(opts Options) (*VPP, error)

func (*VPP) CheckRunning

func (p *VPP) CheckRunning() bool

func (*VPP) OnExit

func (p *VPP) OnExit() <-chan error

func (*VPP) PID

func (p *VPP) PID() int

func (*VPP) Start

func (p *VPP) Start() error

func (*VPP) Stop

func (p *VPP) Stop() error

func (*VPP) WaitStarted

func (p *VPP) WaitStarted() error

Jump to

Keyboard shortcuts

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