client

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClientAddress string = `http://localhost:9001`

Functions

This section is empty.

Types

type Client

type Client struct {
	*httputil.Client
}

func NewClient

func NewClient(address string) (*Client, error)

func (*Client) DoProgramAction

func (self *Client) DoProgramAction(name string, action string) error

func (*Client) GetProgram

func (self *Client) GetProgram(name string) (*Program, error)

func (*Client) GetPrograms

func (self *Client) GetPrograms() ([]*Program, error)

func (*Client) ManagerInfo

func (self *Client) ManagerInfo() (*procwatch.Manager, error)

type Program

type Program struct {
	*procwatch.Program
	// contains filtered or unexported fields
}

func (*Program) Restart

func (self *Program) Restart()

func (*Program) Start

func (self *Program) Start() int

func (*Program) Stop

func (self *Program) Stop()

Jump to

Keyboard shortcuts

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