api

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2016 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlePing

func HandlePing(rw http.ResponseWriter, r *http.Request)

func HandleStatic added in v0.4.5

func HandleStatic(root string) http.Handler

func ListenAndServe

func ListenAndServe(addr string, engine *lib.Engine) error

func NewHandler

func NewHandler(root string) http.Handler

func NewLogger

func NewLogger(l *log.Logger) negroni.HandlerFunc

func WithEngine

func WithEngine(engine *lib.Engine) negroni.HandlerFunc

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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