func authCapabilityHandler(fn func(http.ResponseWriter, *http.Request)) http.HandlerFunc { … } func notCapable(w http.ResponseWriter, r *http.Request, c api.Capability) { … }
func authCapabilityHandler(fn func(http.ResponseWriter, *http.Request)) http.HandlerFunc { … } func notCapable(w http.ResponseWriter, r *http.Request, c api.Capability) { … }