Documentation ¶
Index ¶
- func NewSchema(opts ...Option) graphql.ExecutableSchema
- type Option
- type Resolver
- func (r *Resolver) AppPolicy() generated.AppPolicyResolver
- func (r *Resolver) CreateUserInput() generated.CreateUserInputResolver
- func (r *Resolver) Mutation() generated1.MutationResolver
- func (r *Resolver) Org() generated.OrgResolver
- func (r *Resolver) OrgPolicy() generated.OrgPolicyResolver
- func (r *Resolver) OrgRole() generated.OrgRoleResolver
- func (r *Resolver) Permission() generated.PermissionResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) User() generated.UserResolver
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchema ¶
func NewSchema(opts ...Option) graphql.ExecutableSchema
NewSchema creates a graphql executable schema.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func (*Resolver) AppPolicy ¶
func (r *Resolver) AppPolicy() generated.AppPolicyResolver
AppPolicy returns generated.AppPolicyResolver implementation.
func (*Resolver) CreateUserInput ¶
func (r *Resolver) CreateUserInput() generated.CreateUserInputResolver
CreateUserInput returns generated.CreateUserInputResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated1.MutationResolver
Mutation returns generated1.MutationResolver implementation.
func (*Resolver) Org ¶
func (r *Resolver) Org() generated.OrgResolver
Org returns generated.OrgResolver implementation.
func (*Resolver) OrgPolicy ¶
func (r *Resolver) OrgPolicy() generated.OrgPolicyResolver
OrgPolicy returns generated.OrgPolicyResolver implementation.
func (*Resolver) OrgRole ¶
func (r *Resolver) OrgRole() generated.OrgRoleResolver
OrgRole returns generated.OrgRoleResolver 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.