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)
Click to show internal directories.
Click to hide internal directories.