controller

package
v0.0.0-...-ade451b Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrugController

type DrugController struct {
	DrugUsecase domain.DrugUsecase
}

func NewDrugController

func NewDrugController(du domain.DrugUsecase) *DrugController

func (*DrugController) Create

func (dc *DrugController) Create(c *gin.Context)

func (*DrugController) Delete

func (dc *DrugController) Delete(c *gin.Context)

func (*DrugController) FetchAll

func (dc *DrugController) FetchAll(c *gin.Context)

func (*DrugController) Get

func (dc *DrugController) Get(c *gin.Context)

func (*DrugController) Update

func (dc *DrugController) Update(c *gin.Context)

type LoginController

type LoginController struct {
	LoginUsecase domain.LoginUsecase
	Env          *bootstrap.Env
}

func (*LoginController) Login

func (lc *LoginController) Login(c *gin.Context)

type RefreshTokenController

type RefreshTokenController struct {
	RefreshTokenUsecase domain.RefreshTokenUsecase
	Env                 *bootstrap.Env
}

func (*RefreshTokenController) RefreshToken

func (rtc *RefreshTokenController) RefreshToken(c *gin.Context)

type SignupController

type SignupController struct {
	SignupUsecase domain.SignupUsecase
	Env           *bootstrap.Env
}

func (*SignupController) Signup

func (sc *SignupController) Signup(c *gin.Context)

type VaccinationController

type VaccinationController struct {
	VaccinationUsecase domain.VaccinationUsecase
}

func (*VaccinationController) Create

func (vc *VaccinationController) Create(c *gin.Context)

func (*VaccinationController) Delete

func (vc *VaccinationController) Delete(c *gin.Context)

func (*VaccinationController) FetchAll

func (vc *VaccinationController) FetchAll(c *gin.Context)

func (*VaccinationController) Get

func (vc *VaccinationController) Get(c *gin.Context)

func (*VaccinationController) Update

func (vc *VaccinationController) Update(c *gin.Context)

Jump to

Keyboard shortcuts

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