Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpTrans ¶
type TcpTrans interface { NewTcpListener(proto, addr string) (*net.TCPListener, error) NewListener(proto, addr string, config TcpTransConfig) (net.Listener, error) PrepareAcceptedConn(conn net.Conn, config TcpTransConfig) error }
func NewTcpTrans ¶
func NewTcpTrans() TcpTrans
type TcpTransConfig ¶
Click to show internal directories.
Click to hide internal directories.