Documentation ¶
Index ¶
- func NewDirective(schema resolvers.Schema) resolvers.ObjectTypeInterface
- func NewEnumValue(schema resolvers.Schema, directives map[string]resolvers.Directive) resolvers.ObjectTypeInterface
- func NewField(schema resolvers.Schema, directives map[string]resolvers.Directive) resolvers.ObjectTypeInterface
- func NewInputValue(schema resolvers.Schema, directives map[string]resolvers.Directive) resolvers.ObjectTypeInterface
- func NewSchema(gqlSchema resolvers.Schema, directives map[string]resolvers.Directive) resolvers.ObjectTypeInterface
- func NewType(schema resolvers.Schema, directives map[string]resolvers.Directive) resolvers.ObjectTypeInterface
- type Directive
- type Enum
- type Field
- type InputValue
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDirective ¶
func NewDirective(schema resolvers.Schema) resolvers.ObjectTypeInterface
func NewEnumValue ¶
func NewInputValue ¶
Types ¶
type Directive ¶
type Directive struct {
// contains filtered or unexported fields
}
func (*Directive) Resolver ¶
func (o *Directive) Resolver(info resolvers.ResolverInfo) (r resolvers.DataReturn, err definitionError.GQLError)
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
func (*Enum) Resolver ¶
func (o *Enum) Resolver(info resolvers.ResolverInfo) (r resolvers.DataReturn, err definitionError.GQLError)
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func (*Field) Resolver ¶
func (o *Field) Resolver(info resolvers.ResolverInfo) (r resolvers.DataReturn, err definitionError.GQLError)
type InputValue ¶
type InputValue struct {
// contains filtered or unexported fields
}
func (*InputValue) Resolver ¶
func (o *InputValue) Resolver(info resolvers.ResolverInfo) (r resolvers.DataReturn, err definitionError.GQLError)
func (*InputValue) Subscribe ¶
func (o *InputValue) Subscribe(info resolvers.ResolverInfo) (r bool)
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func (*Type) Resolver ¶
func (o *Type) Resolver(info resolvers.ResolverInfo) (r resolvers.DataReturn, err definitionError.GQLError)
Click to show internal directories.
Click to hide internal directories.