grab_handler

package
v1.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheProductHandler

type CacheProductHandler struct {
	// contains filtered or unexported fields
}

func NewCacheProductHandler

func NewCacheProductHandler(repo *mongorepo.ProductRepo) *CacheProductHandler

func (*CacheProductHandler) AddProductItem added in v1.1.5

func (h *CacheProductHandler) AddProductItem(
	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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL