resolvers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	Database               *ent.Client
	JWTKeyStore            *utils.JWTKeyStore
	VCSBuildInfo           *utils.VCSBuildInfo
	ImageBaseURL           string
	ImageAPIURL            string
	ImageAPIKey            string
	ReviewCreatedChannels  map[string]chan *ent.Review
	ReviewAcceptedChannels map[string]chan *ent.Review
	// contains filtered or unexported fields
}

func (*Resolver) Dish

func (r *Resolver) Dish() gqlserver.DishResolver

Dish returns gqlserver.DishResolver implementation.

func (*Resolver) DishAlias added in v0.6.0

func (r *Resolver) DishAlias() gqlserver.DishAliasResolver

DishAlias returns gqlserver.DishAliasResolver implementation.

func (*Resolver) Image

func (r *Resolver) Image() gqlserver.ImageResolver

Image returns gqlserver.ImageResolver implementation.

func (*Resolver) Mutation

func (r *Resolver) Mutation() gqlserver.MutationResolver

Mutation returns gqlserver.MutationResolver implementation.

func (*Resolver) Occurrence

func (r *Resolver) Occurrence() gqlserver.OccurrenceResolver

Occurrence returns gqlserver.OccurrenceResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() gqlserver.QueryResolver

Query returns gqlserver.QueryResolver implementation.

func (*Resolver) Review

func (r *Resolver) Review() gqlserver.ReviewResolver

Review returns gqlserver.ReviewResolver implementation.

func (*Resolver) Subscription added in v0.7.0

func (r *Resolver) Subscription() gqlserver.SubscriptionResolver

Subscription returns gqlserver.SubscriptionResolver implementation.

func (*Resolver) Tag added in v0.6.0

func (r *Resolver) Tag() gqlserver.TagResolver

Tag returns gqlserver.TagResolver implementation.

Jump to

Keyboard shortcuts

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