Documentation ¶
Overview ¶
Package ws implements a simple websocket client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWriteBuffer ¶
GetWriteBuffer returns a bytes.buffer from pool.
func NewWSDialer ¶
NewWSDialer returns a ws proxy dialer.
func PutWriteBuffer ¶
PutWriteBuffer puts a bytes.buffer into pool.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is ws client struct.
type Conn ¶
Conn is a connection to ws server.
Click to show internal directories.
Click to hide internal directories.