Documentation ¶
Index ¶
- type QueryResolver
- func (r *QueryResolver) AuthClient(ctx context.Context, id string) (*models.AuthClientPayload, error)
- func (r *QueryResolver) CreateAuthClient(ctx context.Context, input *models.AuthClientInput) (*models.AuthClientPayload, error)
- func (r *QueryResolver) DeleteAuthClient(ctx context.Context, id string, msg *string) (*models.AuthClientPayload, error)
- func (r *QueryResolver) ListAuthClients(ctx context.Context, filter *models.AuthClientListFilter, ...) (*connectors.AuthClientConnection, error)
- func (r *QueryResolver) UpdateAuthClient(ctx context.Context, id string, input *models.AuthClientInput) (*models.AuthClientPayload, 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
}
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 ¶
func (r *QueryResolver) ListAuthClients(ctx context.Context, filter *models.AuthClientListFilter, order *models.AuthClientListOrder, page *models.Page) (*connectors.AuthClientConnection, error)
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.
Click to show internal directories.
Click to hide internal directories.