app

package
v0.0.0-...-b99ec79 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Status  int
	Message string
}

type HandleFunc

type HandleFunc func(*sql.DB, map[string]string, *http.Request) interface{}

type Handler

type Handler struct {
	Database   *sql.DB
	HandleFunc HandleFunc
}

func (Handler) ServeHTTP

func (appHandler Handler) ServeHTTP(writer http.ResponseWriter, r *http.Request)

type TimeHandler

type TimeHandler struct {
	Timer   metrics.Timer
	Handler http.Handler
}

func (TimeHandler) ServeHTTP

func (th TimeHandler) ServeHTTP(writer http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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