Documentation ¶
Index ¶
- type Agent
- type Conn
- type ConnSet
- type KCPConn
- func (kcpConn *KCPConn) Close()
- func (kcpConn *KCPConn) Destroy()
- func (kcpConn *KCPConn) LocalAddr() net.Addr
- func (kcpConn *KCPConn) ReadMsg(b []byte) (int, error)
- func (kcpConn *KCPConn) RemoteAddr() net.Addr
- func (kcpConn *KCPConn) UnreliableWriteMsg(args ...[]byte) error
- func (kcpConn *KCPConn) Write(b []byte)
- func (kcpConn *KCPConn) WriteMsg(args ...[]byte) error
- type KCPServer
- type Processor
- type UDPAgentSet
- type UDPConn
- func (udpConn *UDPConn) Close()
- func (udpConn *UDPConn) Destroy()
- func (udpConn *UDPConn) LocalAddr() net.Addr
- func (udpConn *UDPConn) ReadMsg(recvBuffer []byte) (int, error)
- func (udpConn *UDPConn) RemoteAddr() net.Addr
- func (udpConn *UDPConn) UnreliableWriteMsg(args ...[]byte) error
- func (udpConn *UDPConn) WriteMsg(args ...[]byte) error
- type UDPServer
- type UDPSessionSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KCPConn ¶
func (*KCPConn) RemoteAddr ¶
func (*KCPConn) UnreliableWriteMsg ¶
type KCPServer ¶
type UDPAgentSet ¶
type UDPAgentSet map[Agent]struct{}
type UDPConn ¶
type UDPConn struct {
// contains filtered or unexported fields
}
func (*UDPConn) RemoteAddr ¶
func (*UDPConn) UnreliableWriteMsg ¶
type UDPServer ¶
type UDPSessionSet ¶
type UDPSessionSet map[*rudpsession.Session]struct{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.