Documentation ¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- type ActionHandler
- func (h *ActionHandler) Create(ctx context.Context, req *pb_action.Request, rsp *pb_action.Response) error
- func (h *ActionHandler) Delete(ctx context.Context, req *pb_action.DeleteRequest, rsp *empty.Empty) error
- func (h *ActionHandler) Get(ctx context.Context, req *pb_action.GetRequest, rsp *pb_action.Response) error
- func (h *ActionHandler) Paginate(ctx context.Context, req *pb_action.PaginateRequest, ...) error
- func (h *ActionHandler) Update(ctx context.Context, req *pb_action.Request, rsp *pb_action.Response) error
- type BrandHandler
- func (h *BrandHandler) Create(ctx context.Context, req *pb_brand.Request, rsp *pb_brand.Response) error
- func (h *BrandHandler) Delete(ctx context.Context, req *pb_brand.DeleteRequest, rsp *empty.Empty) error
- func (h *BrandHandler) Get(ctx context.Context, req *pb_brand.GetRequest, rsp *pb_brand.Response) error
- func (h *BrandHandler) Paginate(ctx context.Context, req *pb_brand.PaginateRequest, ...) error
- func (h *BrandHandler) Update(ctx context.Context, req *pb_brand.Request, rsp *pb_brand.Response) error
- type CareerCategoryHandler
- func (h *CareerCategoryHandler) Create(ctx context.Context, req *pb_career.CategoryRequest, ...) error
- func (h *CareerCategoryHandler) Delete(ctx context.Context, req *pb_career.CategoryRequest, rsp *empty.Empty) error
- func (h *CareerCategoryHandler) Get(ctx context.Context, req *pb_career.CategoryRequest, ...) error
- func (h *CareerCategoryHandler) Paginate(ctx context.Context, req *pb_career.CategoryPaginateRequest, ...) error
- func (h *CareerCategoryHandler) Update(ctx context.Context, req *pb_career.CategoryRequest, ...) error
- type CareerHandler
- func (h *CareerHandler) Create(ctx context.Context, req *pb_career.Request, rsp *pb_career.Response) error
- func (h *CareerHandler) Delete(ctx context.Context, req *pb_career.Request, rsp *empty.Empty) error
- func (h *CareerHandler) Get(ctx context.Context, req *pb_career.Request, rsp *pb_career.Response) error
- func (h *CareerHandler) Paginate(ctx context.Context, req *pb_career.PaginateRequest, ...) error
- func (h *CareerHandler) Update(ctx context.Context, req *pb_career.Request, rsp *pb_career.Response) error
- type CollectionHandler
- func (h *CollectionHandler) Create(ctx context.Context, req *pb_collection.Request, rsp *pb_collection.Response) error
- func (h *CollectionHandler) Delete(ctx context.Context, req *pb_collection.DeleteRequest, rsp *empty.Empty) error
- func (h *CollectionHandler) Get(ctx context.Context, req *pb_collection.GetRequest, ...) error
- func (h *CollectionHandler) Paginate(ctx context.Context, req *pb_collection.PaginateRequest, ...) error
- func (h *CollectionHandler) Update(ctx context.Context, req *pb_collection.Request, rsp *pb_collection.Response) error
- type FaqHandler
- func (h *FaqHandler) Create(ctx context.Context, req *pb_faq.Request, rsp *pb_faq.Response) error
- func (h *FaqHandler) Delete(ctx context.Context, req *pb_faq.DeleteRequest, rsp *empty.Empty) error
- func (h *FaqHandler) Get(ctx context.Context, req *pb_faq.GetRequest, rsp *pb_faq.Response) error
- func (h *FaqHandler) Paginate(ctx context.Context, req *pb_faq.PaginateRequest, rsp *pb_faq.PaginateResponse) error
- func (h *FaqHandler) Update(ctx context.Context, req *pb_faq.Request, rsp *pb_faq.Response) error
- type GalleryHandler
- func (h *GalleryHandler) BulkCreate(ctx context.Context, req *pb_gallery.BulkCreateRequest, ...) error
- func (h *GalleryHandler) Create(ctx context.Context, req *pb_gallery.Request, rsp *pb_gallery.Response) error
- func (h *GalleryHandler) Delete(ctx context.Context, req *pb_gallery.DeleteRequest, rsp *empty.Empty) error
- func (h *GalleryHandler) Get(ctx context.Context, req *pb_gallery.GetRequest, rsp *pb_gallery.Response) error
- func (h *GalleryHandler) Paginate(ctx context.Context, req *pb_gallery.PaginateRequest, ...) error
- func (h *GalleryHandler) Update(ctx context.Context, req *pb_gallery.Request, rsp *pb_gallery.Response) error
- type InfoHandler
- func (h *InfoHandler) Create(ctx context.Context, req *pb_info.Request, rsp *pb_info.Response) error
- func (h *InfoHandler) Delete(ctx context.Context, req *pb_info.DeleteRequest, rsp *empty.Empty) error
- func (h *InfoHandler) Get(ctx context.Context, req *pb_info.GetRequest, rsp *pb_info.Response) error
- func (h *InfoHandler) GetBy(ctx context.Context, req *pb_info.GetByRequest, rsp *pb_info.Response) error
- func (h *InfoHandler) Paginate(ctx context.Context, req *pb_info.PaginateRequest, ...) error
- func (h *InfoHandler) Update(ctx context.Context, req *pb_info.Request, rsp *pb_info.Response) error
- type NewsHandler
- func (h *NewsHandler) Create(ctx context.Context, req *pb_news.Request, rsp *pb_news.Response) error
- func (h *NewsHandler) Delete(ctx context.Context, req *pb_news.DeleteRequest, rsp *empty.Empty) error
- func (h *NewsHandler) Get(ctx context.Context, req *pb_news.GetRequest, rsp *pb_news.Response) error
- func (h *NewsHandler) Paginate(ctx context.Context, req *pb_news.PaginateRequest, ...) error
- func (h *NewsHandler) Update(ctx context.Context, req *pb_news.Request, rsp *pb_news.Response) error
- type PromotionHandler
- func (h *PromotionHandler) Create(ctx context.Context, req *pb_promotion.Request, rsp *pb_promotion.Response) error
- func (h *PromotionHandler) Delete(ctx context.Context, req *pb_promotion.DeleteRequest, rsp *empty.Empty) error
- func (h *PromotionHandler) Get(ctx context.Context, req *pb_promotion.GetRequest, rsp *pb_promotion.Response) error
- func (h *PromotionHandler) Paginate(ctx context.Context, req *pb_promotion.PaginateRequest, ...) error
- func (h *PromotionHandler) Update(ctx context.Context, req *pb_promotion.Request, rsp *pb_promotion.Response) error
- type SliderHandler
- func (h *SliderHandler) Create(ctx context.Context, req *pb_slider.Request, rsp *pb_slider.Response) error
- func (h *SliderHandler) Delete(ctx context.Context, req *pb_slider.DeleteRequest, rsp *empty.Empty) error
- func (h *SliderHandler) Get(ctx context.Context, req *pb_slider.GetRequest, rsp *pb_slider.Response) error
- func (h *SliderHandler) Paginate(ctx context.Context, req *pb_slider.PaginateRequest, ...) error
- func (h *SliderHandler) Update(ctx context.Context, req *pb_slider.Request, rsp *pb_slider.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionHandler ¶
type ActionHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewActionHandler ¶
func NewActionHandler( action service.ActionService, ) *ActionHandler
NewCityHandler ...
func (*ActionHandler) Create ¶
func (h *ActionHandler) Create(ctx context.Context, req *pb_action.Request, rsp *pb_action.Response) error
Create ...
func (*ActionHandler) Delete ¶
func (h *ActionHandler) Delete(ctx context.Context, req *pb_action.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*ActionHandler) Get ¶
func (h *ActionHandler) Get(ctx context.Context, req *pb_action.GetRequest, rsp *pb_action.Response) error
Get ...
func (*ActionHandler) Paginate ¶
func (h *ActionHandler) Paginate(ctx context.Context, req *pb_action.PaginateRequest, rsp *pb_action.PaginateResponse) error
Paginate ...
type BrandHandler ¶
type BrandHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewBrandHandler ¶
func NewBrandHandler( brand service.BrandService, ) *BrandHandler
NewCityHandler ...
func (*BrandHandler) Create ¶
func (h *BrandHandler) Create(ctx context.Context, req *pb_brand.Request, rsp *pb_brand.Response) error
Create ...
func (*BrandHandler) Delete ¶
func (h *BrandHandler) Delete(ctx context.Context, req *pb_brand.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*BrandHandler) Get ¶
func (h *BrandHandler) Get(ctx context.Context, req *pb_brand.GetRequest, rsp *pb_brand.Response) error
Get ...
func (*BrandHandler) Paginate ¶
func (h *BrandHandler) Paginate(ctx context.Context, req *pb_brand.PaginateRequest, rsp *pb_brand.PaginateResponse) error
Paginate ...
type CareerCategoryHandler ¶ added in v0.4.0
type CareerCategoryHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCareerCategoryHandler ¶ added in v0.4.0
func NewCareerCategoryHandler( careercategory service.CareerCategoryService, ) *CareerCategoryHandler
NewCityHandler ...
func (*CareerCategoryHandler) Create ¶ added in v0.4.0
func (h *CareerCategoryHandler) Create(ctx context.Context, req *pb_career.CategoryRequest, rsp *pb_career.CategoryResponse) error
Create ...
func (*CareerCategoryHandler) Delete ¶ added in v0.4.0
func (h *CareerCategoryHandler) Delete(ctx context.Context, req *pb_career.CategoryRequest, rsp *empty.Empty) error
Delete ...
func (*CareerCategoryHandler) Get ¶ added in v0.4.0
func (h *CareerCategoryHandler) Get(ctx context.Context, req *pb_career.CategoryRequest, rsp *pb_career.CategoryResponse) error
Get ...
func (*CareerCategoryHandler) Paginate ¶ added in v0.4.0
func (h *CareerCategoryHandler) Paginate(ctx context.Context, req *pb_career.CategoryPaginateRequest, rsp *pb_career.CategoryPaginateResponse) error
Paginate ...
func (*CareerCategoryHandler) Update ¶ added in v0.4.0
func (h *CareerCategoryHandler) Update(ctx context.Context, req *pb_career.CategoryRequest, rsp *pb_career.CategoryResponse) error
Update ...
type CareerHandler ¶ added in v0.4.0
type CareerHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCareerHandler ¶ added in v0.4.0
func NewCareerHandler( career service.CareerService, ) *CareerHandler
NewCityHandler ...
func (*CareerHandler) Create ¶ added in v0.4.0
func (h *CareerHandler) Create(ctx context.Context, req *pb_career.Request, rsp *pb_career.Response) error
Create ...
func (*CareerHandler) Get ¶ added in v0.4.0
func (h *CareerHandler) Get(ctx context.Context, req *pb_career.Request, rsp *pb_career.Response) error
Get ...
func (*CareerHandler) Paginate ¶ added in v0.4.0
func (h *CareerHandler) Paginate(ctx context.Context, req *pb_career.PaginateRequest, rsp *pb_career.PaginateResponse) error
Paginate ...
type CollectionHandler ¶
type CollectionHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCollectionHandler ¶
func NewCollectionHandler( collection service.CollectionService, ) *CollectionHandler
NewCityHandler ...
func (*CollectionHandler) Create ¶
func (h *CollectionHandler) Create(ctx context.Context, req *pb_collection.Request, rsp *pb_collection.Response) error
Create ...
func (*CollectionHandler) Delete ¶
func (h *CollectionHandler) Delete(ctx context.Context, req *pb_collection.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*CollectionHandler) Get ¶
func (h *CollectionHandler) Get(ctx context.Context, req *pb_collection.GetRequest, rsp *pb_collection.Response) error
Get ...
func (*CollectionHandler) Paginate ¶
func (h *CollectionHandler) Paginate(ctx context.Context, req *pb_collection.PaginateRequest, rsp *pb_collection.PaginateResponse) error
Paginate ...
func (*CollectionHandler) Update ¶
func (h *CollectionHandler) Update(ctx context.Context, req *pb_collection.Request, rsp *pb_collection.Response) error
Update ...
type FaqHandler ¶
type FaqHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func (*FaqHandler) Delete ¶
func (h *FaqHandler) Delete(ctx context.Context, req *pb_faq.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*FaqHandler) Get ¶
func (h *FaqHandler) Get(ctx context.Context, req *pb_faq.GetRequest, rsp *pb_faq.Response) error
Get ...
func (*FaqHandler) Paginate ¶
func (h *FaqHandler) Paginate(ctx context.Context, req *pb_faq.PaginateRequest, rsp *pb_faq.PaginateResponse) error
Paginate ...
type GalleryHandler ¶
type GalleryHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewGalleryHandler ¶
func NewGalleryHandler( gallery service.GalleryService, ) *GalleryHandler
NewCityHandler ...
func (*GalleryHandler) BulkCreate ¶ added in v0.3.0
func (h *GalleryHandler) BulkCreate(ctx context.Context, req *pb_gallery.BulkCreateRequest, rsp *pb_gallery.BulkCreateResponse) error
Create ...
func (*GalleryHandler) Create ¶
func (h *GalleryHandler) Create(ctx context.Context, req *pb_gallery.Request, rsp *pb_gallery.Response) error
Create ...
func (*GalleryHandler) Delete ¶
func (h *GalleryHandler) Delete(ctx context.Context, req *pb_gallery.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*GalleryHandler) Get ¶
func (h *GalleryHandler) Get(ctx context.Context, req *pb_gallery.GetRequest, rsp *pb_gallery.Response) error
Get ...
func (*GalleryHandler) Paginate ¶
func (h *GalleryHandler) Paginate(ctx context.Context, req *pb_gallery.PaginateRequest, rsp *pb_gallery.PaginateResponse) error
Paginate ...
func (*GalleryHandler) Update ¶
func (h *GalleryHandler) Update(ctx context.Context, req *pb_gallery.Request, rsp *pb_gallery.Response) error
Update ...
type InfoHandler ¶ added in v0.2.0
type InfoHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewInfoHandler ¶ added in v0.2.0
func NewInfoHandler( info service.InfoService, ) *InfoHandler
NewCityHandler ...
func (*InfoHandler) Create ¶ added in v0.2.0
func (h *InfoHandler) Create(ctx context.Context, req *pb_info.Request, rsp *pb_info.Response) error
Create ...
func (*InfoHandler) Delete ¶ added in v0.2.0
func (h *InfoHandler) Delete(ctx context.Context, req *pb_info.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*InfoHandler) Get ¶ added in v0.2.0
func (h *InfoHandler) Get(ctx context.Context, req *pb_info.GetRequest, rsp *pb_info.Response) error
Get ...
func (*InfoHandler) GetBy ¶ added in v0.2.0
func (h *InfoHandler) GetBy(ctx context.Context, req *pb_info.GetByRequest, rsp *pb_info.Response) error
Paginate ...
func (*InfoHandler) Paginate ¶ added in v0.2.0
func (h *InfoHandler) Paginate(ctx context.Context, req *pb_info.PaginateRequest, rsp *pb_info.PaginateResponse) error
Paginate ...
type NewsHandler ¶
type NewsHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewNewsHandler ¶
func NewNewsHandler( news service.NewsService, ) *NewsHandler
NewCityHandler ...
func (*NewsHandler) Create ¶
func (h *NewsHandler) Create(ctx context.Context, req *pb_news.Request, rsp *pb_news.Response) error
Create ...
func (*NewsHandler) Delete ¶
func (h *NewsHandler) Delete(ctx context.Context, req *pb_news.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*NewsHandler) Get ¶
func (h *NewsHandler) Get(ctx context.Context, req *pb_news.GetRequest, rsp *pb_news.Response) error
Get ...
func (*NewsHandler) Paginate ¶
func (h *NewsHandler) Paginate(ctx context.Context, req *pb_news.PaginateRequest, rsp *pb_news.PaginateResponse) error
Paginate ...
type PromotionHandler ¶
type PromotionHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewPromotionHandler ¶
func NewPromotionHandler( promotion service.PromotionService, ) *PromotionHandler
NewCityHandler ...
func (*PromotionHandler) Create ¶
func (h *PromotionHandler) Create(ctx context.Context, req *pb_promotion.Request, rsp *pb_promotion.Response) error
Create ...
func (*PromotionHandler) Delete ¶
func (h *PromotionHandler) Delete(ctx context.Context, req *pb_promotion.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*PromotionHandler) Get ¶
func (h *PromotionHandler) Get(ctx context.Context, req *pb_promotion.GetRequest, rsp *pb_promotion.Response) error
Get ...
func (*PromotionHandler) Paginate ¶
func (h *PromotionHandler) Paginate(ctx context.Context, req *pb_promotion.PaginateRequest, rsp *pb_promotion.PaginateResponse) error
Paginate ...
func (*PromotionHandler) Update ¶
func (h *PromotionHandler) Update(ctx context.Context, req *pb_promotion.Request, rsp *pb_promotion.Response) error
Update ...
type SliderHandler ¶
type SliderHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewSliderHandler ¶
func NewSliderHandler( slider service.SliderService, ) *SliderHandler
NewCityHandler ...
func (*SliderHandler) Create ¶
func (h *SliderHandler) Create(ctx context.Context, req *pb_slider.Request, rsp *pb_slider.Response) error
Create ...
func (*SliderHandler) Delete ¶
func (h *SliderHandler) Delete(ctx context.Context, req *pb_slider.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*SliderHandler) Get ¶
func (h *SliderHandler) Get(ctx context.Context, req *pb_slider.GetRequest, rsp *pb_slider.Response) error
Get ...
func (*SliderHandler) Paginate ¶
func (h *SliderHandler) Paginate(ctx context.Context, req *pb_slider.PaginateRequest, rsp *pb_slider.PaginateResponse) error
Paginate ...