Versions in this module Expand all Collapse all v0 v0.2.1 Nov 4, 2021 Changes in this version + type ChannelFuture struct + BufferSize int + ChannelHandler channelHandler + Port string + ReadTimeout time.Duration + type ChannelInboundHandler struct + ByteBuffer []byte + Conn net.Conn + type Conn struct + Addr string + ByteBuffer []byte + Ch channelHandler + Conn *net.TCPConn + H *ChannelInboundHandler + func NewConn(addr string, buffersize int, h channelHandler) *Conn + func (c *Conn) Connect() error + type TcpServer struct + Address string + ChannelFutures []*ChannelFuture + func NewServer() *TcpServer + func (s *TcpServer) BindServer(channels ...*ChannelFuture) + func (s *TcpServer) ListenTcp() + func (s *TcpServer) MakeTcpChannel(port string, bufferSize int, readTimeout time.Duration, handler channelHandler) *ChannelFuture