api

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMessage

func AddMessage(r *http.Request, message string)

func Conn

func Conn() *bloomdb.BloomDatabase

func GetMessages

func GetMessages(r *http.Request) []string

func Render

func Render(w http.ResponseWriter, req *http.Request, status int, v interface{})

Types

type ParamsError

type ParamsError struct {
	Name    string            `json:"name"`
	Message string            `json:"message"`
	Params  map[string]string `json:"parameters"`
}

func NewParamsError

func NewParamsError(message string, params map[string]string) ParamsError

func (ParamsError) Error

func (e ParamsError) Error() string

Jump to

Keyboard shortcuts

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