Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GraphiqlVersion = "1.4.1"
GraphiqlVersion is the current version of GraphiQL
View Source
var PlaygroundVersion = "1.7.27"
PlaygroundVersion the default version to use
Functions ¶
func RenderGraphiQL ¶
func RenderGraphiQL(config *GraphiQLOptions, w http.ResponseWriter, r *http.Request, params graphql.Params)
renderGraphiQL renders the GraphiQL GUI
func RenderPlayground ¶
func RenderPlayground(config *PlaygroundOptions, w http.ResponseWriter, r *http.Request)
renderPlayground renders the Playground GUI
Types ¶
type GraphiQLOptions ¶
func NewDefaultGraphiQLOptions ¶
func NewDefaultGraphiQLOptions() *GraphiQLOptions
func NewDefaultSSLGraphiQLOption ¶
func NewDefaultSSLGraphiQLOption() *GraphiQLOptions
type PlaygroundOptions ¶
type PlaygroundOptions struct { Version string SSL bool Endpoint string SubscriptionEndpoint string }
func NewDefaultPlaygroundOptions ¶
func NewDefaultPlaygroundOptions() *PlaygroundOptions
func NewDefaultSSLPlaygroundOptions ¶
func NewDefaultSSLPlaygroundOptions() *PlaygroundOptions
Click to show internal directories.
Click to hide internal directories.