Documentation ¶
Overview ¶
Package resolver holds all graphql resolvers for queries and mutations
Index ¶
- type Resolver
- func (r *Resolver) Client() generated.ClientResolver
- func (r *Resolver) Company() generated.CompanyResolver
- func (r *Resolver) Entity() generated.EntityResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Permission() generated.PermissionResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) User() generated.UserResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { DB *gorm.DB Cfg *util.ServerConfig }
Resolver structure
func (*Resolver) Client ¶
func (r *Resolver) Client() generated.ClientResolver
Client returns generated.ClientResolver implementation.
func (*Resolver) Company ¶
func (r *Resolver) Company() generated.CompanyResolver
Company returns generated.CompanyResolver implementation.
func (*Resolver) Entity ¶
func (r *Resolver) Entity() generated.EntityResolver
Entity returns generated.EntityResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Permission ¶
func (r *Resolver) Permission() generated.PermissionResolver
Permission returns generated.PermissionResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.
Click to show internal directories.
Click to hide internal directories.