graphql

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

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) Get

Get OS is the resolver for the OS field.

func (*QueryResolver) List

List OS is the resolver for the listOS field.

func (*QueryResolver) ListByIDs

func (r *QueryResolver) ListByIDs(ctx context.Context, ids []uint64) ([]*qmodels.Os, error)

ListByIDs returns a list of OS by their IDs.

func (*QueryResolver) Update

Update OS is the resolver for the updateOS field.

func (*QueryResolver) Versions

func (r *QueryResolver) Versions(ctx context.Context, obj *qmodels.Os) ([]*qmodels.Os, error)

Versions is the resolver for the versions field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL