Documentation ¶
Overview ¶
https://github.com/99designs/gqlgen/blob/v0.17.43/graphql/playground/playground.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(title string, endpoint string) http.HandlerFunc
Handler responsible for setting up the playground
func HandlerWithHeaders ¶
func HandlerWithHeaders(title string, endpoint string, fetcherHeaders map[string]string, uiHeaders map[string]string) http.HandlerFunc
HandlerWithHeaders sets up the playground. fetcherHeaders are used by the playground's fetcher instance and will not be visible in the UI. uiHeaders are default headers that will show up in the UI headers editor.
Types ¶
Click to show internal directories.
Click to hide internal directories.