Documentation ¶
Index ¶
- func GinContextFromContext(ctx context.Context) (*gin.Context, error)
- func GinContextToContextMiddleware() gin.HandlerFunc
- func NewSchema(client *ent.Client, rdb *redis.Client) graphql.ExecutableSchema
- type ContextKey
- type Resolver
- func (r *Resolver) Action() generated.ActionResolver
- func (r *Resolver) Competition() generated.CompetitionResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Provider() generated.ProviderResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) ServiceAccount() generated.ServiceAccountResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
- func (r *Resolver) Team() generated.TeamResolver
- func (r *Resolver) User() generated.UserResolver
- func (r *Resolver) VmObject() generated.VmObjectResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinContextToContextMiddleware ¶
func GinContextToContextMiddleware() gin.HandlerFunc
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Action ¶
func (r *Resolver) Action() generated.ActionResolver
Action returns generated.ActionResolver implementation.
func (*Resolver) Competition ¶
func (r *Resolver) Competition() generated.CompetitionResolver
Competition returns generated.CompetitionResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Provider ¶
func (r *Resolver) Provider() generated.ProviderResolver
Provider returns generated.ProviderResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) ServiceAccount ¶
func (r *Resolver) ServiceAccount() generated.ServiceAccountResolver
ServiceAccount returns generated.ServiceAccountResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
func (*Resolver) Team ¶
func (r *Resolver) Team() generated.TeamResolver
Team returns generated.TeamResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.
func (*Resolver) VmObject ¶
func (r *Resolver) VmObject() generated.VmObjectResolver
VmObject returns generated.VmObjectResolver implementation.
Click to show internal directories.
Click to hide internal directories.