Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClosed = errors.New("network closed")
ErrClosed represents a error.
Functions ¶
func RegisterHandler ¶
func RegisterHandler()
func RegisterTransport ¶
func RegisterTransport()
Types ¶
type Handler ¶
type Handler struct { Service *core.Service Pool core.WorkerPool OnClose func(net.Conn) OnError func(net.Conn, error) }
func (*Handler) BindContext ¶
BindContext to the http server.
Click to show internal directories.
Click to hide internal directories.