graphql

package
v0.0.0-...-454c3e9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 8 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

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

Get OS is the resolver for the OS field.

func (*QueryResolver) List

List OS is the resolver for the listOS field.

func (*QueryResolver) Update

func (r *QueryResolver) Update(ctx context.Context, id uint64, input qmodels.OSInput) (*qmodels.OSPayload, error)

Update OS is the resolver for the updateOS field.

Jump to

Keyboard shortcuts

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