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 NewVaccinationController ¶
func NewVaccinationController(vu domain.VaccinationUsecase) *VaccinationController
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)
Click to show internal directories.
Click to hide internal directories.