handler

package
v0.0.0-...-8375e82 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Connection *mgo.Session

Functions

func Demo

func Demo(ctx *ink.Context)

*

func Dispaly

func Dispaly(ctx *ink.Context)

*

func Download

func Download(ctx *ink.Context)

*

func InitCache

func InitCache(start bool)

*

  • 初始化 cache

func InitGridfs

func InitGridfs(cfgJson string)

*

  • 初始化 gridfs

func Json

func Json(context *ink.Context, code string) *jsonContext

Json creates a json context response.

func JsonInfo

func JsonInfo(ctx *ink.Context, code, mime, suffix, rdm, msg string)

*

  • 返回 JSON 信息

func Upload

func Upload(ctx *ink.Context)

*

func Welcome

func Welcome(ctx *ink.Context)

*

  • 欢迎界面

Types

This section is empty.

Jump to

Keyboard shortcuts

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