graphql

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 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
}

QueryResolver implements GQL API methods

func NewQueryResolver

func NewQueryResolver() *QueryResolver

NewQueryResolver returns new API resolver

func (*QueryResolver) AuthClient

func (r *QueryResolver) AuthClient(ctx context.Context, id string) (*models.AuthClientPayload, error)

AuthClient is the resolver for the authClient field.

func (*QueryResolver) CreateAuthClient

func (r *QueryResolver) CreateAuthClient(ctx context.Context, input *models.AuthClientInput) (*models.AuthClientPayload, error)

CreateAuthClient is the resolver for the createAuthClient field.

func (*QueryResolver) DeleteAuthClient

func (r *QueryResolver) DeleteAuthClient(ctx context.Context, id string, msg *string) (*models.AuthClientPayload, error)

DeleteAuthClient is the resolver for the deleteAuthClient field.

func (*QueryResolver) ListAuthClients

ListAuthClients is the resolver for the listAuthClients field.

func (*QueryResolver) UpdateAuthClient

func (r *QueryResolver) UpdateAuthClient(ctx context.Context, id string, input *models.AuthClientInput) (*models.AuthClientPayload, error)

UpdateAuthClient is the resolver for the updateAuthClient field.

Jump to

Keyboard shortcuts

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