gql

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 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 {
	OperationName string                 `json:"operationName,omitempty"`
	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