resolver

package
v0.0.0-...-a594eb7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Schema = `` /* 596-byte string literal not displayed */

Functions

This section is empty.

Types

type AccountResolver

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

func (*AccountResolver) Email

func (r *AccountResolver) Email() string

func (*AccountResolver) ID

func (r *AccountResolver) ID() graphql.ID

func (*AccountResolver) Profile

func (r *AccountResolver) Profile() *ProfileResolver

func (*AccountResolver) Username

func (r *AccountResolver) Username() string

type ProfileResolver

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

func (*ProfileResolver) Bio

func (r *ProfileResolver) Bio() string

func (*ProfileResolver) CoverPhoto

func (r *ProfileResolver) CoverPhoto() string

func (*ProfileResolver) Name

func (r *ProfileResolver) Name() string

func (*ProfileResolver) ProfilePhoto

func (r *ProfileResolver) ProfilePhoto() string

type Resolver

type Resolver struct{}

func (*Resolver) Account

func (r *Resolver) Account(args struct {
	ID graphql.ID
}) *AccountResolver

func (*Resolver) EditProfile

func (r *Resolver) EditProfile(ctx context.Context, args struct {
	Name         string
	Bio          string
	ProfilePhoto string
	CoverPhoto   string
}) *AccountResolver

func (*Resolver) Hello

func (r *Resolver) Hello() string

func (*Resolver) Login

func (r *Resolver) Login(args struct {
	Email    string
	Password string
}) string

func (*Resolver) Me

func (*Resolver) Register

func (r *Resolver) Register(args struct {
	Email    string
	Username string
	Password string
}) string

func (*Resolver) UploadImage

func (r *Resolver) UploadImage(args struct {
	Directory string
}) string

Jump to

Keyboard shortcuts

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