Documentation ¶
Index ¶
- type ByteBuffer
- func (this *ByteBuffer) Append(buff ...byte)
- func (this *ByteBuffer) MaxSize() int
- func (this *ByteBuffer) Prepend(buff []byte) bool
- func (this *ByteBuffer) RdBuf() []byte
- func (this *ByteBuffer) RdFlip(size int)
- func (this *ByteBuffer) RdReady() bool
- func (this *ByteBuffer) RdSize() int
- func (this *ByteBuffer) Reset()
- func (this *ByteBuffer) WrBuf() []byte
- func (this *ByteBuffer) WrFlip(size int)
- func (this *ByteBuffer) WrGrow(size int)
- func (this *ByteBuffer) WrSize() int
- type IService
- type ITcpTask
- type Service
- type TcpClient
- type TcpServer
- type TcpTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteBuffer ¶
type ByteBuffer struct {
// contains filtered or unexported fields
}
func NewByteBuffer ¶
func NewByteBuffer() *ByteBuffer
func (*ByteBuffer) Append ¶
func (this *ByteBuffer) Append(buff ...byte)
func (*ByteBuffer) MaxSize ¶
func (this *ByteBuffer) MaxSize() int
func (*ByteBuffer) Prepend ¶
func (this *ByteBuffer) Prepend(buff []byte) bool
func (*ByteBuffer) RdBuf ¶
func (this *ByteBuffer) RdBuf() []byte
func (*ByteBuffer) RdFlip ¶
func (this *ByteBuffer) RdFlip(size int)
func (*ByteBuffer) RdReady ¶
func (this *ByteBuffer) RdReady() bool
func (*ByteBuffer) RdSize ¶
func (this *ByteBuffer) RdSize() int
func (*ByteBuffer) Reset ¶
func (this *ByteBuffer) Reset()
func (*ByteBuffer) WrBuf ¶
func (this *ByteBuffer) WrBuf() []byte
func (*ByteBuffer) WrFlip ¶
func (this *ByteBuffer) WrFlip(size int)
func (*ByteBuffer) WrGrow ¶
func (this *ByteBuffer) WrGrow(size int)
func (*ByteBuffer) WrSize ¶
func (this *ByteBuffer) WrSize() int
type TcpServer ¶
type TcpServer struct {
// contains filtered or unexported fields
}
func (*TcpServer) BindAccept ¶
Click to show internal directories.
Click to hide internal directories.