Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2021 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + CurrentUserProfile struct{ ... } + FourChoicesQuiz struct{ ... } + FourChoicesQuizAnswer struct{ ... } + Mutation struct{ ... } + Player struct{ ... } + Query struct{ ... } + QuizChoice struct{ ... } + QuizRoom struct{ ... } + Subscription struct{ ... } + UserProfile struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + HasRole func(ctx context.Context, obj interface{}, next graphql.Resolver, role model.Role) (res interface{}, err error) + type MutationResolver interface + CancelWaitingMatch func(ctx context.Context) (bool, error) + CreateAnswer func(ctx context.Context, roomID string, quizID string, answer string) (*bool, error) + UpdateCurrentPlayerQuizRoomStatus func(ctx context.Context, roomID string) (*bool, error) + UpdatePlayerID func(ctx context.Context, input model.UpdatePlayerIDInput) (*model.Player, error) + type PlayerResolver interface + UserProfile func(ctx context.Context, obj *model.Player) (*model.UserProfile, error) + type QueryResolver interface + CurrentPlayer func(ctx context.Context) (*model.Player, error) + CurrentUserProfile func(ctx context.Context) (*model.CurrentUserProfile, error) + Node func(ctx context.Context, id string) (model.Node, error) + Nodes func(ctx context.Context, ids []string) ([]model.Node, error) + type ResolverRoot interface + Mutation func() MutationResolver + Player func() PlayerResolver + Query func() QueryResolver + Subscription func() SubscriptionResolver + type SubscriptionResolver interface + QuizAnswered func(ctx context.Context, roomID string) (<-chan model.QuizAnswer, error) + QuizPosted func(ctx context.Context, roomID string) (<-chan model.Quiz, error) + RandomMatchRoomDecided func(ctx context.Context) (<-chan *model.QuizRoom, error)