Documentation ¶
Index ¶
Constants ¶
View Source
const ThreadPerConn = 5
Variables ¶
This section is empty.
Functions ¶
func ServerStart ¶
func ServerStart(host string)
Types ¶
type ConnHandle ¶
type ConnHandle struct {
// contains filtered or unexported fields
}
func ConnHandleCreate ¶
func ConnHandleCreate(conn net.Conn) *ConnHandle
func (*ConnHandle) Handle ¶
func (s *ConnHandle) Handle() error
func (*ConnHandle) LoopToFlush ¶
func (s *ConnHandle) LoopToFlush()
func (*ConnHandle) LoopToRead ¶
func (s *ConnHandle) LoopToRead()
func (*ConnHandle) LoopToWrite ¶
func (s *ConnHandle) LoopToWrite()
Click to show internal directories.
Click to hide internal directories.