MCPcopy
hub / github.com/dosco/graphjin / RESTWithNS

Method RESTWithNS

serv/api.go:717–719  ·  view source on GitHub ↗

RESTWithNS is the http handler the namespaced REST endpoint

(ah auth.HandlerFunc, ns string)

Source from the content-addressed store, hash-verified

715
716// RESTWithNS is the http handler the namespaced REST endpoint
717func (s *HttpService) RESTWithNS(ah auth.HandlerFunc, ns string) http.Handler {
718 return s.apiHandler(&ns, ah, true)
719}
720
721// Workflows is the http handler for named JS workflows.
722func (s *HttpService) Workflows(ah auth.HandlerFunc) http.Handler {

Callers 1

routesHandlerFunction · 0.80

Calls 1

apiHandlerMethod · 0.95

Tested by

no test coverage detected