Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Mutation struct { Login func(childComplexity int, login model.Login) int } Query struct { } TblUser struct { Email func(childComplexity int) int Firstname func(childComplexity int) int ID func(childComplexity int) int Lastname func(childComplexity int) int Password func(childComplexity int) int UserName func(childComplexity int) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type Resolver ¶
type Resolver struct{}
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() MutationResolver
Mutation returns MutationResolver implementation.
type ResolverRoot ¶
type ResolverRoot interface {
Mutation() MutationResolver
}
Click to show internal directories.
Click to hide internal directories.