gql

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extensions

type Extensions struct {
	PersistedQuery *PersistedQuery `json:"persistedQuery,omitempty"`
}

type PersistedQuery

type PersistedQuery struct {
	Sha256Hash string `json:"sha256Hash"`
}

type RequestData

type RequestData struct {
	Variables  map[string]interface{} `json:"variables,omitempty"`
	Query      string                 `json:"query,omitempty"`
	Extensions Extensions             `json:"extensions,omitempty"`
}

func ParseRequestPayload

func ParseRequestPayload(r *http.Request) ([]RequestData, error)

Jump to

Keyboard shortcuts

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