Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigServer ¶
func (*ConfigServer) Check ¶
func (c *ConfigServer) Check()
func (*ConfigServer) Close ¶
func (c *ConfigServer) Close()
func (*ConfigServer) Init ¶
func (c *ConfigServer) Init()
type KKRunServer ¶
type KKRunServer struct { Run func() Done func(quitCh <-chan struct{}) Async bool // contains filtered or unexported fields }
type KKServer ¶
type KKServer struct {
// contains filtered or unexported fields
}
func (*KKServer) Add ¶
func (x *KKServer) Add(serverName string, server KKRunServer)
func (*KKServer) ServeAndWait ¶
func (x *KKServer) ServeAndWait()
ServeAndWait is used to wait for exit signal to exit all servers
type KKServerDone ¶
type KKServerDone func(quitCh <-chan struct{})
KKServerDone is used to define the server shutdown callback function
Click to show internal directories.
Click to hide internal directories.