Documentation ¶
Index ¶
- func CaptureErrors(handler func(http.ResponseWriter, *http.Request)) func(http.ResponseWriter, *http.Request)
- func ContentByClaimsURI(w http.ResponseWriter, req *http.Request)
- func ContentByURL(w http.ResponseWriter, req *http.Request)
- func Index(w http.ResponseWriter, req *http.Request)
- func InstallRoutes(r *mux.Router)
- func Proxy(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureErrors ¶ added in v0.5.0
func CaptureErrors(handler func(http.ResponseWriter, *http.Request)) func(http.ResponseWriter, *http.Request)
CaptureErrors wraps http handler with raven.RecoveryHandler which captures unhandled exceptions to sentry.io
func ContentByClaimsURI ¶ added in v0.5.0
func ContentByClaimsURI(w http.ResponseWriter, req *http.Request)
ContentByClaimsURI streams content requested by URI to the browser
func ContentByURL ¶ added in v0.5.0
func ContentByURL(w http.ResponseWriter, req *http.Request)
ContentByURL streams content requested by URI to the browser
func Index ¶
func Index(w http.ResponseWriter, req *http.Request)
Index just serves a blank home page
func InstallRoutes ¶ added in v0.5.0
InstallRoutes sets up global API handlers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.