authdirective

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Schema = `` /* 1329-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonFilter

type CommonFilter struct {
	Limit   *int
	Page    *int
	Search  *string
	Sort    *string
	ShowAll *bool
	OrderBy *string
}

CommonFilter basic filter model

type Meta

type Meta struct {
	Page         int `json:"page"`
	Limit        int `json:"limit"`
	TotalRecords int `json:"totalRecords"`
	TotalPages   int `json:"totalPages"`
}

Meta model

type RequestUser

type RequestUser struct {
	ID    string `json:"id"`
	Field string `json:"field"`
}

RequestUser model

type ResponseUser

type ResponseUser struct {
	ID        string `json:"id"`
	Field     string `json:"field"`
	CreatedAt string `json:"createdAt"`
	UpdatedAt string `json:"updatedAt"`
}

ResponseUser model

type Root

type Root struct {
	// contains filtered or unexported fields
}

func NewRoot

func NewRoot() (r *Root)

func (*Root) Mutation

func (r *Root) Mutation() interface{}

func (*Root) Query

func (r *Root) Query() interface{}

func (*Root) Subscription

func (r *Root) Subscription() interface{}

type UserListResolver

type UserListResolver struct {
	Meta Meta
	Data []ResponseUser
}

UserListResolver resolver

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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