Documentation ¶
Index ¶
- Variables
- type AccountResolver
- type ProfileResolver
- type Resolver
- func (r *Resolver) Account(args struct{ ... }) *AccountResolver
- func (r *Resolver) EditProfile(ctx context.Context, args struct{ ... }) *AccountResolver
- func (r *Resolver) Hello() string
- func (r *Resolver) Login(args struct{ ... }) string
- func (r *Resolver) Me(ctx context.Context) *AccountResolver
- func (r *Resolver) Register(args struct{ ... }) string
- func (r *Resolver) UploadImage(args struct{ ... }) string
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 (*Resolver) UploadImage ¶
Click to show internal directories.
Click to hide internal directories.