Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchUser ¶
type FetchUser struct {
models.SignInUserRequest
}
type FetchUserHandler ¶
type FetchUserHandler struct {
// contains filtered or unexported fields
}
func NewFetchUserHandler ¶
func NewFetchUserHandler(userClient intrvproto.UserServiceClient) FetchUserHandler
func (FetchUserHandler) Handle ¶
func (h FetchUserHandler) Handle(ctx context.Context, q FetchUser) (models.UserResponse, error)
type GetUserHandler ¶
type GetUserHandler struct {
// contains filtered or unexported fields
}
func NewGetUserHandler ¶
func NewGetUserHandler(userClient intrvproto.UserServiceClient) GetUserHandler
func (GetUserHandler) Handle ¶
func (h GetUserHandler) Handle(ctx context.Context, id int64) (models.UserResponse, error)
type UserDetailsHandler ¶
type UserDetailsHandler struct {
// contains filtered or unexported fields
}
func NewUserDetailsHandler ¶
func NewUserDetailsHandler(userClient intrvproto.UserServiceClient) UserDetailsHandler
func (UserDetailsHandler) Handle ¶
func (h UserDetailsHandler) Handle(ctx context.Context, query UserRequest) (*models.UserDBResponse, error)
type UserExistsHandler ¶
type UserExistsHandler struct {
// contains filtered or unexported fields
}
func NewUserExistsHandler ¶
func NewUserExistsHandler(userClient intrvproto.UserServiceClient) UserExistsHandler
type UserRequest ¶
type UserRequest struct {
UserID int64
}
type VerificationCode ¶
type VerificationCode struct {
Email string
}
type VerificationCodeHandler ¶
type VerificationCodeHandler struct {
// contains filtered or unexported fields
}
func NewVerificationCodeHandler ¶
func NewVerificationCodeHandler(authClient intrvproto.AuthServiceClient) VerificationCodeHandler
func (VerificationCodeHandler) Handle ¶
func (h VerificationCodeHandler) Handle(ctx context.Context, email string) (models.UserResponse, error)
Click to show internal directories.
Click to hide internal directories.