Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Disconnect ¶
type GQLError ¶
type GQLError struct { Message string `json:"error"` // note: the query-engine uses 'error' instead of 'message' Path []string `json:"path"` Extensions map[string]interface{} `json:"query"` }
GQLError is a GraphQL Error
type GQLRequest ¶
type GQLRequest struct { Query string `json:"query"` Variables map[string]interface{} `json:"variables"` OperationName *string `json:"operationName"` }
GQLRequest is the payload for GraphQL queries
type GQLResponse ¶
type GQLResponse struct { Data interface{} `json:"data"` Errors []GQLError `json:"errors"` Extensions map[string]interface{} `json:"extensions"` }
GQLResponse is the payload for a GraphQL response
Click to show internal directories.
Click to hide internal directories.