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 { ActiveMetricStat struct { Gauge func(childComplexity int) int Sparkline func(childComplexity int) int Trend func(childComplexity int) int } Gauge struct { Value func(childComplexity int) int } Point struct { Time func(childComplexity int) int Value func(childComplexity int) int } Query struct { ActiveMeetings func(childComplexity int, start *string, stop *string) int ActiveRecordings func(childComplexity int, start *string, stop *string) int ActiveUsers func(childComplexity int, start *string, stop *string) int } Trend struct { Value func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type QueryResolver ¶
type QueryResolver interface { ActiveUsers(ctx context.Context, start *string, stop *string) (*model.ActiveMetricStat, error) ActiveMeetings(ctx context.Context, start *string, stop *string) (*model.ActiveMetricStat, error) ActiveRecordings(ctx context.Context, start *string, stop *string) (*model.ActiveMetricStat, error) }
type ResolverRoot ¶
type ResolverRoot interface {
Query() QueryResolver
}
Click to show internal directories.
Click to hide internal directories.