Documentation ¶
Index ¶
- Constants
- func Dial(address string) (net.Conn, error)
- func GetKeyAccept() (key, accept string)
- type Client
- func (w *Client) Close() error
- func (w *Client) LocalAddr() net.Addr
- func (w *Client) Read(b []byte) (n int, err error)
- func (w *Client) RemoteAddr() net.Addr
- func (w *Client) SetDeadline(t time.Time) error
- func (w *Client) SetReadDeadline(t time.Time) error
- func (w *Client) SetWriteDeadline(t time.Time) error
- func (w *Client) Write(b []byte) (n int, err error)
Constants ¶
View Source
const BinaryMessage = 2
Variables ¶
This section is empty.
Functions ¶
func GetKeyAccept ¶
func GetKeyAccept() (key, accept string)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.