process

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionStart   = "start"
	ActionStop    = "stop"
	ActionKill    = "kill"
	ActionRestart = "restart"
	ActionReload  = "reload"
	ActionStatus  = "status"
)

Variables

This section is empty.

Functions

func ClientClose

func ClientClose()

func InitClient

func InitClient()

func InitServer

func InitServer()

func Kill

func Kill() error

func Reload

func Reload() error

func Restart

func Restart() error

func Server

func Server(stop util.BroadcastCh)

func Start

func Start() error

func Status

func Status() error

func Stop

func Stop() error

Types

type Controller

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

func (*Controller) Kill

func (c *Controller) Kill(_ *Request, _ *Response) error

func (*Controller) Reload

func (c *Controller) Reload(_ *Request, _ *Response) error

func (*Controller) Restart

func (c *Controller) Restart(_ *Request, _ *Response) error

func (*Controller) Start

func (c *Controller) Start(_ *Request, _ *Response) error

func (*Controller) Status

func (c *Controller) Status(_ *Request, rsp *Response) error

func (*Controller) Stop

func (c *Controller) Stop(_ *Request, _ *Response) error

type Request

type Request struct {
}

type Response

type Response struct {
	Message string
}

Jump to

Keyboard shortcuts

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