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.
func PlaygroundHandler ¶
func PlaygroundHandler(endpoint string) http.HandlerFunc
PlaygroundHandler returns a GraphiQL playground handler with pre-built example queries. Serves at the provided endpoint path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.