Documentation
¶
Index ¶
- Constants
- func ClientClose()
- func InitClient()
- func InitServer()
- func Kill() error
- func Reload() error
- func Restart() error
- func Server(stop util.BroadcastCh)
- func Start() error
- func Status() error
- func Stop() error
- type Controller
- func (c *Controller) Kill(_ *Request, _ *Response) error
- func (c *Controller) Reload(_ *Request, _ *Response) error
- func (c *Controller) Restart(_ *Request, _ *Response) error
- func (c *Controller) Start(_ *Request, _ *Response) error
- func (c *Controller) Status(_ *Request, rsp *Response) error
- func (c *Controller) Stop(_ *Request, _ *Response) error
- type Request
- type Response
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 Server ¶
func Server(stop util.BroadcastCh)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.