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 { HTTPHeader struct { Key func(childComplexity int) int Value func(childComplexity int) int } PageInfo struct { EndCursor func(childComplexity int) int HasNextPage func(childComplexity int) int HasPreviousPage func(childComplexity int) int StartCursor func(childComplexity int) int } Query struct { Webhook func(childComplexity int, id string) int Webhooks func(childComplexity int, after *string, before *string, first *uint, last *uint, filter json.RawMessage) int } Webhook struct { Attempts func(childComplexity int) int Body func(childComplexity int) int CreatedAt func(childComplexity int) int Headers func(childComplexity int) int ID func(childComplexity int) int LastStatusCode func(childComplexity int) int Method func(childComplexity int) int Timeout func(childComplexity int) int URL func(childComplexity int) int UpdatedAt func(childComplexity int) int } WebhookAttempt struct { Body func(childComplexity int) int CreatedAt func(childComplexity int) int ElapsedTime func(childComplexity int) int Headers func(childComplexity int) int StatusCode func(childComplexity int) int } WebhookConnection struct { Nodes func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface {
Query() QueryResolver
}
Click to show internal directories.
Click to hide internal directories.