Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MetaFieldSchema = Field{ Field: schema.Field{ Name: "__schema", Type: schema.Meta.Types["__Schema"], }, TraceLabel: fmt.Sprintf("GraphQL field: __schema"), }
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { schema.Field TypeName string MethodIndex int HasContext bool HasError bool ArgsPacker *packer.StructPacker ValueExec Resolvable TraceLabel string }
type List ¶
type List struct {
Elem Resolvable
}
type Object ¶
type Object struct { Name string Fields map[string]*Field TypeAssertions map[string]*TypeAssertion }
var MetaSchema *Object
var MetaType *Object
type Resolvable ¶
type Resolvable interface {
// contains filtered or unexported methods
}
type Schema ¶
type Schema struct { schema.Schema Query Resolvable Mutation Resolvable Subscription Resolvable Resolver reflect.Value }
type TypeAssertion ¶
type TypeAssertion struct { MethodIndex int TypeExec Resolvable }
Click to show internal directories.
Click to hide internal directories.