Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
type Dialer func(r *http.Request, id int64) (*SocketConn, error)
Dialer creates a new agent connection by ID.
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
Socket
wraps a websocket connection with a reusable HTTP transport.
func (*Socket) HTTPTransport ¶
type SocketConn ¶
Click to show internal directories.
Click to hide internal directories.