Documentation ¶
Index ¶
- Variables
- type Resolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Playground() http.HandlerFunc
- func (r *Resolver) PlaygroundCallback(playgroundRedirect string) http.HandlerFunc
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) QueryHandler() http.Handler
- func (r *Resolver) Subscription() generated.SubscriptionResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoTokenSession = errors.New("playground: no token session") ErrNoStateSession = errors.New("playground: no state session") )
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Playground ¶
func (r *Resolver) Playground() http.HandlerFunc
func (*Resolver) PlaygroundCallback ¶
func (r *Resolver) PlaygroundCallback(playgroundRedirect string) http.HandlerFunc
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) QueryHandler ¶
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
Click to show internal directories.
Click to hide internal directories.