Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) LocalAddr() net.Addr
- func (c *Client) Read(b []byte) (n int, err error)
- func (c *Client) RemoteAddr() net.Addr
- func (c *Client) SetDeadline(t time.Time) error
- func (c *Client) SetReadDeadline(t time.Time) error
- func (c *Client) SetWriteDeadline(t time.Time) error
- func (c *Client) State() int
- func (c *Client) Write(b []byte) (n int, err error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
mkcp client
func (*Client) RemoteAddr ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
mkcp server
func (*Server) GetActiveConnCount ¶
Click to show internal directories.
Click to hide internal directories.