Documentation ¶
Index ¶
- type AddressesController
- type CategoryProductController
- type CityController
- type CourierController
- type CourierServiceController
- type LoginController
- type OrderController
- type ProductController
- type ProfileController
- type ProvinceController
- type RefreshTokenController
- type SignupController
- type TaskController
- type UnitTypeController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressesController ¶
type AddressesController struct { AddressesUsecase domain.AddressesUsecase Env *bootstrap.Env }
func (*AddressesController) Create ¶
func (pc *AddressesController) Create(c *gin.Context)
func (*AddressesController) GetById ¶
func (pc *AddressesController) GetById(c *gin.Context)
func (*AddressesController) GetByIdUser ¶
func (pc *AddressesController) GetByIdUser(c *gin.Context)
func (*AddressesController) UpdateById ¶
func (pc *AddressesController) UpdateById(c *gin.Context)
type CategoryProductController ¶
type CategoryProductController struct { CategoryProductUsecase domain.CategoryProductUsecase Env *bootstrap.Env }
func (*CategoryProductController) Create ¶
func (cpc *CategoryProductController) Create(c *gin.Context)
func (*CategoryProductController) GetAll ¶
func (cpc *CategoryProductController) GetAll(c *gin.Context)
func (*CategoryProductController) GetById ¶
func (cpc *CategoryProductController) GetById(c *gin.Context)
type CityController ¶
type CityController struct { CityUsecase domain.CityUsecase Env *bootstrap.Env }
func (*CityController) GetCityByProvince ¶
func (pc *CityController) GetCityByProvince(c *gin.Context)
func (*CityController) InsertCity ¶
func (pc *CityController) InsertCity(c *gin.Context)
type CourierController ¶
type CourierController struct { CourierUsecase domain.CourierUsecase Env *bootstrap.Env }
func (*CourierController) Create ¶
func (cc *CourierController) Create(c *gin.Context)
func (*CourierController) GetAll ¶
func (cc *CourierController) GetAll(c *gin.Context)
func (*CourierController) GetServiceList ¶
func (cc *CourierController) GetServiceList(c *gin.Context)
type CourierServiceController ¶
type CourierServiceController struct { CourierServiceUsecase domain.CourierServiceUsecase Env *bootstrap.Env }
func (*CourierServiceController) Create ¶
func (csc *CourierServiceController) Create(c *gin.Context)
func (*CourierServiceController) GetById ¶
func (csc *CourierServiceController) GetById(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 OrderController ¶
type OrderController struct { OrderUsecase domain.OrderUsecase Env *bootstrap.Env }
func (*OrderController) Create ¶
func (oc *OrderController) Create(c *gin.Context)
func (*OrderController) GetById ¶
func (oc *OrderController) GetById(c *gin.Context)
func (*OrderController) GetByIdUser ¶
func (oc *OrderController) GetByIdUser(c *gin.Context)
func (*OrderController) UpdateById ¶
func (oc *OrderController) UpdateById(c *gin.Context)
type ProductController ¶
type ProductController struct { ProductUsecase domain.ProductUsecase Env *bootstrap.Env }
func (*ProductController) Create ¶
func (pc *ProductController) Create(c *gin.Context)
func (*ProductController) GetAll ¶
func (pc *ProductController) GetAll(c *gin.Context)
func (*ProductController) GetAllByCategory ¶
func (pc *ProductController) GetAllByCategory(c *gin.Context)
func (*ProductController) GetAllByCity ¶
func (pc *ProductController) GetAllByCity(c *gin.Context)
func (*ProductController) GetById ¶
func (pc *ProductController) GetById(c *gin.Context)
type ProfileController ¶
type ProfileController struct {
ProfileUsecase domain.ProfileUsecase
}
func (*ProfileController) Fetch ¶
func (pc *ProfileController) Fetch(c *gin.Context)
type ProvinceController ¶
type ProvinceController struct { ProvinceUsecase domain.ProvinceUsecase Env *bootstrap.Env }
func (*ProvinceController) GetProvince ¶
func (pc *ProvinceController) GetProvince(c *gin.Context)
func (*ProvinceController) InsertProvince ¶
func (pc *ProvinceController) InsertProvince(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 TaskController ¶
type TaskController struct {
TaskUsecase domain.TaskUsecase
}
func (*TaskController) Create ¶
func (tc *TaskController) Create(c *gin.Context)
func (*TaskController) Fetch ¶
func (u *TaskController) Fetch(c *gin.Context)
type UnitTypeController ¶
type UnitTypeController struct { UnitTypeUsecase domain.UnitTypeUsecase Env *bootstrap.Env }
func (*UnitTypeController) Create ¶
func (utc *UnitTypeController) Create(c *gin.Context)
func (*UnitTypeController) GetById ¶
func (utc *UnitTypeController) GetById(c *gin.Context)
Source Files ¶
- addresses_controller.go
- category_product_controller.go
- city_controller.go
- courier_controller.go
- courier_service_controller.go
- login_controller.go
- order_controller.go
- payment_controller.go
- product_controller.go
- profile_controller.go
- province_controller.go
- refresh_token_controller.go
- signup_controller.go
- task_controller.go
- unit_type_controller.go
Click to show internal directories.
Click to hide internal directories.