Documentation ¶
Index ¶
- type GoogleController
- type LoginController
- type RefreshTokenController
- type SignupController
- type UserController
- func (uc *UserController) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (uc *UserController) GetUserById(w http.ResponseWriter, r *http.Request)
- func (uc *UserController) GetUsers(w http.ResponseWriter, r *http.Request)
- func (uc *UserController) UpdateUser(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleController ¶
type GoogleController struct { GoogleUseCase domain.GoogleUseCase Env *bootstrap.Env }
func (*GoogleController) HandleGoogleCallback ¶
func (gc *GoogleController) HandleGoogleCallback(w http.ResponseWriter, r *http.Request)
func (*GoogleController) HandleGoogleLogin ¶
func (gc *GoogleController) HandleGoogleLogin(w http.ResponseWriter, r *http.Request)
type LoginController ¶
type LoginController struct { LoginUseCase domain.LoginUseCase Env *bootstrap.Env }
func (*LoginController) Login ¶
func (lc *LoginController) Login(w http.ResponseWriter, r *http.Request)
type RefreshTokenController ¶
type RefreshTokenController struct { RefreshTokenUseCase domain.RefreshTokenUseCase Env *bootstrap.Env }
func (*RefreshTokenController) RefreshToken ¶
func (rtc *RefreshTokenController) RefreshToken(w http.ResponseWriter, r *http.Request)
type SignupController ¶
type SignupController struct { SignupUseCase domain.SignupUseCase Env *bootstrap.Env }
func (*SignupController) Signup ¶
func (sc *SignupController) Signup(w http.ResponseWriter, r *http.Request)
type UserController ¶
type UserController struct { UserUseCase domain.UserUseCase Env *bootstrap.Env }
func (*UserController) DeleteUser ¶
func (uc *UserController) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*UserController) GetUserById ¶
func (uc *UserController) GetUserById(w http.ResponseWriter, r *http.Request)
func (*UserController) GetUsers ¶
func (uc *UserController) GetUsers(w http.ResponseWriter, r *http.Request)
func (*UserController) UpdateUser ¶
func (uc *UserController) UpdateUser(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.