Documentation ¶
Index ¶
- type ChangePasswordResponse
- type ChangeProfileResponse
- type Claims
- type GetMyProfileResponse
- type Resolvers
- func (r *Resolvers) ChangePassword(ctx context.Context, args changePasswordMutationArgs) (*ChangePasswordResponse, error)
- func (r *Resolvers) ChangeProfile(ctx context.Context, args changeProfileMutationArgs) (*ChangeProfileResponse, error)
- func (r *Resolvers) GetMyProfile(ctx context.Context) (*GetMyProfileResponse, error)
- func (r *Resolvers) SignInGoogle(ctx context.Context, args signInGoogleMutationArgs) (*SignInGoogleResponse, error)
- func (r *Resolvers) SignInKakao(args signInKakaoMutationArgs) (*SignInKakaoResponse, error)
- type SignInGoogleResponse
- type SignInKakaoResponse
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordResponse ¶
ChangePasswordResponse is the response type
func (*ChangePasswordResponse) Error ¶
func (r *ChangePasswordResponse) Error() *string
Error for ChangePasswordResponse
func (*ChangePasswordResponse) Ok ¶
func (r *ChangePasswordResponse) Ok() bool
Ok for ChangePasswordResponse
type ChangeProfileResponse ¶
type ChangeProfileResponse struct { Status bool Msg *string User *UserResponse }
ChangeProfileResponse is the response type
func (*ChangeProfileResponse) Error ¶
func (r *ChangeProfileResponse) Error() *string
Error for ChangeProfileResponse
func (*ChangeProfileResponse) Ok ¶
func (r *ChangeProfileResponse) Ok() bool
Ok for ChangeProfileResponse
type GetMyProfileResponse ¶
type GetMyProfileResponse struct { Status bool Msg *string User *UserResponse }
GetMyProfileResponse is the response type
func (*GetMyProfileResponse) Error ¶
func (r *GetMyProfileResponse) Error() *string
Error for GetMyProfileResponse
func (*GetMyProfileResponse) Ok ¶
func (r *GetMyProfileResponse) Ok() bool
Ok for GetMyProfileResponse
type Resolvers ¶
Resolvers including query and mutation
func (*Resolvers) ChangePassword ¶
func (r *Resolvers) ChangePassword(ctx context.Context, args changePasswordMutationArgs) (*ChangePasswordResponse, error)
ChangePassword mutation change password
func (*Resolvers) ChangeProfile ¶
func (r *Resolvers) ChangeProfile(ctx context.Context, args changeProfileMutationArgs) (*ChangeProfileResponse, error)
ChangeProfile mutation change profile
func (*Resolvers) GetMyProfile ¶
func (r *Resolvers) GetMyProfile(ctx context.Context) (*GetMyProfileResponse, error)
GetMyProfile resolver
func (*Resolvers) SignInGoogle ¶
func (r *Resolvers) SignInGoogle(ctx context.Context, args signInGoogleMutationArgs) (*SignInGoogleResponse, error)
SignInGoogle mutation
func (*Resolvers) SignInKakao ¶
func (r *Resolvers) SignInKakao(args signInKakaoMutationArgs) (*SignInKakaoResponse, error)
SignInKakao mutation
type SignInGoogleResponse ¶
SignInResponse is the response type
func (*SignInGoogleResponse) Error ¶
func (r *SignInGoogleResponse) Error() *string
Error for SignUpResponse
type SignInKakaoResponse ¶
SignInResponse is the response type
func (*SignInKakaoResponse) Error ¶
func (r *SignInKakaoResponse) Error() *string
Error for SignUpResponse
type UserResponse ¶
type UserResponse struct {
// contains filtered or unexported fields
}
UserResponse is the user response type
func (*UserResponse) CreatedAt ¶
func (r *UserResponse) CreatedAt() string
CreatedAt for UserResponse
func (*UserResponse) DeletedAt ¶
func (r *UserResponse) DeletedAt() string
DeletedAt for UserResponse
func (*UserResponse) UpdatedAt ¶
func (r *UserResponse) UpdatedAt() string
UpdatedAt for UserResponse