generated

package
v0.0.0-...-41184b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL