Documentation ¶
Index ¶
- Variables
- type Resolver
- func (r *Resolver) Mutation() generated1.MutationResolver
- func (p *Resolver) OAuthCallback() http.HandlerFunc
- func (r *Resolver) Query() generated1.QueryResolver
- func (r *Resolver) QueryHandler() http.Handler
- func (r *Resolver) Subscription() generated1.SubscriptionResolver
- func (p *Resolver) UIHandler() http.HandlerFunc
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 NewResolver(client apipb.DatabaseServiceClient, clusterClient apipb.RaftServiceClient, logger *logger.Logger, session session.SessionManager) *Resolver
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated1.MutationResolver
Mutation returns generated1.MutationResolver implementation.
func (*Resolver) OAuthCallback ¶ added in v1.4.0
func (p *Resolver) OAuthCallback() http.HandlerFunc
func (*Resolver) Query ¶
func (r *Resolver) Query() generated1.QueryResolver
Query returns generated1.QueryResolver implementation.
func (*Resolver) QueryHandler ¶
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated1.SubscriptionResolver
Subscription returns generated1.SubscriptionResolver implementation.
func (*Resolver) UIHandler ¶ added in v1.4.0
func (p *Resolver) UIHandler() http.HandlerFunc
Source Files ¶
Click to show internal directories.
Click to hide internal directories.