Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientConfig ¶
type Connect ¶
type Server ¶
type Server interface {
Start(ServerRegisterFunc) error
Shutdown()
}
func NewServer ¶
func NewServer(conf *ServerConfig) Server
type ServerConfig ¶
type ServerRegisterFunc ¶
type ServerRegisterFunc func(Connect)
Click to show internal directories.
Click to hide internal directories.