Documentation ¶
Index ¶
- type IServer
- type ITcpTask
- type Server
- type TCPClient
- type TCPGHandler
- type TCPServer
- type TCPTask
- func (tt *TCPTask) Close()
- func (tt *TCPTask) IsClosed() bool
- func (tt *TCPTask) IsVerified() bool
- func (tt *TCPTask) LocalAddr() string
- func (tt *TCPTask) RecvLoop()
- func (tt *TCPTask) RemoteAddr() string
- func (tt *TCPTask) Reset() bool
- func (tt *TCPTask) SendBytes(buffer []byte) bool
- func (tt *TCPTask) SendLoop(job *sync.WaitGroup)
- func (tt *TCPTask) SendSignal()
- func (tt *TCPTask) Start()
- func (tt *TCPTask) Stop() bool
- func (tt *TCPTask) Terminate()
- func (tt *TCPTask) Verify()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPServer ¶
type TCPServer interface {
BindAccept(ctx context.Context, address string, handler TCPGHandler) error
}
func NewTCPServer ¶
type TCPTask ¶
func NewTCPTask ¶
func (*TCPTask) IsVerified ¶
func (*TCPTask) RemoteAddr ¶
func (*TCPTask) SendSignal ¶
func (tt *TCPTask) SendSignal()
Click to show internal directories.
Click to hide internal directories.