controller

package
v0.0.0-...-4e68383 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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