resolvers

package
v0.0.0-...-dff417c Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MkRootResolvers

func MkRootResolvers(dao *dao.DAO) middleware.GQLResolvers

MkRootResolvers makes an instance of middleware.GQLResolvers as a root entry of all the custom resolvers

Types

type Context

type Context = context.Context

type EnhancedUserResolver

type EnhancedUserResolver struct {
	gen.FutureUserResolver
	// contains filtered or unexported fields
}

func (EnhancedUserResolver) Friends

func (r EnhancedUserResolver) Friends(
	ctx Context, start int64, pageSize int64) []gen.UserResolver

type ID

type ID = string

type RootMutationResolver

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

func (*RootMutationResolver) UpdateUser

func (r *RootMutationResolver) UpdateUser(ctx Context, id ID, userInput gen.UserInput) gen.UserResolver

func (*RootMutationResolver) UpdateUserName

func (r *RootMutationResolver) UpdateUserName(ctx Context, id ID, name string) gen.UserResolver

type RootQueryResolver

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

func (*RootQueryResolver) GetUser

func (r *RootQueryResolver) GetUser(ctx Context, id ID) gen.UserResolver

func (*RootQueryResolver) GetUsers

func (r *RootQueryResolver) GetUsers(ctx Context, start int64, pageSize int64) []gen.UserResolver

type StringOption

type StringOption = graphql.StringOption

type User

type User = gen.User

type Value

type Value = future.Value

Jump to

Keyboard shortcuts

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