Versions in this module Expand all Collapse all v1 v1.0.0 Feb 11, 2020 Changes in this version + var ErrInvalidStatusCode = errors.New("status code <100 or >=600 specified") + func CORS(handler http.Handler) http.Handler + func Handle(pattern string, ...) + func IsProdAppEngine() bool + func Serve(yamlPath string, handler http.Handler) + func Static(yamlPath string, fallback http.Handler) (http.Handler, error) + type ContentType struct + ContentType string + Response interface{} + type Handler func(w http.ResponseWriter, r *http.Request) interface + func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Redirect string + type Status struct + Response interface{} + Status int + type Template struct + Data interface{} + Template *template.Template