playground

package
v0.17.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 3 Imported by: 1,937

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AltairHandler added in v0.17.23

func AltairHandler(title, endpoint string) http.HandlerFunc

AltairHandler responsible for setting up the altair playground

func ApolloSandboxHandler added in v0.17.27

func ApolloSandboxHandler(title, endpoint string) http.HandlerFunc

ApolloSandboxHandler responsible for setting up the altair playground

func Handler

func Handler(title string, endpoint string) http.HandlerFunc

Handler responsible for setting up the playground

func HandlerWithHeaders added in v0.17.37

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

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL