Documentation ¶
Index ¶
- type QueryResolver
- func (r *QueryResolver) Create(ctx context.Context, input qmodels.OSInput) (*qmodels.OSPayload, error)
- func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qmodels.OSPayload, error)
- func (r *QueryResolver) Get(ctx context.Context, id uint64) (*qmodels.OSPayload, error)
- func (r *QueryResolver) List(ctx context.Context, filter *qmodels.OSListFilter, order *qmodels.OSListOrder, ...) (*connectors.OSConnection, error)
- func (r *QueryResolver) Update(ctx context.Context, id uint64, input qmodels.OSInput) (*qmodels.OSPayload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryResolver ¶
type QueryResolver struct {
// contains filtered or unexported fields
}
func NewQueryResolver ¶
func NewQueryResolver() *QueryResolver
func (*QueryResolver) Create ¶
func (r *QueryResolver) Create(ctx context.Context, input qmodels.OSInput) (*qmodels.OSPayload, error)
Create OS is the resolver for the createOS field.
func (*QueryResolver) Delete ¶
func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qmodels.OSPayload, error)
Delete OS is the resolver for the deleteOS field.
func (*QueryResolver) List ¶
func (r *QueryResolver) List(ctx context.Context, filter *qmodels.OSListFilter, order *qmodels.OSListOrder, page *qmodels.Page) (*connectors.OSConnection, error)
List OS is the resolver for the listOS field.
Click to show internal directories.
Click to hide internal directories.