Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCacheProduct ¶ added in v1.1.15
func CreateCacheProduct( namespace string, layout *model_public.PdpGetlayoutQueryResp, pdp *model_public.PdpGetDataP2Resp, ) (mongorepo.CacheProduct, error)
Types ¶
type CacheProductHandler ¶
type CacheProductHandler struct {
// contains filtered or unexported fields
}
func NewCacheProductHandler ¶
func NewCacheProductHandler(repo *mongorepo.ProductRepo) *CacheProductHandler
func (*CacheProductHandler) AddItem ¶ added in v1.1.15
func (handler *CacheProductHandler) AddItem( namespace string, layout *model_public.PdpGetlayoutQueryResp, pdpDataP2 *model_public.PdpGetDataP2Resp, ) error
type ProductParser ¶
type ProductParser struct { ShopId int ProductId int CatId int ProductSold int Stock int ProductContent model_public.ProductContentComponent ProductDetail model_public.ProductDetailComponent ProductMedia model_public.MediaComponent ProductDesc model_public.ProductDetailContent Images []string Category []int64 Categories []mongorepo.ProductCategory }
Click to show internal directories.
Click to hide internal directories.