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 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) 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 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 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) 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 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 ...
Click to show internal directories.
Click to hide internal directories.