controllers

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	*revel.Controller
}

func (Application) EnterDemo

func (c Application) EnterDemo(user, demo string) revel.Result

func (Application) Index

func (c Application) Index() revel.Result

type LongPolling

type LongPolling struct {
	*revel.Controller
}

func (LongPolling) Leave

func (c LongPolling) Leave(user string) revel.Result

func (LongPolling) Room

func (c LongPolling) Room(user string) revel.Result

func (LongPolling) Say

func (c LongPolling) Say(user, message string) revel.Result

func (LongPolling) WaitMessages

func (c LongPolling) WaitMessages(lastReceived int) revel.Result

type Refresh

type Refresh struct {
	*revel.Controller
}

func (Refresh) Index

func (c Refresh) Index(user string) revel.Result

func (Refresh) Leave

func (c Refresh) Leave(user string) revel.Result

func (Refresh) Room

func (c Refresh) Room(user string) revel.Result

func (Refresh) Say

func (c Refresh) Say(user, message string) revel.Result

type WebSocket

type WebSocket struct {
	*revel.Controller
}

func (WebSocket) Room

func (c WebSocket) Room(user string) revel.Result

func (WebSocket) RoomSocket

func (c WebSocket) RoomSocket(user string, ws *websocket.Conn) revel.Result

Jump to

Keyboard shortcuts

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