Documentation
¶
Overview ¶
Package graphql provides the HTTP handler factory for the PeeringDB Plus GraphQL API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
NewHandler creates the gqlgen GraphQL handler with complexity and depth limits. Introspection is always enabled per D-20.
func PlaygroundHandler ¶
func PlaygroundHandler(endpoint string) http.HandlerFunc
PlaygroundHandler returns a GraphiQL playground handler with pre-built example queries per D-17, D-19, D-21. Serves at the provided endpoint path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.