Documentation ¶
Index ¶
- type ConnHandler
- func (uc ConnHandler) NewConnection(ctx context.Context, netConn net.Conn, metadata M.Metadata) error
- func (uc ConnHandler) NewError(_ context.Context, err error)
- func (uc ConnHandler) NewPacketConnection(ctx context.Context, packetConn network.PacketConn, metadata M.Metadata) error
- func (uc ConnHandler) SetReadDeadline(t time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnHandler ¶
type ConnHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(tcpIn chan conn.TcpConnContext, udpIn chan conn.UdpConnContext) *ConnHandler
func (ConnHandler) NewConnection ¶
func (ConnHandler) NewPacketConnection ¶
func (uc ConnHandler) NewPacketConnection(ctx context.Context, packetConn network.PacketConn, metadata M.Metadata) error
func (ConnHandler) SetReadDeadline ¶ added in v0.13.0
func (uc ConnHandler) SetReadDeadline(t time.Time) error
Click to show internal directories.
Click to hide internal directories.