rest

package
v0.0.0-...-d26cf96 Latest Latest
Warning

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

Go to latest
Published: May 9, 2014 License: BSD-2-Clause-Views Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxMsgSize int64 = 1 << 20

Functions

func Data

func Data(ctx dingo.Context) ([]byte, error)

func JSONData

func JSONData(ctx dingo.Context, o interface{}) error

func JSONDataMap

func JSONDataMap(ctx dingo.Context) (map[string]interface{}, error)

func JSONHandler

func JSONHandler(fn Handler, ctx dingo.Context)

func Wrap

func Wrap(fn Handler) dingo.Handler

Types

type Handler

type Handler func(ctx dingo.Context) (int, interface{})

type Wrapper

type Wrapper func(fn Handler) dingo.Handler

Jump to

Keyboard shortcuts

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