handler

package
v0.0.0-...-d9ae1e4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CLIENTID = "CLIENT_ID"

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionHandler

type SessionHandler struct {
	SessionManager *server.SessionManager
	Upgrader       Upgrader
}

func NewSessionHandler

func NewSessionHandler(sessionManager *server.SessionManager, upgrader Upgrader) *SessionHandler

func (*SessionHandler) Join

type Upgrader

type Upgrader interface {
	Upgrade(http.ResponseWriter, *http.Request, http.Header) (*websocket.Conn, error)
}

Jump to

Keyboard shortcuts

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