Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
func WrapConnection ¶
func WrapConnection(conn net.Conn, pool Pool, toRemoteCh chan []byte, fromRemoteCh chan []byte, errCh chan error, skip SkipFilter) Connection
type ConnectionImpl ¶
type ConnectionImpl struct {
// contains filtered or unexported fields
}
func (*ConnectionImpl) Close ¶
func (a *ConnectionImpl) Close() error
func (*ConnectionImpl) Conn ¶
func (a *ConnectionImpl) Conn() net.Conn
func (*ConnectionImpl) ReceiveClosed ¶
func (a *ConnectionImpl) ReceiveClosed() bool
func (*ConnectionImpl) SendClosed ¶
func (a *ConnectionImpl) SendClosed() bool
type SkipFilter ¶
if returned type is `true`, then network message will be skipped.
Click to show internal directories.
Click to hide internal directories.