handler

package
Version: v0.0.0-...-1591b14 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL