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 { Query struct { GetTopics func(childComplexity int) int } Record struct { CreatedAt func(childComplexity int) int Key func(childComplexity int) int Offset func(childComplexity int) int Value func(childComplexity int) int } Subscription struct { RecordAdded func(childComplexity int, topic string, key string) int } Topic struct { Name func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Query() QueryResolver Subscription() SubscriptionResolver }
Click to show internal directories.
Click to hide internal directories.