Versions in this module Expand all Collapse all v0 v0.0.0 Jul 21, 2016 Changes in this version + const Logo + func ErrHandler(handler ErrHandle) httprouter.Handle + func IsValid(name string) bool + func LogErr(ctx *log.Entry, err error, reason string) + func LogFatal(ctx *log.Entry, err error, reason string) + func LogRequest(handle httprouter.Handle) httprouter.Handle + func LogWarn(ctx *log.Entry, err error, reason string) + func RequestContext(req *http.Request) *log.Entry + func RespondJSON(w http.ResponseWriter, code int, data interface{}) error + type ErrHandle func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) error + func ValidatePropHandler(name string, handle ErrHandle) ErrHandle + type ErrorResponse struct + Error string + Reason string