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 { Event struct { Channel func(childComplexity int) int Claims func(childComplexity int) int Data func(childComplexity int) int ID func(childComplexity int) int Metadata func(childComplexity int) int Time func(childComplexity int) int } Mutation struct { Send func(childComplexity int, input model.EventInput) int } Query struct { History func(childComplexity int, input model.HistoryOpts) int } Subscription struct { Receive func(childComplexity int, input model.ReceiveOpts) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶ added in v0.0.17
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver Subscription() SubscriptionResolver }
type SubscriptionResolver ¶
Click to show internal directories.
Click to hide internal directories.