Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enum ¶
type Enum struct { Name string Description string Enums []EnumValues }
Enum structure for enum data
type EnumValues ¶
type EnumValues struct { Name string `json:"name"` Description string `json:"description"` IsDeprecated bool `json:"isDeprecated"` DeprecationReason string `json:"deprecationReason"` }
EnumValues type in the schema.graphql
type Field ¶
type Field struct { Name string `json:"name"` Description string `json:"description"` Args []InputValue `json:"args"` Type *TypeRef `json:"type"` IsDeprecated bool `json:"isDeprecated"` DeprecationReason string `json:"deprecationReason"` }
Field type in the schema.graphql
type FullType ¶
type FullType struct { Kind string `json:"kind"` Name string `json:"name"` Description string `json:"description"` Fields []Field `json:"fields"` InputFields []InputValue `json:"inputFields"` Interfaces []TypeRef `json:"interfaces"` EnumValues []EnumValues `json:"enumValues"` PossibleTypes []TypeRef `json:"possibleTypes"` }
FullType type in the schema.graphql
type Input ¶
type Input struct { Name string Description string InputFields []InputValue }
Input structure for input data
type InputValue ¶
type InputValue struct { Name string `json:"name"` Description string `json:"description"` DefaultValue interface{} `json:"defaultValue"` Type *TypeRef `json:"type"` }
InputValue type in the schema.graphql
type Mutation ¶
type Mutation struct { Name string Description string Args []InputValue IsDeprecated bool DeprecationReason string Type *TypeRef }
Mutation structure for mutation data
type Query ¶
type Query struct { Name string Description string Args []InputValue IsDeprecated bool DeprecationReason string Type *TypeRef }
Query structure for query data
type Schema ¶
type Schema struct { QueryType FullType `json:"queryType"` MutationType FullType `json:"mutationType"` SubscriptionType FullType `json:"subscriptionType"` Types []FullType `json:"types"` Directives []TypeDirective `json:"directives"` }
Schema type in the schema.graphql
type TypeDirective ¶
type TypeDirective struct { Name string `json:"name"` Description string `json:"description"` Args []InputValue `json:"args"` OnOperation bool `json:"onOperation"` OnFragment bool `json:"onFragment"` OnField bool `json:"onField"` }
TypeDirective type in the schema.graphql
Source Files ¶
Click to show internal directories.
Click to hide internal directories.