websoket

package
v0.0.0-...-d6aed12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocket

type WebSocket struct {
	Upgrader *websocket.Upgrader
	Response http.ResponseWriter
	Request  *http.Request
}

WebSocket ...

func NewWebSocket

func NewWebSocket(w http.ResponseWriter, r *http.Request) *WebSocket

NewWebSocket ...

func (*WebSocket) ConnectionWebSocket

func (ws *WebSocket) ConnectionWebSocket(clientInfo *hub.ClientInfo, rooms *models.Rooms) error

ConnectionWebSocket ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL