controllers

package
v0.0.0-...-72458f6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2014 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationResult

type AllocationResult struct {
	DataSize uint64
	SlabId   int
	SlabSize uint64
	SlabNum  uint64
	PageSize uint64
	PageNum  uint64
	Malloced uint64
}

type App

type App struct {
	*revel.Controller
}

func (App) AllocateSlab

func (c App) AllocateSlab() revel.Result

func (App) GetCache

func (c App) GetCache() revel.Result

func (App) Index

func (c App) Index() revel.Result

type CacheItem

type CacheItem struct {
	Key      string
	Value    string
	Encoding string
}

type Response

type Response struct {
	Status string
	Data   interface{}
}

type WebSocket

type WebSocket struct {
	*revel.Controller
}

func (WebSocket) Socket

func (c WebSocket) Socket(host string, ws *websocket.Conn) revel.Result

type WebSocketMessage

type WebSocketMessage struct {
	Status string
	Cmd    string
	Data   interface{}
}

Jump to

Keyboard shortcuts

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