Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler()
func RegisterTransport ¶
func RegisterTransport()
Types ¶
type Handler ¶
type Handler struct {
Service *core.Service
Pool core.WorkerPool
OnAccept func(net.Conn) net.Conn
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.