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 { EnqueuePayload struct { QueuedIps func(childComplexity int) int } IPDetails struct { CreatedAt func(childComplexity int) int IPAddress func(childComplexity int) int ResponseCode func(childComplexity int) int UUID func(childComplexity int) int UpdatedAt func(childComplexity int) int } Mutation struct { Enqueue func(childComplexity int, ip []string) int } Query struct { GetIPDetails func(childComplexity int, ip string) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.