controllers

package
v0.0.0-...-4009bd7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2012 License: MIT Imports: 3 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 {
	*rev.Controller
}

func (Application) EnterDemo

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

func (Application) Index

func (c Application) Index() rev.Result

type LongPolling

type LongPolling struct {
	*rev.Controller
}

func (LongPolling) Leave

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

func (LongPolling) Room

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

func (LongPolling) Say

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

func (LongPolling) WaitMessages

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

type Refresh

type Refresh struct {
	*rev.Controller
}

func (Refresh) Index

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

func (Refresh) Leave

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

func (Refresh) Room

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

func (Refresh) Say

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

type WebSocket

type WebSocket struct {
	*rev.Controller
}

func (WebSocket) Room

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

func (WebSocket) RoomSocket

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

Jump to

Keyboard shortcuts

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