Documentation ¶
Index ¶
- type IntrospectionInputValue
- type IntrospectionQueryDirective
- type IntrospectionQueryEnumDefinition
- type IntrospectionQueryFullType
- type IntrospectionQueryFullTypeField
- type IntrospectionQueryResult
- type IntrospectionQueryRootType
- type IntrospectionQuerySchema
- type IntrospectionResolver
- type IntrospectionTypeRef
- type ParallelRemoteSchemaIntrospector
- type QueryerFactory
- type RemoteSchemaIntrospector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntrospectionInputValue ¶
type IntrospectionInputValue struct { Name string `json:"name"` Description string `json:"description"` DefaultValue interface{} `json:"defaultValue"` Type IntrospectionTypeRef `json:"type"` }
type IntrospectionQueryDirective ¶
type IntrospectionQueryDirective struct { Name string `json:"name"` Description string `json:"description"` Locations []string `json:"locations"` Args []IntrospectionInputValue `json:"arg"` }
type IntrospectionQueryFullType ¶
type IntrospectionQueryFullType struct { Kind string `json:"kind"` Name string `json:"name"` Description string `json:"description"` InputFields []IntrospectionInputValue `json:"inputFields"` Interfaces []IntrospectionTypeRef `json:"interfaces"` PossibleTypes []IntrospectionTypeRef `json:"possibleTypes"` Fields []IntrospectionQueryFullTypeField `json:"fields"` EnumValues []IntrospectionQueryEnumDefinition `json:"enumValues"` }
type IntrospectionQueryFullTypeField ¶
type IntrospectionQueryFullTypeField struct { Name string `json:"name"` Description string `json:"description"` Args []IntrospectionInputValue `json:"args"` Type IntrospectionTypeRef `json:"type"` IsDeprecated bool `json:"isDeprecated"` DeprecationReason string `json:"deprecationReason"` }
type IntrospectionQueryResult ¶
type IntrospectionQueryResult struct {
Schema *IntrospectionQuerySchema `json:"__schema"`
}
type IntrospectionQueryRootType ¶
type IntrospectionQueryRootType struct {
Name string `json:"name"`
}
type IntrospectionQuerySchema ¶
type IntrospectionQuerySchema struct { QueryType IntrospectionQueryRootType `json:"queryType"` MutationType *IntrospectionQueryRootType `json:"mutationType"` SubscriptionType *IntrospectionQueryRootType `json:"subscriptionType"` Types []IntrospectionQueryFullType `json:"types"` Directives []IntrospectionQueryDirective `json:"directives"` }
type IntrospectionResolver ¶
type IntrospectionResolver struct {
Variables map[string]interface{}
}
func (*IntrospectionResolver) ResolveIntrospectionFields ¶
func (ir *IntrospectionResolver) ResolveIntrospectionFields(selectionSet ast.SelectionSet, schema *ast.Schema) map[string]interface{}
type IntrospectionTypeRef ¶
type IntrospectionTypeRef struct { Kind string `json:"kind"` Name string `json:"name"` OfType *IntrospectionTypeRef `json:"ofType"` }
type ParallelRemoteSchemaIntrospector ¶
type ParallelRemoteSchemaIntrospector struct {
Factory QueryerFactory
}
func (*ParallelRemoteSchemaIntrospector) IntrospectRemoteSchemas ¶
func (p *ParallelRemoteSchemaIntrospector) IntrospectRemoteSchemas(urls ...string) ([]*ast.Schema, error)
type QueryerFactory ¶
Click to show internal directories.
Click to hide internal directories.