Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type WebSocket ¶
type WebSocket struct {
Conn *websocket.Conn
Done chan struct{}
// contains filtered or unexported fields
}
func NewWebSocket ¶
func NewWebSocket(w http.ResponseWriter, r *http.Request) *WebSocket
func (*WebSocket) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.