Documentation
¶
Index ¶
- func NewConn(c net.Conn) net.Conn
- func NewConnWith(eng *stats.Engine, c net.Conn) net.Conn
- func NewHandler(handler netx.Handler) netx.Handler
- func NewHandlerWith(eng *stats.Engine, handler netx.Handler) netx.Handler
- func NewListener(lstn net.Listener) net.Listener
- func NewListenerWith(eng *stats.Engine, lstn net.Listener) net.Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConn ¶
NewConn returns a net.Conn object that wraps c and produces metrics on the default engine.
func NewConnWith ¶
NewConn returns a net.Conn object that wraps c and produces metrics on eng.
func NewHandler ¶
NewHandler returns a netx.Handler object that warps handler and produces metrics on the default engine.
func NewHandlerWith ¶
NewHandlerWith returns a netx.Handler object that warps handler and produces metrics on eng.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.