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

Method GraphQL

serv/api.go:702–704  ·  view source on GitHub ↗

GraphQLis the http handler the GraphQL endpoint

(ah auth.HandlerFunc)

Source from the content-addressed store, hash-verified

700
701// GraphQLis the http handler the GraphQL endpoint
702func (s *HttpService) GraphQL(ah auth.HandlerFunc) http.Handler {
703 return s.apiHandler(nil, ah, false)
704}
705
706// GraphQLWithNS is the http handler the namespaced GraphQL endpoint
707func (s *HttpService) GraphQLWithNS(ah auth.HandlerFunc, ns string) http.Handler {

Calls 1

apiHandlerMethod · 0.95