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 { JobStatus struct { JobID func(childComplexity int) int Status func(childComplexity int) int TaskHistory func(childComplexity int) int Timestamp func(childComplexity int) int } Mutation struct { CreateJob func(childComplexity int, input *model.Job) int } Query struct { GetJob func(childComplexity int, id *int) int GetJobs func(childComplexity int, id []*int) int } TaskHistory struct { CancelledAt func(childComplexity int) int Cause func(childComplexity int) int CompletedAt func(childComplexity int) int ExecutedAt func(childComplexity int) int From func(childComplexity int) int Input func(childComplexity int) int Output func(childComplexity int) int RetryCount func(childComplexity int) int Status func(childComplexity int) int TaskID func(childComplexity int) 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.