generated

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

Types

type ComplexityRoot

type ComplexityRoot struct {
	GetUser struct {
		Countrycode    func(childComplexity int) int
		Created        func(childComplexity int) int
		Currencycode   func(childComplexity int) int
		Currencysymbol func(childComplexity int) int
		Dialcode       func(childComplexity int) int
		Email          func(childComplexity int) int
		Firstname      func(childComplexity int) int
		Lastname       func(childComplexity int) int
		Mobile         func(childComplexity int) int
		Profileimage   func(childComplexity int) int
		Status         func(childComplexity int) int
		Userid         func(childComplexity int) int
	}

	LoginData struct {
		Code         func(childComplexity int) int
		Locationinfo func(childComplexity int) int
		Message      func(childComplexity int) int
		Status       func(childComplexity int) int
		Tenantinfo   func(childComplexity int) int
		UserInfo     func(childComplexity int) int
	}

	Mutation struct {
		CreateUser    func(childComplexity int, create model.NewUser) int
		Login         func(childComplexity int, input model.Login) int
		RefreshToken  func(childComplexity int, input model.RefreshTokenInput) int
		ResetPassword func(childComplexity int, input model.Reset) int
		Updateuser    func(childComplexity int, input *model.Userupdateinput) int
	}

	Query struct {
		Getuser func(childComplexity int) int
		Users   func(childComplexity int) int
	}

	User struct {
		ID   func(childComplexity int) int
		Name func(childComplexity int) int
	}

	UserCreatedData struct {
		Code     func(childComplexity int) int
		Message  func(childComplexity int) int
		Status   func(childComplexity int) int
		UserInfo func(childComplexity int) int
	}

	UserData struct {
		Closetime      func(childComplexity int) int
		Configid       func(childComplexity int) int
		Countrycode    func(childComplexity int) int
		CreatedDate    func(childComplexity int) int
		Currencycode   func(childComplexity int) int
		Currencysymbol func(childComplexity int) int
		Dialcode       func(childComplexity int) int
		Email          func(childComplexity int) int
		Firstname      func(childComplexity int) int
		Lastname       func(childComplexity int) int
		Locationid     func(childComplexity int) int
		Mobile         func(childComplexity int) int
		Opentime       func(childComplexity int) int
		Profileimage   func(childComplexity int) int
		Roleid         func(childComplexity int) int
		Status         func(childComplexity int) int
		Tenantid       func(childComplexity int) int
		Tenantimageurl func(childComplexity int) int
		Tenantname     func(childComplexity int) int
		Token          func(childComplexity int) int
		UserID         func(childComplexity int) int
	}

	UserData1 struct {
		Configid           func(childComplexity int) int
		Countrycode        func(childComplexity int) int
		CreatedDate        func(childComplexity int) int
		Currencycode       func(childComplexity int) int
		Currencyid         func(childComplexity int) int
		Currencysymbol     func(childComplexity int) int
		Devicetype         func(childComplexity int) int
		Dialcode           func(childComplexity int) int
		Email              func(childComplexity int) int
		Firstname          func(childComplexity int) int
		Lastname           func(childComplexity int) int
		Mobile             func(childComplexity int) int
		Profileimage       func(childComplexity int) int
		Roleid             func(childComplexity int) int
		Status             func(childComplexity int) int
		Tenantaccid        func(childComplexity int) int
		Tenantid           func(childComplexity int) int
		Tenantimageurl     func(childComplexity int) int
		Tenantname         func(childComplexity int) int
		Tenantstatus       func(childComplexity int) int
		Token              func(childComplexity int) int
		UserID             func(childComplexity int) int
		Usercountrycode    func(childComplexity int) int
		Usercurrencycode   func(childComplexity int) int
		Usercurrencysymbol func(childComplexity int) int
	}

	Location struct {
		Address      func(childComplexity int) int
		City         func(childComplexity int) int
		Closetime    func(childComplexity int) int
		Contactno    func(childComplexity int) int
		Email        func(childComplexity int) int
		Latitude     func(childComplexity int) int
		Locationid   func(childComplexity int) int
		Locationname func(childComplexity int) int
		Longitude    func(childComplexity int) int
		Opentime     func(childComplexity int) int
		Postcode     func(childComplexity int) int
		State        func(childComplexity int) int
		Suburb       func(childComplexity int) int
		Tenantid     func(childComplexity int) int
	}

	Tenantdata struct {
		Categoryid           func(childComplexity int) int
		Featureid            func(childComplexity int) int
		Iconurl              func(childComplexity int) int
		Logourl              func(childComplexity int) int
		Moduleid             func(childComplexity int) int
		Modulename           func(childComplexity int) int
		Packageid            func(childComplexity int) int
		Packagename          func(childComplexity int) int
		Paymentstatus        func(childComplexity int) int
		Status               func(childComplexity int) int
		Subcategoryid        func(childComplexity int) int
		Subscriptionaccid    func(childComplexity int) int
		Subscriptionid       func(childComplexity int) int
		Subscriptionmethodid func(childComplexity int) int
		Taxamount            func(childComplexity int) int
		Taxpercent           func(childComplexity int) int
		Totalamount          func(childComplexity int) int
		Validity             func(childComplexity int) int
		Validitydate         func(childComplexity int) int
	}

	Updateddata struct {
		Code    func(childComplexity int) int
		Message func(childComplexity int) int
		Status  func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
}

type MutationResolver

type MutationResolver interface {
	CreateUser(ctx context.Context, create model.NewUser) (*model.UserCreatedData, error)
	Login(ctx context.Context, input model.Login) (*model.LoginData, error)
	ResetPassword(ctx context.Context, input model.Reset) (string, error)
	RefreshToken(ctx context.Context, input model.RefreshTokenInput) (string, error)
	Updateuser(ctx context.Context, input *model.Userupdateinput) (*model.Updateddata, error)
}

type QueryResolver

type QueryResolver interface {
	Users(ctx context.Context) ([]*model.GetUser, error)
	Getuser(ctx context.Context) (*model.LoginData, error)
}

type ResolverRoot

type ResolverRoot interface {
	Mutation() MutationResolver
	Query() QueryResolver
}

Jump to

Keyboard shortcuts

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