Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) DirectSend(prefix byte, p []byte) (n int, err error)
- func (c *Client) Read(p []byte) (n int, err error)
- func (c *Client) ReadFromWS(p []byte) (n int, err error)
- func (c *Client) ReadLoop(ptmx *os.File)
- func (c *Client) Send(prefix byte, p []byte) (n int, err error)
- func (c *Client) Write(p []byte) (n int, err error)
- func (c *Client) WriteLoop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
IP string
Nick string
SessionID string
// contains filtered or unexported fields
}
func (*Client) DirectSend ¶ added in v0.0.9
DirectSend sends a message to the client without using the stream
func (*Client) ReadFromWS ¶
ReadFromWS reads from the websocket
Click to show internal directories.
Click to hide internal directories.