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

Method GraphQLWithNS

serv/api.go:707–709  ·  view source on GitHub ↗

GraphQLWithNS is the http handler the namespaced GraphQL endpoint

(ah auth.HandlerFunc, ns string)

Source from the content-addressed store, hash-verified

705
706// GraphQLWithNS is the http handler the namespaced GraphQL endpoint
707func (s *HttpService) GraphQLWithNS(ah auth.HandlerFunc, ns string) http.Handler {
708 return s.apiHandler(&ns, ah, false)
709}
710
711// REST is the http handler the REST endpoint
712func (s *HttpService) REST(ah auth.HandlerFunc) http.Handler {

Callers 1

routesHandlerFunction · 0.80

Calls 1

apiHandlerMethod · 0.95

Tested by

no test coverage detected