Documentation ¶
Index ¶
- Constants
- func ClientClose()
- func Exit() error
- func ExitWait() error
- func InitClient()
- func InitServer()
- func Kill() error
- func Reload() error
- func Restart() error
- func RestartWait() error
- func Serve(stop util.BroadcastCh)
- func Start() error
- func StartWait() error
- func Status() error
- func Stop() error
- func StopWait() 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) RestartWait(_ *Request, _ *Response) error
- func (c *Controller) Start(_ *Request, _ *Response) error
- func (c *Controller) StartWait(_ *Request, _ *Response) error
- func (c *Controller) Status(_ *Request, rsp *Response) error
- func (c *Controller) Stop(_ *Request, _ *Response) error
- func (c *Controller) StopWait(_ *Request, _ *Response) error
- func (c *Controller) SupPid(_ *Request, rsp *Response) error
- type Request
- type Response
Constants ¶
View Source
const ( ActionStart = "start" ActionStartWait = "start-wait" ActionStop = "stop" ActionStopWait = "stop-wait" ActionRestart = "restart" ActionRestartWait = "restart-wait" ActionKill = "kill" ActionReload = "reload" ActionStatus = "status" ActionExit = "exit" ActionExitWait = "exit-wait" )
Variables ¶
This section is empty.
Functions ¶
func ClientClose ¶
func ClientClose()
func InitClient ¶
func InitClient()
func InitServer ¶
func InitServer()
func RestartWait ¶ added in v1.3.0
func RestartWait() error
func Serve ¶ added in v1.4.1
func Serve(stop util.BroadcastCh)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) RestartWait ¶ added in v1.3.0
func (c *Controller) RestartWait(_ *Request, _ *Response) error
func (*Controller) StartWait ¶ added in v1.3.0
func (c *Controller) StartWait(_ *Request, _ *Response) error
Click to show internal directories.
Click to hide internal directories.