api

package
v0.0.0-...-0af0ada Latest Latest
Warning

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

Go to latest
Published: May 29, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATA_PATH_PREFIX = "web/assets/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	ConfigFileName string
	Server         *WebServer
}

func (*Base) Init

func (self *Base) Init() *Base

type RequestHandler

type RequestHandler func(web.C, http.ResponseWriter, *http.Request)

type WebServer

type WebServer struct {
	Config  *utils.Configuration
	Factory *utils.RedisConf
}

func (*WebServer) StartServer

func (self *WebServer) StartServer() error

Jump to

Keyboard shortcuts

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