Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { schema.Field TypeName string MethodIndex int FieldIndex []int HasContext bool HasError bool ArgsPacker *packer.StructPacker ValueExec Resolvable TraceLabel string }
func (*Field) UseMethodResolver ¶
type List ¶
type List struct {
Elem Resolvable
}
type Meta ¶
type Meta struct { FieldSchema Field FieldType Field FieldTypename Field Schema *Object Type *Object }
Meta defines the details of the metadata schema for introspection.
type MutationResolver ¶
type MutationResolver interface {
Mutation() interface{}
}
type Object ¶
type Object struct { Name string Fields map[string]*Field TypeAssertions map[string]*TypeAssertion }
type QueryResolver ¶
type QueryResolver interface {
Query() interface{}
}
type Resolvable ¶
type Resolvable interface {
// contains filtered or unexported methods
}
type Schema ¶
type SubscriptionResolver ¶
type SubscriptionResolver interface {
Subscription() interface{}
}
type TypeAssertion ¶
type TypeAssertion struct { MethodIndex int TypeExec Resolvable }
Click to show internal directories.
Click to hide internal directories.