Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPServer ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) AddHTTPServer ¶
func (r *Runner) AddHTTPServer(server HTTPServer)
func (*Runner) AddTCPServer ¶
func (*Runner) AddWorker ¶
func (r *Runner) AddWorker(server WorkerServer)
func (*Runner) Run ¶
func (r *Runner) Run()
https://husobee.github.io/golang/ecs/2016/05/19/ecs-graceful-go-shutdown.html
type WorkerServer ¶
type WorkerServer interface { Start() Stop() }
Click to show internal directories.
Click to hide internal directories.