Documentation ¶
Index ¶
- Variables
- type MallDelProductRequest
- func (p *MallDelProductRequest) BLength() int
- func (p *MallDelProductRequest) DeepEqual(ano *MallDelProductRequest) bool
- func (p *MallDelProductRequest) FastRead(buf []byte) (int, error)
- func (p *MallDelProductRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallDelProductRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallDelProductRequest) FastWrite(buf []byte) int
- func (p *MallDelProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallDelProductRequest) Field1DeepEqual(src int64) bool
- func (p *MallDelProductRequest) Field2DeepEqual(src int64) bool
- func (p *MallDelProductRequest) GetMerchantId() (v int64)
- func (p *MallDelProductRequest) GetProductId() (v int64)
- func (p *MallDelProductRequest) InitDefault()
- func (p *MallDelProductRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallDelProductRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallDelProductRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallDelProductRequest) SetMerchantId(val int64)
- func (p *MallDelProductRequest) SetProductId(val int64)
- func (p *MallDelProductRequest) String() string
- func (p *MallDelProductRequest) Write(oprot thrift.TProtocol) (err error)
- type MallDelProductResponse
- func (p *MallDelProductResponse) BLength() int
- func (p *MallDelProductResponse) DeepEqual(ano *MallDelProductResponse) bool
- func (p *MallDelProductResponse) FastRead(buf []byte) (int, error)
- func (p *MallDelProductResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallDelProductResponse) FastWrite(buf []byte) int
- func (p *MallDelProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallDelProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallDelProductResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallDelProductResponse) InitDefault()
- func (p *MallDelProductResponse) IsSetCommonResp() bool
- func (p *MallDelProductResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallDelProductResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallDelProductResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallDelProductResponse) String() string
- func (p *MallDelProductResponse) Write(oprot thrift.TProtocol) (err error)
- type MallProductDetailRequest
- func (p *MallProductDetailRequest) BLength() int
- func (p *MallProductDetailRequest) DeepEqual(ano *MallProductDetailRequest) bool
- func (p *MallProductDetailRequest) FastRead(buf []byte) (int, error)
- func (p *MallProductDetailRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallProductDetailRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallProductDetailRequest) FastWrite(buf []byte) int
- func (p *MallProductDetailRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductDetailRequest) Field1DeepEqual(src int64) bool
- func (p *MallProductDetailRequest) Field2DeepEqual(src int64) bool
- func (p *MallProductDetailRequest) GetProductId() (v int64)
- func (p *MallProductDetailRequest) GetUserId() (v int64)
- func (p *MallProductDetailRequest) InitDefault()
- func (p *MallProductDetailRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductDetailRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductDetailRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductDetailRequest) SetProductId(val int64)
- func (p *MallProductDetailRequest) SetUserId(val int64)
- func (p *MallProductDetailRequest) String() string
- func (p *MallProductDetailRequest) Write(oprot thrift.TProtocol) (err error)
- type MallProductDetailResponse
- func (p *MallProductDetailResponse) BLength() int
- func (p *MallProductDetailResponse) DeepEqual(ano *MallProductDetailResponse) bool
- func (p *MallProductDetailResponse) FastRead(buf []byte) (int, error)
- func (p *MallProductDetailResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallProductDetailResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallProductDetailResponse) FastWrite(buf []byte) int
- func (p *MallProductDetailResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductDetailResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallProductDetailResponse) Field2DeepEqual(src *common.ProductDetail) bool
- func (p *MallProductDetailResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallProductDetailResponse) GetProduct() (v *common.ProductDetail)
- func (p *MallProductDetailResponse) InitDefault()
- func (p *MallProductDetailResponse) IsSetCommonResp() bool
- func (p *MallProductDetailResponse) IsSetProduct() bool
- func (p *MallProductDetailResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductDetailResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductDetailResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductDetailResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallProductDetailResponse) SetProduct(val *common.ProductDetail)
- func (p *MallProductDetailResponse) String() string
- func (p *MallProductDetailResponse) Write(oprot thrift.TProtocol) (err error)
- type MallProductFavoriteListRequest
- func (p *MallProductFavoriteListRequest) BLength() int
- func (p *MallProductFavoriteListRequest) DeepEqual(ano *MallProductFavoriteListRequest) bool
- func (p *MallProductFavoriteListRequest) FastRead(buf []byte) (int, error)
- func (p *MallProductFavoriteListRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallProductFavoriteListRequest) FastWrite(buf []byte) int
- func (p *MallProductFavoriteListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductFavoriteListRequest) Field1DeepEqual(src int64) bool
- func (p *MallProductFavoriteListRequest) GetUserId() (v int64)
- func (p *MallProductFavoriteListRequest) InitDefault()
- func (p *MallProductFavoriteListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductFavoriteListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductFavoriteListRequest) SetUserId(val int64)
- func (p *MallProductFavoriteListRequest) String() string
- func (p *MallProductFavoriteListRequest) Write(oprot thrift.TProtocol) (err error)
- type MallProductFavoriteListResponse
- func (p *MallProductFavoriteListResponse) BLength() int
- func (p *MallProductFavoriteListResponse) DeepEqual(ano *MallProductFavoriteListResponse) bool
- func (p *MallProductFavoriteListResponse) FastRead(buf []byte) (int, error)
- func (p *MallProductFavoriteListResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallProductFavoriteListResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallProductFavoriteListResponse) FastWrite(buf []byte) int
- func (p *MallProductFavoriteListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductFavoriteListResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallProductFavoriteListResponse) Field2DeepEqual(src []*common.Product) bool
- func (p *MallProductFavoriteListResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallProductFavoriteListResponse) GetProducts() (v []*common.Product)
- func (p *MallProductFavoriteListResponse) InitDefault()
- func (p *MallProductFavoriteListResponse) IsSetCommonResp() bool
- func (p *MallProductFavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductFavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductFavoriteListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductFavoriteListResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallProductFavoriteListResponse) SetProducts(val []*common.Product)
- func (p *MallProductFavoriteListResponse) String() string
- func (p *MallProductFavoriteListResponse) Write(oprot thrift.TProtocol) (err error)
- type MallProductListRequest
- func (p *MallProductListRequest) BLength() int
- func (p *MallProductListRequest) DeepEqual(ano *MallProductListRequest) bool
- func (p *MallProductListRequest) FastRead(buf []byte) (int, error)
- func (p *MallProductListRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallProductListRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallProductListRequest) FastReadField3(buf []byte) (int, error)
- func (p *MallProductListRequest) FastWrite(buf []byte) int
- func (p *MallProductListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductListRequest) Field1DeepEqual(src int8) bool
- func (p *MallProductListRequest) Field2DeepEqual(src int8) bool
- func (p *MallProductListRequest) Field3DeepEqual(src string) bool
- func (p *MallProductListRequest) GetPage() (v int8)
- func (p *MallProductListRequest) GetPageSize() (v int8)
- func (p *MallProductListRequest) GetSort() (v string)
- func (p *MallProductListRequest) InitDefault()
- func (p *MallProductListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductListRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *MallProductListRequest) SetPage(val int8)
- func (p *MallProductListRequest) SetPageSize(val int8)
- func (p *MallProductListRequest) SetSort(val string)
- func (p *MallProductListRequest) String() string
- func (p *MallProductListRequest) Write(oprot thrift.TProtocol) (err error)
- type MallProductListResponse
- func (p *MallProductListResponse) BLength() int
- func (p *MallProductListResponse) DeepEqual(ano *MallProductListResponse) bool
- func (p *MallProductListResponse) FastRead(buf []byte) (int, error)
- func (p *MallProductListResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallProductListResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallProductListResponse) FastReadField3(buf []byte) (int, error)
- func (p *MallProductListResponse) FastWrite(buf []byte) int
- func (p *MallProductListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductListResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallProductListResponse) Field2DeepEqual(src int64) bool
- func (p *MallProductListResponse) Field3DeepEqual(src []*common.Product) bool
- func (p *MallProductListResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallProductListResponse) GetProducts() (v []*common.Product)
- func (p *MallProductListResponse) GetTotalNum() (v int64)
- func (p *MallProductListResponse) InitDefault()
- func (p *MallProductListResponse) IsSetCommonResp() bool
- func (p *MallProductListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *MallProductListResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallProductListResponse) SetProducts(val []*common.Product)
- func (p *MallProductListResponse) SetTotalNum(val int64)
- func (p *MallProductListResponse) String() string
- func (p *MallProductListResponse) Write(oprot thrift.TProtocol) (err error)
- type MallProductPublishedListRequest
- func (p *MallProductPublishedListRequest) BLength() int
- func (p *MallProductPublishedListRequest) DeepEqual(ano *MallProductPublishedListRequest) bool
- func (p *MallProductPublishedListRequest) FastRead(buf []byte) (int, error)
- func (p *MallProductPublishedListRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallProductPublishedListRequest) FastWrite(buf []byte) int
- func (p *MallProductPublishedListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductPublishedListRequest) Field1DeepEqual(src int64) bool
- func (p *MallProductPublishedListRequest) GetMerchantId() (v int64)
- func (p *MallProductPublishedListRequest) InitDefault()
- func (p *MallProductPublishedListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductPublishedListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductPublishedListRequest) SetMerchantId(val int64)
- func (p *MallProductPublishedListRequest) String() string
- func (p *MallProductPublishedListRequest) Write(oprot thrift.TProtocol) (err error)
- type MallProductPublishedListResponse
- func (p *MallProductPublishedListResponse) BLength() int
- func (p *MallProductPublishedListResponse) DeepEqual(ano *MallProductPublishedListResponse) bool
- func (p *MallProductPublishedListResponse) FastRead(buf []byte) (int, error)
- func (p *MallProductPublishedListResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallProductPublishedListResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallProductPublishedListResponse) FastWrite(buf []byte) int
- func (p *MallProductPublishedListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallProductPublishedListResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallProductPublishedListResponse) Field2DeepEqual(src []*common.Product) bool
- func (p *MallProductPublishedListResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallProductPublishedListResponse) GetProducts() (v []*common.Product)
- func (p *MallProductPublishedListResponse) InitDefault()
- func (p *MallProductPublishedListResponse) IsSetCommonResp() bool
- func (p *MallProductPublishedListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallProductPublishedListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallProductPublishedListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallProductPublishedListResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallProductPublishedListResponse) SetProducts(val []*common.Product)
- func (p *MallProductPublishedListResponse) String() string
- func (p *MallProductPublishedListResponse) Write(oprot thrift.TProtocol) (err error)
- type MallPublishProductRequest
- func (p *MallPublishProductRequest) BLength() int
- func (p *MallPublishProductRequest) DeepEqual(ano *MallPublishProductRequest) bool
- func (p *MallPublishProductRequest) FastRead(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField3(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField4(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField5(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastReadField6(buf []byte) (int, error)
- func (p *MallPublishProductRequest) FastWrite(buf []byte) int
- func (p *MallPublishProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallPublishProductRequest) Field1DeepEqual(src int64) bool
- func (p *MallPublishProductRequest) Field2DeepEqual(src string) bool
- func (p *MallPublishProductRequest) Field3DeepEqual(src string) bool
- func (p *MallPublishProductRequest) Field4DeepEqual(src int64) bool
- func (p *MallPublishProductRequest) Field5DeepEqual(src []*common.Image) bool
- func (p *MallPublishProductRequest) Field6DeepEqual(src int64) bool
- func (p *MallPublishProductRequest) GetDescription() (v string)
- func (p *MallPublishProductRequest) GetImages() (v []*common.Image)
- func (p *MallPublishProductRequest) GetMerchantId() (v int64)
- func (p *MallPublishProductRequest) GetName() (v string)
- func (p *MallPublishProductRequest) GetPrice() (v int64)
- func (p *MallPublishProductRequest) GetStock() (v int64)
- func (p *MallPublishProductRequest) InitDefault()
- func (p *MallPublishProductRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallPublishProductRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) ReadField6(iprot thrift.TProtocol) error
- func (p *MallPublishProductRequest) SetDescription(val string)
- func (p *MallPublishProductRequest) SetImages(val []*common.Image)
- func (p *MallPublishProductRequest) SetMerchantId(val int64)
- func (p *MallPublishProductRequest) SetName(val string)
- func (p *MallPublishProductRequest) SetPrice(val int64)
- func (p *MallPublishProductRequest) SetStock(val int64)
- func (p *MallPublishProductRequest) String() string
- func (p *MallPublishProductRequest) Write(oprot thrift.TProtocol) (err error)
- type MallPublishProductResponse
- func (p *MallPublishProductResponse) BLength() int
- func (p *MallPublishProductResponse) DeepEqual(ano *MallPublishProductResponse) bool
- func (p *MallPublishProductResponse) FastRead(buf []byte) (int, error)
- func (p *MallPublishProductResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallPublishProductResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallPublishProductResponse) FastWrite(buf []byte) int
- func (p *MallPublishProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallPublishProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallPublishProductResponse) Field2DeepEqual(src int64) bool
- func (p *MallPublishProductResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallPublishProductResponse) GetProductId() (v int64)
- func (p *MallPublishProductResponse) InitDefault()
- func (p *MallPublishProductResponse) IsSetCommonResp() bool
- func (p *MallPublishProductResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallPublishProductResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallPublishProductResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallPublishProductResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallPublishProductResponse) SetProductId(val int64)
- func (p *MallPublishProductResponse) String() string
- func (p *MallPublishProductResponse) Write(oprot thrift.TProtocol) (err error)
- type MallSearchProductRequest
- func (p *MallSearchProductRequest) BLength() int
- func (p *MallSearchProductRequest) DeepEqual(ano *MallSearchProductRequest) bool
- func (p *MallSearchProductRequest) FastRead(buf []byte) (int, error)
- func (p *MallSearchProductRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallSearchProductRequest) FastWrite(buf []byte) int
- func (p *MallSearchProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallSearchProductRequest) Field1DeepEqual(src string) bool
- func (p *MallSearchProductRequest) GetKey() (v string)
- func (p *MallSearchProductRequest) InitDefault()
- func (p *MallSearchProductRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallSearchProductRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallSearchProductRequest) SetKey(val string)
- func (p *MallSearchProductRequest) String() string
- func (p *MallSearchProductRequest) Write(oprot thrift.TProtocol) (err error)
- type MallSearchProductResponse
- func (p *MallSearchProductResponse) BLength() int
- func (p *MallSearchProductResponse) DeepEqual(ano *MallSearchProductResponse) bool
- func (p *MallSearchProductResponse) FastRead(buf []byte) (int, error)
- func (p *MallSearchProductResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallSearchProductResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallSearchProductResponse) FastWrite(buf []byte) int
- func (p *MallSearchProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallSearchProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallSearchProductResponse) Field2DeepEqual(src []*common.Product) bool
- func (p *MallSearchProductResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallSearchProductResponse) GetProducts() (v []*common.Product)
- func (p *MallSearchProductResponse) InitDefault()
- func (p *MallSearchProductResponse) IsSetCommonResp() bool
- func (p *MallSearchProductResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallSearchProductResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallSearchProductResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallSearchProductResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallSearchProductResponse) SetProducts(val []*common.Product)
- func (p *MallSearchProductResponse) String() string
- func (p *MallSearchProductResponse) Write(oprot thrift.TProtocol) (err error)
- type MallUpdateProductRequest
- func (p *MallUpdateProductRequest) BLength() int
- func (p *MallUpdateProductRequest) DeepEqual(ano *MallUpdateProductRequest) bool
- func (p *MallUpdateProductRequest) FastRead(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastReadField3(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastReadField4(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastReadField5(buf []byte) (int, error)
- func (p *MallUpdateProductRequest) FastWrite(buf []byte) int
- func (p *MallUpdateProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallUpdateProductRequest) Field1DeepEqual(src int64) bool
- func (p *MallUpdateProductRequest) Field2DeepEqual(src string) bool
- func (p *MallUpdateProductRequest) Field3DeepEqual(src string) bool
- func (p *MallUpdateProductRequest) Field4DeepEqual(src int64) bool
- func (p *MallUpdateProductRequest) Field5DeepEqual(src int64) bool
- func (p *MallUpdateProductRequest) GetDescription() (v string)
- func (p *MallUpdateProductRequest) GetName() (v string)
- func (p *MallUpdateProductRequest) GetPrice() (v int64)
- func (p *MallUpdateProductRequest) GetProductId() (v int64)
- func (p *MallUpdateProductRequest) GetStock() (v int64)
- func (p *MallUpdateProductRequest) InitDefault()
- func (p *MallUpdateProductRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallUpdateProductRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallUpdateProductRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallUpdateProductRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *MallUpdateProductRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *MallUpdateProductRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *MallUpdateProductRequest) SetDescription(val string)
- func (p *MallUpdateProductRequest) SetName(val string)
- func (p *MallUpdateProductRequest) SetPrice(val int64)
- func (p *MallUpdateProductRequest) SetProductId(val int64)
- func (p *MallUpdateProductRequest) SetStock(val int64)
- func (p *MallUpdateProductRequest) String() string
- func (p *MallUpdateProductRequest) Write(oprot thrift.TProtocol) (err error)
- type MallUpdateProductResponse
- func (p *MallUpdateProductResponse) BLength() int
- func (p *MallUpdateProductResponse) DeepEqual(ano *MallUpdateProductResponse) bool
- func (p *MallUpdateProductResponse) FastRead(buf []byte) (int, error)
- func (p *MallUpdateProductResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallUpdateProductResponse) FastWrite(buf []byte) int
- func (p *MallUpdateProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallUpdateProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallUpdateProductResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallUpdateProductResponse) InitDefault()
- func (p *MallUpdateProductResponse) IsSetCommonResp() bool
- func (p *MallUpdateProductResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallUpdateProductResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallUpdateProductResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallUpdateProductResponse) String() string
- func (p *MallUpdateProductResponse) Write(oprot thrift.TProtocol) (err error)
- type MallUpdateStockRequest
- func (p *MallUpdateStockRequest) BLength() int
- func (p *MallUpdateStockRequest) DeepEqual(ano *MallUpdateStockRequest) bool
- func (p *MallUpdateStockRequest) FastRead(buf []byte) (int, error)
- func (p *MallUpdateStockRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallUpdateStockRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallUpdateStockRequest) FastWrite(buf []byte) int
- func (p *MallUpdateStockRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallUpdateStockRequest) Field1DeepEqual(src int64) bool
- func (p *MallUpdateStockRequest) Field2DeepEqual(src int64) bool
- func (p *MallUpdateStockRequest) GetProductId() (v int64)
- func (p *MallUpdateStockRequest) GetStock() (v int64)
- func (p *MallUpdateStockRequest) InitDefault()
- func (p *MallUpdateStockRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallUpdateStockRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallUpdateStockRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallUpdateStockRequest) SetProductId(val int64)
- func (p *MallUpdateStockRequest) SetStock(val int64)
- func (p *MallUpdateStockRequest) String() string
- func (p *MallUpdateStockRequest) Write(oprot thrift.TProtocol) (err error)
- type MallUpdateStockResponse
- func (p *MallUpdateStockResponse) BLength() int
- func (p *MallUpdateStockResponse) DeepEqual(ano *MallUpdateStockResponse) bool
- func (p *MallUpdateStockResponse) FastRead(buf []byte) (int, error)
- func (p *MallUpdateStockResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallUpdateStockResponse) FastWrite(buf []byte) int
- func (p *MallUpdateStockResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallUpdateStockResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallUpdateStockResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallUpdateStockResponse) InitDefault()
- func (p *MallUpdateStockResponse) IsSetCommonResp() bool
- func (p *MallUpdateStockResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallUpdateStockResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallUpdateStockResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallUpdateStockResponse) String() string
- func (p *MallUpdateStockResponse) Write(oprot thrift.TProtocol) (err error)
- type ProductService
- type ProductServiceClient
- func NewProductServiceClient(c thrift.TClient) *ProductServiceClient
- func NewProductServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ProductServiceClient
- func NewProductServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ProductServiceClient
- func (p *ProductServiceClient) Client_() thrift.TClient
- func (p *ProductServiceClient) DelProduct(ctx context.Context, req *MallDelProductRequest) (r *MallDelProductResponse, err error)
- func (p *ProductServiceClient) ProductDetail(ctx context.Context, req *MallProductDetailRequest) (r *MallProductDetailResponse, err error)
- func (p *ProductServiceClient) ProductFavoriteList(ctx context.Context, req *MallProductFavoriteListRequest) (r *MallProductFavoriteListResponse, err error)
- func (p *ProductServiceClient) ProductList(ctx context.Context, req *MallProductListRequest) (r *MallProductListResponse, err error)
- func (p *ProductServiceClient) PublishProduct(ctx context.Context, req *MallPublishProductRequest) (r *MallPublishProductResponse, err error)
- func (p *ProductServiceClient) PublishedProducts(ctx context.Context, req *MallProductPublishedListRequest) (r *MallProductPublishedListResponse, err error)
- func (p *ProductServiceClient) SearchProduct(ctx context.Context, req *MallSearchProductRequest) (r *MallSearchProductResponse, err error)
- func (p *ProductServiceClient) UpdateProduct(ctx context.Context, req *MallUpdateProductRequest) (r *MallUpdateProductResponse, err error)
- func (p *ProductServiceClient) UpdateStock(ctx context.Context, req *MallUpdateStockRequest) (r *MallUpdateStockResponse, err error)
- type ProductServiceDelProductArgs
- func (p *ProductServiceDelProductArgs) BLength() int
- func (p *ProductServiceDelProductArgs) DeepEqual(ano *ProductServiceDelProductArgs) bool
- func (p *ProductServiceDelProductArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceDelProductArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceDelProductArgs) FastWrite(buf []byte) int
- func (p *ProductServiceDelProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceDelProductArgs) Field1DeepEqual(src *MallDelProductRequest) bool
- func (p *ProductServiceDelProductArgs) GetFirstArgument() interface{}
- func (p *ProductServiceDelProductArgs) GetReq() (v *MallDelProductRequest)
- func (p *ProductServiceDelProductArgs) InitDefault()
- func (p *ProductServiceDelProductArgs) IsSetReq() bool
- func (p *ProductServiceDelProductArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceDelProductArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceDelProductArgs) SetReq(val *MallDelProductRequest)
- func (p *ProductServiceDelProductArgs) String() string
- func (p *ProductServiceDelProductArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceDelProductResult
- func (p *ProductServiceDelProductResult) BLength() int
- func (p *ProductServiceDelProductResult) DeepEqual(ano *ProductServiceDelProductResult) bool
- func (p *ProductServiceDelProductResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceDelProductResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceDelProductResult) FastWrite(buf []byte) int
- func (p *ProductServiceDelProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceDelProductResult) Field0DeepEqual(src *MallDelProductResponse) bool
- func (p *ProductServiceDelProductResult) GetResult() interface{}
- func (p *ProductServiceDelProductResult) GetSuccess() (v *MallDelProductResponse)
- func (p *ProductServiceDelProductResult) InitDefault()
- func (p *ProductServiceDelProductResult) IsSetSuccess() bool
- func (p *ProductServiceDelProductResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceDelProductResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceDelProductResult) SetSuccess(x interface{})
- func (p *ProductServiceDelProductResult) String() string
- func (p *ProductServiceDelProductResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProcessor
- func (p *ProductServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ProductServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ProductServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ProductServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ProductServiceProductDetailArgs
- func (p *ProductServiceProductDetailArgs) BLength() int
- func (p *ProductServiceProductDetailArgs) DeepEqual(ano *ProductServiceProductDetailArgs) bool
- func (p *ProductServiceProductDetailArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductDetailArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceProductDetailArgs) FastWrite(buf []byte) int
- func (p *ProductServiceProductDetailArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductDetailArgs) Field1DeepEqual(src *MallProductDetailRequest) bool
- func (p *ProductServiceProductDetailArgs) GetFirstArgument() interface{}
- func (p *ProductServiceProductDetailArgs) GetReq() (v *MallProductDetailRequest)
- func (p *ProductServiceProductDetailArgs) InitDefault()
- func (p *ProductServiceProductDetailArgs) IsSetReq() bool
- func (p *ProductServiceProductDetailArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductDetailArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceProductDetailArgs) SetReq(val *MallProductDetailRequest)
- func (p *ProductServiceProductDetailArgs) String() string
- func (p *ProductServiceProductDetailArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProductDetailResult
- func (p *ProductServiceProductDetailResult) BLength() int
- func (p *ProductServiceProductDetailResult) DeepEqual(ano *ProductServiceProductDetailResult) bool
- func (p *ProductServiceProductDetailResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductDetailResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceProductDetailResult) FastWrite(buf []byte) int
- func (p *ProductServiceProductDetailResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductDetailResult) Field0DeepEqual(src *MallProductDetailResponse) bool
- func (p *ProductServiceProductDetailResult) GetResult() interface{}
- func (p *ProductServiceProductDetailResult) GetSuccess() (v *MallProductDetailResponse)
- func (p *ProductServiceProductDetailResult) InitDefault()
- func (p *ProductServiceProductDetailResult) IsSetSuccess() bool
- func (p *ProductServiceProductDetailResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductDetailResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceProductDetailResult) SetSuccess(x interface{})
- func (p *ProductServiceProductDetailResult) String() string
- func (p *ProductServiceProductDetailResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProductFavoriteListArgs
- func (p *ProductServiceProductFavoriteListArgs) BLength() int
- func (p *ProductServiceProductFavoriteListArgs) DeepEqual(ano *ProductServiceProductFavoriteListArgs) bool
- func (p *ProductServiceProductFavoriteListArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductFavoriteListArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceProductFavoriteListArgs) FastWrite(buf []byte) int
- func (p *ProductServiceProductFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductFavoriteListArgs) Field1DeepEqual(src *MallProductFavoriteListRequest) bool
- func (p *ProductServiceProductFavoriteListArgs) GetFirstArgument() interface{}
- func (p *ProductServiceProductFavoriteListArgs) GetReq() (v *MallProductFavoriteListRequest)
- func (p *ProductServiceProductFavoriteListArgs) InitDefault()
- func (p *ProductServiceProductFavoriteListArgs) IsSetReq() bool
- func (p *ProductServiceProductFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceProductFavoriteListArgs) SetReq(val *MallProductFavoriteListRequest)
- func (p *ProductServiceProductFavoriteListArgs) String() string
- func (p *ProductServiceProductFavoriteListArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProductFavoriteListResult
- func (p *ProductServiceProductFavoriteListResult) BLength() int
- func (p *ProductServiceProductFavoriteListResult) DeepEqual(ano *ProductServiceProductFavoriteListResult) bool
- func (p *ProductServiceProductFavoriteListResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductFavoriteListResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceProductFavoriteListResult) FastWrite(buf []byte) int
- func (p *ProductServiceProductFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductFavoriteListResult) Field0DeepEqual(src *MallProductFavoriteListResponse) bool
- func (p *ProductServiceProductFavoriteListResult) GetResult() interface{}
- func (p *ProductServiceProductFavoriteListResult) GetSuccess() (v *MallProductFavoriteListResponse)
- func (p *ProductServiceProductFavoriteListResult) InitDefault()
- func (p *ProductServiceProductFavoriteListResult) IsSetSuccess() bool
- func (p *ProductServiceProductFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceProductFavoriteListResult) SetSuccess(x interface{})
- func (p *ProductServiceProductFavoriteListResult) String() string
- func (p *ProductServiceProductFavoriteListResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProductListArgs
- func (p *ProductServiceProductListArgs) BLength() int
- func (p *ProductServiceProductListArgs) DeepEqual(ano *ProductServiceProductListArgs) bool
- func (p *ProductServiceProductListArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductListArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceProductListArgs) FastWrite(buf []byte) int
- func (p *ProductServiceProductListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductListArgs) Field1DeepEqual(src *MallProductListRequest) bool
- func (p *ProductServiceProductListArgs) GetFirstArgument() interface{}
- func (p *ProductServiceProductListArgs) GetReq() (v *MallProductListRequest)
- func (p *ProductServiceProductListArgs) InitDefault()
- func (p *ProductServiceProductListArgs) IsSetReq() bool
- func (p *ProductServiceProductListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceProductListArgs) SetReq(val *MallProductListRequest)
- func (p *ProductServiceProductListArgs) String() string
- func (p *ProductServiceProductListArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceProductListResult
- func (p *ProductServiceProductListResult) BLength() int
- func (p *ProductServiceProductListResult) DeepEqual(ano *ProductServiceProductListResult) bool
- func (p *ProductServiceProductListResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceProductListResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceProductListResult) FastWrite(buf []byte) int
- func (p *ProductServiceProductListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceProductListResult) Field0DeepEqual(src *MallProductListResponse) bool
- func (p *ProductServiceProductListResult) GetResult() interface{}
- func (p *ProductServiceProductListResult) GetSuccess() (v *MallProductListResponse)
- func (p *ProductServiceProductListResult) InitDefault()
- func (p *ProductServiceProductListResult) IsSetSuccess() bool
- func (p *ProductServiceProductListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceProductListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceProductListResult) SetSuccess(x interface{})
- func (p *ProductServiceProductListResult) String() string
- func (p *ProductServiceProductListResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServicePublishProductArgs
- func (p *ProductServicePublishProductArgs) BLength() int
- func (p *ProductServicePublishProductArgs) DeepEqual(ano *ProductServicePublishProductArgs) bool
- func (p *ProductServicePublishProductArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServicePublishProductArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServicePublishProductArgs) FastWrite(buf []byte) int
- func (p *ProductServicePublishProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServicePublishProductArgs) Field1DeepEqual(src *MallPublishProductRequest) bool
- func (p *ProductServicePublishProductArgs) GetFirstArgument() interface{}
- func (p *ProductServicePublishProductArgs) GetReq() (v *MallPublishProductRequest)
- func (p *ProductServicePublishProductArgs) InitDefault()
- func (p *ProductServicePublishProductArgs) IsSetReq() bool
- func (p *ProductServicePublishProductArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServicePublishProductArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServicePublishProductArgs) SetReq(val *MallPublishProductRequest)
- func (p *ProductServicePublishProductArgs) String() string
- func (p *ProductServicePublishProductArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServicePublishProductResult
- func (p *ProductServicePublishProductResult) BLength() int
- func (p *ProductServicePublishProductResult) DeepEqual(ano *ProductServicePublishProductResult) bool
- func (p *ProductServicePublishProductResult) FastRead(buf []byte) (int, error)
- func (p *ProductServicePublishProductResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServicePublishProductResult) FastWrite(buf []byte) int
- func (p *ProductServicePublishProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServicePublishProductResult) Field0DeepEqual(src *MallPublishProductResponse) bool
- func (p *ProductServicePublishProductResult) GetResult() interface{}
- func (p *ProductServicePublishProductResult) GetSuccess() (v *MallPublishProductResponse)
- func (p *ProductServicePublishProductResult) InitDefault()
- func (p *ProductServicePublishProductResult) IsSetSuccess() bool
- func (p *ProductServicePublishProductResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServicePublishProductResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServicePublishProductResult) SetSuccess(x interface{})
- func (p *ProductServicePublishProductResult) String() string
- func (p *ProductServicePublishProductResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServicePublishedProductsArgs
- func (p *ProductServicePublishedProductsArgs) BLength() int
- func (p *ProductServicePublishedProductsArgs) DeepEqual(ano *ProductServicePublishedProductsArgs) bool
- func (p *ProductServicePublishedProductsArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServicePublishedProductsArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServicePublishedProductsArgs) FastWrite(buf []byte) int
- func (p *ProductServicePublishedProductsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServicePublishedProductsArgs) Field1DeepEqual(src *MallProductPublishedListRequest) bool
- func (p *ProductServicePublishedProductsArgs) GetFirstArgument() interface{}
- func (p *ProductServicePublishedProductsArgs) GetReq() (v *MallProductPublishedListRequest)
- func (p *ProductServicePublishedProductsArgs) InitDefault()
- func (p *ProductServicePublishedProductsArgs) IsSetReq() bool
- func (p *ProductServicePublishedProductsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServicePublishedProductsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServicePublishedProductsArgs) SetReq(val *MallProductPublishedListRequest)
- func (p *ProductServicePublishedProductsArgs) String() string
- func (p *ProductServicePublishedProductsArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServicePublishedProductsResult
- func (p *ProductServicePublishedProductsResult) BLength() int
- func (p *ProductServicePublishedProductsResult) DeepEqual(ano *ProductServicePublishedProductsResult) bool
- func (p *ProductServicePublishedProductsResult) FastRead(buf []byte) (int, error)
- func (p *ProductServicePublishedProductsResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServicePublishedProductsResult) FastWrite(buf []byte) int
- func (p *ProductServicePublishedProductsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServicePublishedProductsResult) Field0DeepEqual(src *MallProductPublishedListResponse) bool
- func (p *ProductServicePublishedProductsResult) GetResult() interface{}
- func (p *ProductServicePublishedProductsResult) GetSuccess() (v *MallProductPublishedListResponse)
- func (p *ProductServicePublishedProductsResult) InitDefault()
- func (p *ProductServicePublishedProductsResult) IsSetSuccess() bool
- func (p *ProductServicePublishedProductsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServicePublishedProductsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServicePublishedProductsResult) SetSuccess(x interface{})
- func (p *ProductServicePublishedProductsResult) String() string
- func (p *ProductServicePublishedProductsResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceSearchProductArgs
- func (p *ProductServiceSearchProductArgs) BLength() int
- func (p *ProductServiceSearchProductArgs) DeepEqual(ano *ProductServiceSearchProductArgs) bool
- func (p *ProductServiceSearchProductArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceSearchProductArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceSearchProductArgs) FastWrite(buf []byte) int
- func (p *ProductServiceSearchProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceSearchProductArgs) Field1DeepEqual(src *MallSearchProductRequest) bool
- func (p *ProductServiceSearchProductArgs) GetFirstArgument() interface{}
- func (p *ProductServiceSearchProductArgs) GetReq() (v *MallSearchProductRequest)
- func (p *ProductServiceSearchProductArgs) InitDefault()
- func (p *ProductServiceSearchProductArgs) IsSetReq() bool
- func (p *ProductServiceSearchProductArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceSearchProductArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceSearchProductArgs) SetReq(val *MallSearchProductRequest)
- func (p *ProductServiceSearchProductArgs) String() string
- func (p *ProductServiceSearchProductArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceSearchProductResult
- func (p *ProductServiceSearchProductResult) BLength() int
- func (p *ProductServiceSearchProductResult) DeepEqual(ano *ProductServiceSearchProductResult) bool
- func (p *ProductServiceSearchProductResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceSearchProductResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceSearchProductResult) FastWrite(buf []byte) int
- func (p *ProductServiceSearchProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceSearchProductResult) Field0DeepEqual(src *MallSearchProductResponse) bool
- func (p *ProductServiceSearchProductResult) GetResult() interface{}
- func (p *ProductServiceSearchProductResult) GetSuccess() (v *MallSearchProductResponse)
- func (p *ProductServiceSearchProductResult) InitDefault()
- func (p *ProductServiceSearchProductResult) IsSetSuccess() bool
- func (p *ProductServiceSearchProductResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceSearchProductResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceSearchProductResult) SetSuccess(x interface{})
- func (p *ProductServiceSearchProductResult) String() string
- func (p *ProductServiceSearchProductResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceUpdateProductArgs
- func (p *ProductServiceUpdateProductArgs) BLength() int
- func (p *ProductServiceUpdateProductArgs) DeepEqual(ano *ProductServiceUpdateProductArgs) bool
- func (p *ProductServiceUpdateProductArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceUpdateProductArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceUpdateProductArgs) FastWrite(buf []byte) int
- func (p *ProductServiceUpdateProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceUpdateProductArgs) Field1DeepEqual(src *MallUpdateProductRequest) bool
- func (p *ProductServiceUpdateProductArgs) GetFirstArgument() interface{}
- func (p *ProductServiceUpdateProductArgs) GetReq() (v *MallUpdateProductRequest)
- func (p *ProductServiceUpdateProductArgs) InitDefault()
- func (p *ProductServiceUpdateProductArgs) IsSetReq() bool
- func (p *ProductServiceUpdateProductArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceUpdateProductArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceUpdateProductArgs) SetReq(val *MallUpdateProductRequest)
- func (p *ProductServiceUpdateProductArgs) String() string
- func (p *ProductServiceUpdateProductArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceUpdateProductResult
- func (p *ProductServiceUpdateProductResult) BLength() int
- func (p *ProductServiceUpdateProductResult) DeepEqual(ano *ProductServiceUpdateProductResult) bool
- func (p *ProductServiceUpdateProductResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceUpdateProductResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceUpdateProductResult) FastWrite(buf []byte) int
- func (p *ProductServiceUpdateProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceUpdateProductResult) Field0DeepEqual(src *MallUpdateProductResponse) bool
- func (p *ProductServiceUpdateProductResult) GetResult() interface{}
- func (p *ProductServiceUpdateProductResult) GetSuccess() (v *MallUpdateProductResponse)
- func (p *ProductServiceUpdateProductResult) InitDefault()
- func (p *ProductServiceUpdateProductResult) IsSetSuccess() bool
- func (p *ProductServiceUpdateProductResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceUpdateProductResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceUpdateProductResult) SetSuccess(x interface{})
- func (p *ProductServiceUpdateProductResult) String() string
- func (p *ProductServiceUpdateProductResult) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceUpdateStockArgs
- func (p *ProductServiceUpdateStockArgs) BLength() int
- func (p *ProductServiceUpdateStockArgs) DeepEqual(ano *ProductServiceUpdateStockArgs) bool
- func (p *ProductServiceUpdateStockArgs) FastRead(buf []byte) (int, error)
- func (p *ProductServiceUpdateStockArgs) FastReadField1(buf []byte) (int, error)
- func (p *ProductServiceUpdateStockArgs) FastWrite(buf []byte) int
- func (p *ProductServiceUpdateStockArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceUpdateStockArgs) Field1DeepEqual(src *MallUpdateStockRequest) bool
- func (p *ProductServiceUpdateStockArgs) GetFirstArgument() interface{}
- func (p *ProductServiceUpdateStockArgs) GetReq() (v *MallUpdateStockRequest)
- func (p *ProductServiceUpdateStockArgs) InitDefault()
- func (p *ProductServiceUpdateStockArgs) IsSetReq() bool
- func (p *ProductServiceUpdateStockArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceUpdateStockArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ProductServiceUpdateStockArgs) SetReq(val *MallUpdateStockRequest)
- func (p *ProductServiceUpdateStockArgs) String() string
- func (p *ProductServiceUpdateStockArgs) Write(oprot thrift.TProtocol) (err error)
- type ProductServiceUpdateStockResult
- func (p *ProductServiceUpdateStockResult) BLength() int
- func (p *ProductServiceUpdateStockResult) DeepEqual(ano *ProductServiceUpdateStockResult) bool
- func (p *ProductServiceUpdateStockResult) FastRead(buf []byte) (int, error)
- func (p *ProductServiceUpdateStockResult) FastReadField0(buf []byte) (int, error)
- func (p *ProductServiceUpdateStockResult) FastWrite(buf []byte) int
- func (p *ProductServiceUpdateStockResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProductServiceUpdateStockResult) Field0DeepEqual(src *MallUpdateStockResponse) bool
- func (p *ProductServiceUpdateStockResult) GetResult() interface{}
- func (p *ProductServiceUpdateStockResult) GetSuccess() (v *MallUpdateStockResponse)
- func (p *ProductServiceUpdateStockResult) InitDefault()
- func (p *ProductServiceUpdateStockResult) IsSetSuccess() bool
- func (p *ProductServiceUpdateStockResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ProductServiceUpdateStockResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ProductServiceUpdateStockResult) SetSuccess(x interface{})
- func (p *ProductServiceUpdateStockResult) String() string
- func (p *ProductServiceUpdateStockResult) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
var MallDelProductResponse_CommonResp_DEFAULT *common.CommonResponse
var MallProductDetailResponse_CommonResp_DEFAULT *common.CommonResponse
var MallProductDetailResponse_Product_DEFAULT *common.ProductDetail
var MallProductFavoriteListResponse_CommonResp_DEFAULT *common.CommonResponse
var MallProductListResponse_CommonResp_DEFAULT *common.CommonResponse
var MallProductPublishedListResponse_CommonResp_DEFAULT *common.CommonResponse
var MallPublishProductResponse_CommonResp_DEFAULT *common.CommonResponse
var MallSearchProductResponse_CommonResp_DEFAULT *common.CommonResponse
var MallUpdateProductResponse_CommonResp_DEFAULT *common.CommonResponse
var MallUpdateStockResponse_CommonResp_DEFAULT *common.CommonResponse
Functions ¶
This section is empty.
Types ¶
type MallDelProductRequest ¶
type MallDelProductRequest struct { MerchantId int64 `thrift:"merchant_id,1" frugal:"1,default,i64" json:"merchant_id"` ProductId int64 `thrift:"product_id,2" frugal:"2,default,i64" json:"product_id"` }
var ProductServiceDelProductArgs_Req_DEFAULT *MallDelProductRequest
func NewMallDelProductRequest ¶
func NewMallDelProductRequest() *MallDelProductRequest
func (*MallDelProductRequest) BLength ¶
func (p *MallDelProductRequest) BLength() int
func (*MallDelProductRequest) DeepEqual ¶
func (p *MallDelProductRequest) DeepEqual(ano *MallDelProductRequest) bool
func (*MallDelProductRequest) FastRead ¶
func (p *MallDelProductRequest) FastRead(buf []byte) (int, error)
func (*MallDelProductRequest) FastReadField1 ¶
func (p *MallDelProductRequest) FastReadField1(buf []byte) (int, error)
func (*MallDelProductRequest) FastReadField2 ¶
func (p *MallDelProductRequest) FastReadField2(buf []byte) (int, error)
func (*MallDelProductRequest) FastWrite ¶
func (p *MallDelProductRequest) FastWrite(buf []byte) int
for compatibility
func (*MallDelProductRequest) FastWriteNocopy ¶
func (p *MallDelProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallDelProductRequest) Field1DeepEqual ¶
func (p *MallDelProductRequest) Field1DeepEqual(src int64) bool
func (*MallDelProductRequest) Field2DeepEqual ¶
func (p *MallDelProductRequest) Field2DeepEqual(src int64) bool
func (*MallDelProductRequest) GetMerchantId ¶
func (p *MallDelProductRequest) GetMerchantId() (v int64)
func (*MallDelProductRequest) GetProductId ¶
func (p *MallDelProductRequest) GetProductId() (v int64)
func (*MallDelProductRequest) InitDefault ¶
func (p *MallDelProductRequest) InitDefault()
func (*MallDelProductRequest) Read ¶
func (p *MallDelProductRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallDelProductRequest) ReadField1 ¶
func (p *MallDelProductRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallDelProductRequest) ReadField2 ¶
func (p *MallDelProductRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallDelProductRequest) SetMerchantId ¶
func (p *MallDelProductRequest) SetMerchantId(val int64)
func (*MallDelProductRequest) SetProductId ¶
func (p *MallDelProductRequest) SetProductId(val int64)
func (*MallDelProductRequest) String ¶
func (p *MallDelProductRequest) String() string
type MallDelProductResponse ¶
type MallDelProductResponse struct {
CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
}
var ProductServiceDelProductResult_Success_DEFAULT *MallDelProductResponse
func NewMallDelProductResponse ¶
func NewMallDelProductResponse() *MallDelProductResponse
func (*MallDelProductResponse) BLength ¶
func (p *MallDelProductResponse) BLength() int
func (*MallDelProductResponse) DeepEqual ¶
func (p *MallDelProductResponse) DeepEqual(ano *MallDelProductResponse) bool
func (*MallDelProductResponse) FastRead ¶
func (p *MallDelProductResponse) FastRead(buf []byte) (int, error)
func (*MallDelProductResponse) FastReadField1 ¶
func (p *MallDelProductResponse) FastReadField1(buf []byte) (int, error)
func (*MallDelProductResponse) FastWrite ¶
func (p *MallDelProductResponse) FastWrite(buf []byte) int
for compatibility
func (*MallDelProductResponse) FastWriteNocopy ¶
func (p *MallDelProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallDelProductResponse) Field1DeepEqual ¶
func (p *MallDelProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallDelProductResponse) GetCommonResp ¶
func (p *MallDelProductResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallDelProductResponse) InitDefault ¶
func (p *MallDelProductResponse) InitDefault()
func (*MallDelProductResponse) IsSetCommonResp ¶
func (p *MallDelProductResponse) IsSetCommonResp() bool
func (*MallDelProductResponse) Read ¶
func (p *MallDelProductResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallDelProductResponse) ReadField1 ¶
func (p *MallDelProductResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallDelProductResponse) SetCommonResp ¶
func (p *MallDelProductResponse) SetCommonResp(val *common.CommonResponse)
func (*MallDelProductResponse) String ¶
func (p *MallDelProductResponse) String() string
type MallProductDetailRequest ¶
type MallProductDetailRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` ProductId int64 `thrift:"product_id,2" frugal:"2,default,i64" json:"product_id"` }
var ProductServiceProductDetailArgs_Req_DEFAULT *MallProductDetailRequest
func NewMallProductDetailRequest ¶
func NewMallProductDetailRequest() *MallProductDetailRequest
func (*MallProductDetailRequest) BLength ¶
func (p *MallProductDetailRequest) BLength() int
func (*MallProductDetailRequest) DeepEqual ¶
func (p *MallProductDetailRequest) DeepEqual(ano *MallProductDetailRequest) bool
func (*MallProductDetailRequest) FastRead ¶
func (p *MallProductDetailRequest) FastRead(buf []byte) (int, error)
func (*MallProductDetailRequest) FastReadField1 ¶
func (p *MallProductDetailRequest) FastReadField1(buf []byte) (int, error)
func (*MallProductDetailRequest) FastReadField2 ¶
func (p *MallProductDetailRequest) FastReadField2(buf []byte) (int, error)
func (*MallProductDetailRequest) FastWrite ¶
func (p *MallProductDetailRequest) FastWrite(buf []byte) int
for compatibility
func (*MallProductDetailRequest) FastWriteNocopy ¶
func (p *MallProductDetailRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductDetailRequest) Field1DeepEqual ¶
func (p *MallProductDetailRequest) Field1DeepEqual(src int64) bool
func (*MallProductDetailRequest) Field2DeepEqual ¶
func (p *MallProductDetailRequest) Field2DeepEqual(src int64) bool
func (*MallProductDetailRequest) GetProductId ¶
func (p *MallProductDetailRequest) GetProductId() (v int64)
func (*MallProductDetailRequest) GetUserId ¶
func (p *MallProductDetailRequest) GetUserId() (v int64)
func (*MallProductDetailRequest) InitDefault ¶
func (p *MallProductDetailRequest) InitDefault()
func (*MallProductDetailRequest) Read ¶
func (p *MallProductDetailRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallProductDetailRequest) ReadField1 ¶
func (p *MallProductDetailRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallProductDetailRequest) ReadField2 ¶
func (p *MallProductDetailRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallProductDetailRequest) SetProductId ¶
func (p *MallProductDetailRequest) SetProductId(val int64)
func (*MallProductDetailRequest) SetUserId ¶
func (p *MallProductDetailRequest) SetUserId(val int64)
func (*MallProductDetailRequest) String ¶
func (p *MallProductDetailRequest) String() string
type MallProductDetailResponse ¶
type MallProductDetailResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` Product *common.ProductDetail `thrift:"product,2" frugal:"2,default,common.ProductDetail" json:"product"` }
var ProductServiceProductDetailResult_Success_DEFAULT *MallProductDetailResponse
func NewMallProductDetailResponse ¶
func NewMallProductDetailResponse() *MallProductDetailResponse
func (*MallProductDetailResponse) BLength ¶
func (p *MallProductDetailResponse) BLength() int
func (*MallProductDetailResponse) DeepEqual ¶
func (p *MallProductDetailResponse) DeepEqual(ano *MallProductDetailResponse) bool
func (*MallProductDetailResponse) FastRead ¶
func (p *MallProductDetailResponse) FastRead(buf []byte) (int, error)
func (*MallProductDetailResponse) FastReadField1 ¶
func (p *MallProductDetailResponse) FastReadField1(buf []byte) (int, error)
func (*MallProductDetailResponse) FastReadField2 ¶
func (p *MallProductDetailResponse) FastReadField2(buf []byte) (int, error)
func (*MallProductDetailResponse) FastWrite ¶
func (p *MallProductDetailResponse) FastWrite(buf []byte) int
for compatibility
func (*MallProductDetailResponse) FastWriteNocopy ¶
func (p *MallProductDetailResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductDetailResponse) Field1DeepEqual ¶
func (p *MallProductDetailResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallProductDetailResponse) Field2DeepEqual ¶
func (p *MallProductDetailResponse) Field2DeepEqual(src *common.ProductDetail) bool
func (*MallProductDetailResponse) GetCommonResp ¶
func (p *MallProductDetailResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallProductDetailResponse) GetProduct ¶
func (p *MallProductDetailResponse) GetProduct() (v *common.ProductDetail)
func (*MallProductDetailResponse) InitDefault ¶
func (p *MallProductDetailResponse) InitDefault()
func (*MallProductDetailResponse) IsSetCommonResp ¶
func (p *MallProductDetailResponse) IsSetCommonResp() bool
func (*MallProductDetailResponse) IsSetProduct ¶
func (p *MallProductDetailResponse) IsSetProduct() bool
func (*MallProductDetailResponse) Read ¶
func (p *MallProductDetailResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallProductDetailResponse) ReadField1 ¶
func (p *MallProductDetailResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallProductDetailResponse) ReadField2 ¶
func (p *MallProductDetailResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallProductDetailResponse) SetCommonResp ¶
func (p *MallProductDetailResponse) SetCommonResp(val *common.CommonResponse)
func (*MallProductDetailResponse) SetProduct ¶
func (p *MallProductDetailResponse) SetProduct(val *common.ProductDetail)
func (*MallProductDetailResponse) String ¶
func (p *MallProductDetailResponse) String() string
type MallProductFavoriteListRequest ¶
type MallProductFavoriteListRequest struct {
UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
}
var ProductServiceProductFavoriteListArgs_Req_DEFAULT *MallProductFavoriteListRequest
func NewMallProductFavoriteListRequest ¶
func NewMallProductFavoriteListRequest() *MallProductFavoriteListRequest
func (*MallProductFavoriteListRequest) BLength ¶
func (p *MallProductFavoriteListRequest) BLength() int
func (*MallProductFavoriteListRequest) DeepEqual ¶
func (p *MallProductFavoriteListRequest) DeepEqual(ano *MallProductFavoriteListRequest) bool
func (*MallProductFavoriteListRequest) FastRead ¶
func (p *MallProductFavoriteListRequest) FastRead(buf []byte) (int, error)
func (*MallProductFavoriteListRequest) FastReadField1 ¶
func (p *MallProductFavoriteListRequest) FastReadField1(buf []byte) (int, error)
func (*MallProductFavoriteListRequest) FastWrite ¶
func (p *MallProductFavoriteListRequest) FastWrite(buf []byte) int
for compatibility
func (*MallProductFavoriteListRequest) FastWriteNocopy ¶
func (p *MallProductFavoriteListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductFavoriteListRequest) Field1DeepEqual ¶
func (p *MallProductFavoriteListRequest) Field1DeepEqual(src int64) bool
func (*MallProductFavoriteListRequest) GetUserId ¶
func (p *MallProductFavoriteListRequest) GetUserId() (v int64)
func (*MallProductFavoriteListRequest) InitDefault ¶
func (p *MallProductFavoriteListRequest) InitDefault()
func (*MallProductFavoriteListRequest) Read ¶
func (p *MallProductFavoriteListRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallProductFavoriteListRequest) ReadField1 ¶
func (p *MallProductFavoriteListRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallProductFavoriteListRequest) SetUserId ¶
func (p *MallProductFavoriteListRequest) SetUserId(val int64)
func (*MallProductFavoriteListRequest) String ¶
func (p *MallProductFavoriteListRequest) String() string
type MallProductFavoriteListResponse ¶
type MallProductFavoriteListResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` Products []*common.Product `thrift:"products,2" frugal:"2,default,list<common.Product>" json:"products"` }
var ProductServiceProductFavoriteListResult_Success_DEFAULT *MallProductFavoriteListResponse
func NewMallProductFavoriteListResponse ¶
func NewMallProductFavoriteListResponse() *MallProductFavoriteListResponse
func (*MallProductFavoriteListResponse) BLength ¶
func (p *MallProductFavoriteListResponse) BLength() int
func (*MallProductFavoriteListResponse) DeepEqual ¶
func (p *MallProductFavoriteListResponse) DeepEqual(ano *MallProductFavoriteListResponse) bool
func (*MallProductFavoriteListResponse) FastRead ¶
func (p *MallProductFavoriteListResponse) FastRead(buf []byte) (int, error)
func (*MallProductFavoriteListResponse) FastReadField1 ¶
func (p *MallProductFavoriteListResponse) FastReadField1(buf []byte) (int, error)
func (*MallProductFavoriteListResponse) FastReadField2 ¶
func (p *MallProductFavoriteListResponse) FastReadField2(buf []byte) (int, error)
func (*MallProductFavoriteListResponse) FastWrite ¶
func (p *MallProductFavoriteListResponse) FastWrite(buf []byte) int
for compatibility
func (*MallProductFavoriteListResponse) FastWriteNocopy ¶
func (p *MallProductFavoriteListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductFavoriteListResponse) Field1DeepEqual ¶
func (p *MallProductFavoriteListResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallProductFavoriteListResponse) Field2DeepEqual ¶
func (p *MallProductFavoriteListResponse) Field2DeepEqual(src []*common.Product) bool
func (*MallProductFavoriteListResponse) GetCommonResp ¶
func (p *MallProductFavoriteListResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallProductFavoriteListResponse) GetProducts ¶
func (p *MallProductFavoriteListResponse) GetProducts() (v []*common.Product)
func (*MallProductFavoriteListResponse) InitDefault ¶
func (p *MallProductFavoriteListResponse) InitDefault()
func (*MallProductFavoriteListResponse) IsSetCommonResp ¶
func (p *MallProductFavoriteListResponse) IsSetCommonResp() bool
func (*MallProductFavoriteListResponse) Read ¶
func (p *MallProductFavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallProductFavoriteListResponse) ReadField1 ¶
func (p *MallProductFavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallProductFavoriteListResponse) ReadField2 ¶
func (p *MallProductFavoriteListResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallProductFavoriteListResponse) SetCommonResp ¶
func (p *MallProductFavoriteListResponse) SetCommonResp(val *common.CommonResponse)
func (*MallProductFavoriteListResponse) SetProducts ¶
func (p *MallProductFavoriteListResponse) SetProducts(val []*common.Product)
func (*MallProductFavoriteListResponse) String ¶
func (p *MallProductFavoriteListResponse) String() string
type MallProductListRequest ¶
type MallProductListRequest struct { Page int8 `thrift:"page,1" frugal:"1,default,i8" json:"page"` PageSize int8 `thrift:"page_size,2" frugal:"2,default,i8" json:"page_size"` Sort string `thrift:"sort,3" frugal:"3,default,string" json:"sort"` }
var ProductServiceProductListArgs_Req_DEFAULT *MallProductListRequest
func NewMallProductListRequest ¶
func NewMallProductListRequest() *MallProductListRequest
func (*MallProductListRequest) BLength ¶
func (p *MallProductListRequest) BLength() int
func (*MallProductListRequest) DeepEqual ¶
func (p *MallProductListRequest) DeepEqual(ano *MallProductListRequest) bool
func (*MallProductListRequest) FastRead ¶
func (p *MallProductListRequest) FastRead(buf []byte) (int, error)
func (*MallProductListRequest) FastReadField1 ¶
func (p *MallProductListRequest) FastReadField1(buf []byte) (int, error)
func (*MallProductListRequest) FastReadField2 ¶
func (p *MallProductListRequest) FastReadField2(buf []byte) (int, error)
func (*MallProductListRequest) FastReadField3 ¶
func (p *MallProductListRequest) FastReadField3(buf []byte) (int, error)
func (*MallProductListRequest) FastWrite ¶
func (p *MallProductListRequest) FastWrite(buf []byte) int
for compatibility
func (*MallProductListRequest) FastWriteNocopy ¶
func (p *MallProductListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductListRequest) Field1DeepEqual ¶
func (p *MallProductListRequest) Field1DeepEqual(src int8) bool
func (*MallProductListRequest) Field2DeepEqual ¶
func (p *MallProductListRequest) Field2DeepEqual(src int8) bool
func (*MallProductListRequest) Field3DeepEqual ¶
func (p *MallProductListRequest) Field3DeepEqual(src string) bool
func (*MallProductListRequest) GetPage ¶
func (p *MallProductListRequest) GetPage() (v int8)
func (*MallProductListRequest) GetPageSize ¶
func (p *MallProductListRequest) GetPageSize() (v int8)
func (*MallProductListRequest) GetSort ¶
func (p *MallProductListRequest) GetSort() (v string)
func (*MallProductListRequest) InitDefault ¶
func (p *MallProductListRequest) InitDefault()
func (*MallProductListRequest) Read ¶
func (p *MallProductListRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallProductListRequest) ReadField1 ¶
func (p *MallProductListRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallProductListRequest) ReadField2 ¶
func (p *MallProductListRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallProductListRequest) ReadField3 ¶
func (p *MallProductListRequest) ReadField3(iprot thrift.TProtocol) error
func (*MallProductListRequest) SetPage ¶
func (p *MallProductListRequest) SetPage(val int8)
func (*MallProductListRequest) SetPageSize ¶
func (p *MallProductListRequest) SetPageSize(val int8)
func (*MallProductListRequest) SetSort ¶
func (p *MallProductListRequest) SetSort(val string)
func (*MallProductListRequest) String ¶
func (p *MallProductListRequest) String() string
type MallProductListResponse ¶
type MallProductListResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` TotalNum int64 `thrift:"total_num,2" frugal:"2,default,i64" json:"total_num"` Products []*common.Product `thrift:"products,3" frugal:"3,default,list<common.Product>" json:"products"` }
var ProductServiceProductListResult_Success_DEFAULT *MallProductListResponse
func NewMallProductListResponse ¶
func NewMallProductListResponse() *MallProductListResponse
func (*MallProductListResponse) BLength ¶
func (p *MallProductListResponse) BLength() int
func (*MallProductListResponse) DeepEqual ¶
func (p *MallProductListResponse) DeepEqual(ano *MallProductListResponse) bool
func (*MallProductListResponse) FastRead ¶
func (p *MallProductListResponse) FastRead(buf []byte) (int, error)
func (*MallProductListResponse) FastReadField1 ¶
func (p *MallProductListResponse) FastReadField1(buf []byte) (int, error)
func (*MallProductListResponse) FastReadField2 ¶
func (p *MallProductListResponse) FastReadField2(buf []byte) (int, error)
func (*MallProductListResponse) FastReadField3 ¶
func (p *MallProductListResponse) FastReadField3(buf []byte) (int, error)
func (*MallProductListResponse) FastWrite ¶
func (p *MallProductListResponse) FastWrite(buf []byte) int
for compatibility
func (*MallProductListResponse) FastWriteNocopy ¶
func (p *MallProductListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductListResponse) Field1DeepEqual ¶
func (p *MallProductListResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallProductListResponse) Field2DeepEqual ¶
func (p *MallProductListResponse) Field2DeepEqual(src int64) bool
func (*MallProductListResponse) Field3DeepEqual ¶
func (p *MallProductListResponse) Field3DeepEqual(src []*common.Product) bool
func (*MallProductListResponse) GetCommonResp ¶
func (p *MallProductListResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallProductListResponse) GetProducts ¶
func (p *MallProductListResponse) GetProducts() (v []*common.Product)
func (*MallProductListResponse) GetTotalNum ¶
func (p *MallProductListResponse) GetTotalNum() (v int64)
func (*MallProductListResponse) InitDefault ¶
func (p *MallProductListResponse) InitDefault()
func (*MallProductListResponse) IsSetCommonResp ¶
func (p *MallProductListResponse) IsSetCommonResp() bool
func (*MallProductListResponse) Read ¶
func (p *MallProductListResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallProductListResponse) ReadField1 ¶
func (p *MallProductListResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallProductListResponse) ReadField2 ¶
func (p *MallProductListResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallProductListResponse) ReadField3 ¶
func (p *MallProductListResponse) ReadField3(iprot thrift.TProtocol) error
func (*MallProductListResponse) SetCommonResp ¶
func (p *MallProductListResponse) SetCommonResp(val *common.CommonResponse)
func (*MallProductListResponse) SetProducts ¶
func (p *MallProductListResponse) SetProducts(val []*common.Product)
func (*MallProductListResponse) SetTotalNum ¶
func (p *MallProductListResponse) SetTotalNum(val int64)
func (*MallProductListResponse) String ¶
func (p *MallProductListResponse) String() string
type MallProductPublishedListRequest ¶
type MallProductPublishedListRequest struct {
MerchantId int64 `thrift:"merchant_id,1" frugal:"1,default,i64" json:"merchant_id"`
}
var ProductServicePublishedProductsArgs_Req_DEFAULT *MallProductPublishedListRequest
func NewMallProductPublishedListRequest ¶
func NewMallProductPublishedListRequest() *MallProductPublishedListRequest
func (*MallProductPublishedListRequest) BLength ¶
func (p *MallProductPublishedListRequest) BLength() int
func (*MallProductPublishedListRequest) DeepEqual ¶
func (p *MallProductPublishedListRequest) DeepEqual(ano *MallProductPublishedListRequest) bool
func (*MallProductPublishedListRequest) FastRead ¶
func (p *MallProductPublishedListRequest) FastRead(buf []byte) (int, error)
func (*MallProductPublishedListRequest) FastReadField1 ¶
func (p *MallProductPublishedListRequest) FastReadField1(buf []byte) (int, error)
func (*MallProductPublishedListRequest) FastWrite ¶
func (p *MallProductPublishedListRequest) FastWrite(buf []byte) int
for compatibility
func (*MallProductPublishedListRequest) FastWriteNocopy ¶
func (p *MallProductPublishedListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductPublishedListRequest) Field1DeepEqual ¶
func (p *MallProductPublishedListRequest) Field1DeepEqual(src int64) bool
func (*MallProductPublishedListRequest) GetMerchantId ¶
func (p *MallProductPublishedListRequest) GetMerchantId() (v int64)
func (*MallProductPublishedListRequest) InitDefault ¶
func (p *MallProductPublishedListRequest) InitDefault()
func (*MallProductPublishedListRequest) Read ¶
func (p *MallProductPublishedListRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallProductPublishedListRequest) ReadField1 ¶
func (p *MallProductPublishedListRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallProductPublishedListRequest) SetMerchantId ¶
func (p *MallProductPublishedListRequest) SetMerchantId(val int64)
func (*MallProductPublishedListRequest) String ¶
func (p *MallProductPublishedListRequest) String() string
type MallProductPublishedListResponse ¶
type MallProductPublishedListResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` Products []*common.Product `thrift:"products,2" frugal:"2,default,list<common.Product>" json:"products"` }
var ProductServicePublishedProductsResult_Success_DEFAULT *MallProductPublishedListResponse
func NewMallProductPublishedListResponse ¶
func NewMallProductPublishedListResponse() *MallProductPublishedListResponse
func (*MallProductPublishedListResponse) BLength ¶
func (p *MallProductPublishedListResponse) BLength() int
func (*MallProductPublishedListResponse) DeepEqual ¶
func (p *MallProductPublishedListResponse) DeepEqual(ano *MallProductPublishedListResponse) bool
func (*MallProductPublishedListResponse) FastRead ¶
func (p *MallProductPublishedListResponse) FastRead(buf []byte) (int, error)
func (*MallProductPublishedListResponse) FastReadField1 ¶
func (p *MallProductPublishedListResponse) FastReadField1(buf []byte) (int, error)
func (*MallProductPublishedListResponse) FastReadField2 ¶
func (p *MallProductPublishedListResponse) FastReadField2(buf []byte) (int, error)
func (*MallProductPublishedListResponse) FastWrite ¶
func (p *MallProductPublishedListResponse) FastWrite(buf []byte) int
for compatibility
func (*MallProductPublishedListResponse) FastWriteNocopy ¶
func (p *MallProductPublishedListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallProductPublishedListResponse) Field1DeepEqual ¶
func (p *MallProductPublishedListResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallProductPublishedListResponse) Field2DeepEqual ¶
func (p *MallProductPublishedListResponse) Field2DeepEqual(src []*common.Product) bool
func (*MallProductPublishedListResponse) GetCommonResp ¶
func (p *MallProductPublishedListResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallProductPublishedListResponse) GetProducts ¶
func (p *MallProductPublishedListResponse) GetProducts() (v []*common.Product)
func (*MallProductPublishedListResponse) InitDefault ¶
func (p *MallProductPublishedListResponse) InitDefault()
func (*MallProductPublishedListResponse) IsSetCommonResp ¶
func (p *MallProductPublishedListResponse) IsSetCommonResp() bool
func (*MallProductPublishedListResponse) Read ¶
func (p *MallProductPublishedListResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallProductPublishedListResponse) ReadField1 ¶
func (p *MallProductPublishedListResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallProductPublishedListResponse) ReadField2 ¶
func (p *MallProductPublishedListResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallProductPublishedListResponse) SetCommonResp ¶
func (p *MallProductPublishedListResponse) SetCommonResp(val *common.CommonResponse)
func (*MallProductPublishedListResponse) SetProducts ¶
func (p *MallProductPublishedListResponse) SetProducts(val []*common.Product)
func (*MallProductPublishedListResponse) String ¶
func (p *MallProductPublishedListResponse) String() string
type MallPublishProductRequest ¶
type MallPublishProductRequest struct { MerchantId int64 `thrift:"merchant_id,1" frugal:"1,default,i64" json:"merchant_id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` Description string `thrift:"description,3" frugal:"3,default,string" json:"description"` Price int64 `thrift:"price,4" frugal:"4,default,i64" json:"price"` Images []*common.Image `thrift:"images,5" frugal:"5,default,list<common.Image>" json:"images"` Stock int64 `thrift:"stock,6" frugal:"6,default,i64" json:"stock"` }
var ProductServicePublishProductArgs_Req_DEFAULT *MallPublishProductRequest
func NewMallPublishProductRequest ¶
func NewMallPublishProductRequest() *MallPublishProductRequest
func (*MallPublishProductRequest) BLength ¶
func (p *MallPublishProductRequest) BLength() int
func (*MallPublishProductRequest) DeepEqual ¶
func (p *MallPublishProductRequest) DeepEqual(ano *MallPublishProductRequest) bool
func (*MallPublishProductRequest) FastRead ¶
func (p *MallPublishProductRequest) FastRead(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField1 ¶
func (p *MallPublishProductRequest) FastReadField1(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField2 ¶
func (p *MallPublishProductRequest) FastReadField2(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField3 ¶
func (p *MallPublishProductRequest) FastReadField3(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField4 ¶
func (p *MallPublishProductRequest) FastReadField4(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField5 ¶
func (p *MallPublishProductRequest) FastReadField5(buf []byte) (int, error)
func (*MallPublishProductRequest) FastReadField6 ¶
func (p *MallPublishProductRequest) FastReadField6(buf []byte) (int, error)
func (*MallPublishProductRequest) FastWrite ¶
func (p *MallPublishProductRequest) FastWrite(buf []byte) int
for compatibility
func (*MallPublishProductRequest) FastWriteNocopy ¶
func (p *MallPublishProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallPublishProductRequest) Field1DeepEqual ¶
func (p *MallPublishProductRequest) Field1DeepEqual(src int64) bool
func (*MallPublishProductRequest) Field2DeepEqual ¶
func (p *MallPublishProductRequest) Field2DeepEqual(src string) bool
func (*MallPublishProductRequest) Field3DeepEqual ¶
func (p *MallPublishProductRequest) Field3DeepEqual(src string) bool
func (*MallPublishProductRequest) Field4DeepEqual ¶
func (p *MallPublishProductRequest) Field4DeepEqual(src int64) bool
func (*MallPublishProductRequest) Field5DeepEqual ¶
func (p *MallPublishProductRequest) Field5DeepEqual(src []*common.Image) bool
func (*MallPublishProductRequest) Field6DeepEqual ¶
func (p *MallPublishProductRequest) Field6DeepEqual(src int64) bool
func (*MallPublishProductRequest) GetDescription ¶
func (p *MallPublishProductRequest) GetDescription() (v string)
func (*MallPublishProductRequest) GetImages ¶
func (p *MallPublishProductRequest) GetImages() (v []*common.Image)
func (*MallPublishProductRequest) GetMerchantId ¶
func (p *MallPublishProductRequest) GetMerchantId() (v int64)
func (*MallPublishProductRequest) GetName ¶
func (p *MallPublishProductRequest) GetName() (v string)
func (*MallPublishProductRequest) GetPrice ¶
func (p *MallPublishProductRequest) GetPrice() (v int64)
func (*MallPublishProductRequest) GetStock ¶
func (p *MallPublishProductRequest) GetStock() (v int64)
func (*MallPublishProductRequest) InitDefault ¶
func (p *MallPublishProductRequest) InitDefault()
func (*MallPublishProductRequest) Read ¶
func (p *MallPublishProductRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallPublishProductRequest) ReadField1 ¶
func (p *MallPublishProductRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) ReadField2 ¶
func (p *MallPublishProductRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) ReadField3 ¶
func (p *MallPublishProductRequest) ReadField3(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) ReadField4 ¶
func (p *MallPublishProductRequest) ReadField4(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) ReadField5 ¶
func (p *MallPublishProductRequest) ReadField5(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) ReadField6 ¶
func (p *MallPublishProductRequest) ReadField6(iprot thrift.TProtocol) error
func (*MallPublishProductRequest) SetDescription ¶
func (p *MallPublishProductRequest) SetDescription(val string)
func (*MallPublishProductRequest) SetImages ¶
func (p *MallPublishProductRequest) SetImages(val []*common.Image)
func (*MallPublishProductRequest) SetMerchantId ¶
func (p *MallPublishProductRequest) SetMerchantId(val int64)
func (*MallPublishProductRequest) SetName ¶
func (p *MallPublishProductRequest) SetName(val string)
func (*MallPublishProductRequest) SetPrice ¶
func (p *MallPublishProductRequest) SetPrice(val int64)
func (*MallPublishProductRequest) SetStock ¶
func (p *MallPublishProductRequest) SetStock(val int64)
func (*MallPublishProductRequest) String ¶
func (p *MallPublishProductRequest) String() string
type MallPublishProductResponse ¶
type MallPublishProductResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` ProductId int64 `thrift:"product_id,2" frugal:"2,default,i64" json:"product_id"` }
var ProductServicePublishProductResult_Success_DEFAULT *MallPublishProductResponse
func NewMallPublishProductResponse ¶
func NewMallPublishProductResponse() *MallPublishProductResponse
func (*MallPublishProductResponse) BLength ¶
func (p *MallPublishProductResponse) BLength() int
func (*MallPublishProductResponse) DeepEqual ¶
func (p *MallPublishProductResponse) DeepEqual(ano *MallPublishProductResponse) bool
func (*MallPublishProductResponse) FastRead ¶
func (p *MallPublishProductResponse) FastRead(buf []byte) (int, error)
func (*MallPublishProductResponse) FastReadField1 ¶
func (p *MallPublishProductResponse) FastReadField1(buf []byte) (int, error)
func (*MallPublishProductResponse) FastReadField2 ¶
func (p *MallPublishProductResponse) FastReadField2(buf []byte) (int, error)
func (*MallPublishProductResponse) FastWrite ¶
func (p *MallPublishProductResponse) FastWrite(buf []byte) int
for compatibility
func (*MallPublishProductResponse) FastWriteNocopy ¶
func (p *MallPublishProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallPublishProductResponse) Field1DeepEqual ¶
func (p *MallPublishProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallPublishProductResponse) Field2DeepEqual ¶
func (p *MallPublishProductResponse) Field2DeepEqual(src int64) bool
func (*MallPublishProductResponse) GetCommonResp ¶
func (p *MallPublishProductResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallPublishProductResponse) GetProductId ¶
func (p *MallPublishProductResponse) GetProductId() (v int64)
func (*MallPublishProductResponse) InitDefault ¶
func (p *MallPublishProductResponse) InitDefault()
func (*MallPublishProductResponse) IsSetCommonResp ¶
func (p *MallPublishProductResponse) IsSetCommonResp() bool
func (*MallPublishProductResponse) Read ¶
func (p *MallPublishProductResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallPublishProductResponse) ReadField1 ¶
func (p *MallPublishProductResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallPublishProductResponse) ReadField2 ¶
func (p *MallPublishProductResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallPublishProductResponse) SetCommonResp ¶
func (p *MallPublishProductResponse) SetCommonResp(val *common.CommonResponse)
func (*MallPublishProductResponse) SetProductId ¶
func (p *MallPublishProductResponse) SetProductId(val int64)
func (*MallPublishProductResponse) String ¶
func (p *MallPublishProductResponse) String() string
type MallSearchProductRequest ¶
type MallSearchProductRequest struct {
Key string `thrift:"key,1" frugal:"1,default,string" json:"key"`
}
var ProductServiceSearchProductArgs_Req_DEFAULT *MallSearchProductRequest
func NewMallSearchProductRequest ¶
func NewMallSearchProductRequest() *MallSearchProductRequest
func (*MallSearchProductRequest) BLength ¶
func (p *MallSearchProductRequest) BLength() int
func (*MallSearchProductRequest) DeepEqual ¶
func (p *MallSearchProductRequest) DeepEqual(ano *MallSearchProductRequest) bool
func (*MallSearchProductRequest) FastRead ¶
func (p *MallSearchProductRequest) FastRead(buf []byte) (int, error)
func (*MallSearchProductRequest) FastReadField1 ¶
func (p *MallSearchProductRequest) FastReadField1(buf []byte) (int, error)
func (*MallSearchProductRequest) FastWrite ¶
func (p *MallSearchProductRequest) FastWrite(buf []byte) int
for compatibility
func (*MallSearchProductRequest) FastWriteNocopy ¶
func (p *MallSearchProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallSearchProductRequest) Field1DeepEqual ¶
func (p *MallSearchProductRequest) Field1DeepEqual(src string) bool
func (*MallSearchProductRequest) GetKey ¶
func (p *MallSearchProductRequest) GetKey() (v string)
func (*MallSearchProductRequest) InitDefault ¶
func (p *MallSearchProductRequest) InitDefault()
func (*MallSearchProductRequest) Read ¶
func (p *MallSearchProductRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallSearchProductRequest) ReadField1 ¶
func (p *MallSearchProductRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallSearchProductRequest) SetKey ¶
func (p *MallSearchProductRequest) SetKey(val string)
func (*MallSearchProductRequest) String ¶
func (p *MallSearchProductRequest) String() string
type MallSearchProductResponse ¶
type MallSearchProductResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` Products []*common.Product `thrift:"products,2" frugal:"2,default,list<common.Product>" json:"products"` }
var ProductServiceSearchProductResult_Success_DEFAULT *MallSearchProductResponse
func NewMallSearchProductResponse ¶
func NewMallSearchProductResponse() *MallSearchProductResponse
func (*MallSearchProductResponse) BLength ¶
func (p *MallSearchProductResponse) BLength() int
func (*MallSearchProductResponse) DeepEqual ¶
func (p *MallSearchProductResponse) DeepEqual(ano *MallSearchProductResponse) bool
func (*MallSearchProductResponse) FastRead ¶
func (p *MallSearchProductResponse) FastRead(buf []byte) (int, error)
func (*MallSearchProductResponse) FastReadField1 ¶
func (p *MallSearchProductResponse) FastReadField1(buf []byte) (int, error)
func (*MallSearchProductResponse) FastReadField2 ¶
func (p *MallSearchProductResponse) FastReadField2(buf []byte) (int, error)
func (*MallSearchProductResponse) FastWrite ¶
func (p *MallSearchProductResponse) FastWrite(buf []byte) int
for compatibility
func (*MallSearchProductResponse) FastWriteNocopy ¶
func (p *MallSearchProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallSearchProductResponse) Field1DeepEqual ¶
func (p *MallSearchProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallSearchProductResponse) Field2DeepEqual ¶
func (p *MallSearchProductResponse) Field2DeepEqual(src []*common.Product) bool
func (*MallSearchProductResponse) GetCommonResp ¶
func (p *MallSearchProductResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallSearchProductResponse) GetProducts ¶
func (p *MallSearchProductResponse) GetProducts() (v []*common.Product)
func (*MallSearchProductResponse) InitDefault ¶
func (p *MallSearchProductResponse) InitDefault()
func (*MallSearchProductResponse) IsSetCommonResp ¶
func (p *MallSearchProductResponse) IsSetCommonResp() bool
func (*MallSearchProductResponse) Read ¶
func (p *MallSearchProductResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallSearchProductResponse) ReadField1 ¶
func (p *MallSearchProductResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallSearchProductResponse) ReadField2 ¶
func (p *MallSearchProductResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallSearchProductResponse) SetCommonResp ¶
func (p *MallSearchProductResponse) SetCommonResp(val *common.CommonResponse)
func (*MallSearchProductResponse) SetProducts ¶
func (p *MallSearchProductResponse) SetProducts(val []*common.Product)
func (*MallSearchProductResponse) String ¶
func (p *MallSearchProductResponse) String() string
type MallUpdateProductRequest ¶
type MallUpdateProductRequest struct { ProductId int64 `thrift:"product_id,1" frugal:"1,default,i64" json:"product_id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` Description string `thrift:"description,3" frugal:"3,default,string" json:"description"` Price int64 `thrift:"price,4" frugal:"4,default,i64" json:"price"` Stock int64 `thrift:"stock,5" frugal:"5,default,i64" json:"stock"` }
var ProductServiceUpdateProductArgs_Req_DEFAULT *MallUpdateProductRequest
func NewMallUpdateProductRequest ¶
func NewMallUpdateProductRequest() *MallUpdateProductRequest
func (*MallUpdateProductRequest) BLength ¶
func (p *MallUpdateProductRequest) BLength() int
func (*MallUpdateProductRequest) DeepEqual ¶
func (p *MallUpdateProductRequest) DeepEqual(ano *MallUpdateProductRequest) bool
func (*MallUpdateProductRequest) FastRead ¶
func (p *MallUpdateProductRequest) FastRead(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastReadField1 ¶
func (p *MallUpdateProductRequest) FastReadField1(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastReadField2 ¶
func (p *MallUpdateProductRequest) FastReadField2(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastReadField3 ¶
func (p *MallUpdateProductRequest) FastReadField3(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastReadField4 ¶
func (p *MallUpdateProductRequest) FastReadField4(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastReadField5 ¶
func (p *MallUpdateProductRequest) FastReadField5(buf []byte) (int, error)
func (*MallUpdateProductRequest) FastWrite ¶
func (p *MallUpdateProductRequest) FastWrite(buf []byte) int
for compatibility
func (*MallUpdateProductRequest) FastWriteNocopy ¶
func (p *MallUpdateProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallUpdateProductRequest) Field1DeepEqual ¶
func (p *MallUpdateProductRequest) Field1DeepEqual(src int64) bool
func (*MallUpdateProductRequest) Field2DeepEqual ¶
func (p *MallUpdateProductRequest) Field2DeepEqual(src string) bool
func (*MallUpdateProductRequest) Field3DeepEqual ¶
func (p *MallUpdateProductRequest) Field3DeepEqual(src string) bool
func (*MallUpdateProductRequest) Field4DeepEqual ¶
func (p *MallUpdateProductRequest) Field4DeepEqual(src int64) bool
func (*MallUpdateProductRequest) Field5DeepEqual ¶
func (p *MallUpdateProductRequest) Field5DeepEqual(src int64) bool
func (*MallUpdateProductRequest) GetDescription ¶
func (p *MallUpdateProductRequest) GetDescription() (v string)
func (*MallUpdateProductRequest) GetName ¶
func (p *MallUpdateProductRequest) GetName() (v string)
func (*MallUpdateProductRequest) GetPrice ¶
func (p *MallUpdateProductRequest) GetPrice() (v int64)
func (*MallUpdateProductRequest) GetProductId ¶
func (p *MallUpdateProductRequest) GetProductId() (v int64)
func (*MallUpdateProductRequest) GetStock ¶
func (p *MallUpdateProductRequest) GetStock() (v int64)
func (*MallUpdateProductRequest) InitDefault ¶
func (p *MallUpdateProductRequest) InitDefault()
func (*MallUpdateProductRequest) Read ¶
func (p *MallUpdateProductRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallUpdateProductRequest) ReadField1 ¶
func (p *MallUpdateProductRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallUpdateProductRequest) ReadField2 ¶
func (p *MallUpdateProductRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallUpdateProductRequest) ReadField3 ¶
func (p *MallUpdateProductRequest) ReadField3(iprot thrift.TProtocol) error
func (*MallUpdateProductRequest) ReadField4 ¶
func (p *MallUpdateProductRequest) ReadField4(iprot thrift.TProtocol) error
func (*MallUpdateProductRequest) ReadField5 ¶
func (p *MallUpdateProductRequest) ReadField5(iprot thrift.TProtocol) error
func (*MallUpdateProductRequest) SetDescription ¶
func (p *MallUpdateProductRequest) SetDescription(val string)
func (*MallUpdateProductRequest) SetName ¶
func (p *MallUpdateProductRequest) SetName(val string)
func (*MallUpdateProductRequest) SetPrice ¶
func (p *MallUpdateProductRequest) SetPrice(val int64)
func (*MallUpdateProductRequest) SetProductId ¶
func (p *MallUpdateProductRequest) SetProductId(val int64)
func (*MallUpdateProductRequest) SetStock ¶
func (p *MallUpdateProductRequest) SetStock(val int64)
func (*MallUpdateProductRequest) String ¶
func (p *MallUpdateProductRequest) String() string
type MallUpdateProductResponse ¶
type MallUpdateProductResponse struct {
CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
}
var ProductServiceUpdateProductResult_Success_DEFAULT *MallUpdateProductResponse
func NewMallUpdateProductResponse ¶
func NewMallUpdateProductResponse() *MallUpdateProductResponse
func (*MallUpdateProductResponse) BLength ¶
func (p *MallUpdateProductResponse) BLength() int
func (*MallUpdateProductResponse) DeepEqual ¶
func (p *MallUpdateProductResponse) DeepEqual(ano *MallUpdateProductResponse) bool
func (*MallUpdateProductResponse) FastRead ¶
func (p *MallUpdateProductResponse) FastRead(buf []byte) (int, error)
func (*MallUpdateProductResponse) FastReadField1 ¶
func (p *MallUpdateProductResponse) FastReadField1(buf []byte) (int, error)
func (*MallUpdateProductResponse) FastWrite ¶
func (p *MallUpdateProductResponse) FastWrite(buf []byte) int
for compatibility
func (*MallUpdateProductResponse) FastWriteNocopy ¶
func (p *MallUpdateProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallUpdateProductResponse) Field1DeepEqual ¶
func (p *MallUpdateProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallUpdateProductResponse) GetCommonResp ¶
func (p *MallUpdateProductResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallUpdateProductResponse) InitDefault ¶
func (p *MallUpdateProductResponse) InitDefault()
func (*MallUpdateProductResponse) IsSetCommonResp ¶
func (p *MallUpdateProductResponse) IsSetCommonResp() bool
func (*MallUpdateProductResponse) Read ¶
func (p *MallUpdateProductResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallUpdateProductResponse) ReadField1 ¶
func (p *MallUpdateProductResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallUpdateProductResponse) SetCommonResp ¶
func (p *MallUpdateProductResponse) SetCommonResp(val *common.CommonResponse)
func (*MallUpdateProductResponse) String ¶
func (p *MallUpdateProductResponse) String() string
type MallUpdateStockRequest ¶
type MallUpdateStockRequest struct { ProductId int64 `thrift:"product_id,1" frugal:"1,default,i64" json:"product_id"` Stock int64 `thrift:"stock,2" frugal:"2,default,i64" json:"stock"` }
var ProductServiceUpdateStockArgs_Req_DEFAULT *MallUpdateStockRequest
func NewMallUpdateStockRequest ¶
func NewMallUpdateStockRequest() *MallUpdateStockRequest
func (*MallUpdateStockRequest) BLength ¶
func (p *MallUpdateStockRequest) BLength() int
func (*MallUpdateStockRequest) DeepEqual ¶
func (p *MallUpdateStockRequest) DeepEqual(ano *MallUpdateStockRequest) bool
func (*MallUpdateStockRequest) FastRead ¶
func (p *MallUpdateStockRequest) FastRead(buf []byte) (int, error)
func (*MallUpdateStockRequest) FastReadField1 ¶
func (p *MallUpdateStockRequest) FastReadField1(buf []byte) (int, error)
func (*MallUpdateStockRequest) FastReadField2 ¶
func (p *MallUpdateStockRequest) FastReadField2(buf []byte) (int, error)
func (*MallUpdateStockRequest) FastWrite ¶
func (p *MallUpdateStockRequest) FastWrite(buf []byte) int
for compatibility
func (*MallUpdateStockRequest) FastWriteNocopy ¶
func (p *MallUpdateStockRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallUpdateStockRequest) Field1DeepEqual ¶
func (p *MallUpdateStockRequest) Field1DeepEqual(src int64) bool
func (*MallUpdateStockRequest) Field2DeepEqual ¶
func (p *MallUpdateStockRequest) Field2DeepEqual(src int64) bool
func (*MallUpdateStockRequest) GetProductId ¶
func (p *MallUpdateStockRequest) GetProductId() (v int64)
func (*MallUpdateStockRequest) GetStock ¶
func (p *MallUpdateStockRequest) GetStock() (v int64)
func (*MallUpdateStockRequest) InitDefault ¶
func (p *MallUpdateStockRequest) InitDefault()
func (*MallUpdateStockRequest) Read ¶
func (p *MallUpdateStockRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallUpdateStockRequest) ReadField1 ¶
func (p *MallUpdateStockRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallUpdateStockRequest) ReadField2 ¶
func (p *MallUpdateStockRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallUpdateStockRequest) SetProductId ¶
func (p *MallUpdateStockRequest) SetProductId(val int64)
func (*MallUpdateStockRequest) SetStock ¶
func (p *MallUpdateStockRequest) SetStock(val int64)
func (*MallUpdateStockRequest) String ¶
func (p *MallUpdateStockRequest) String() string
type MallUpdateStockResponse ¶
type MallUpdateStockResponse struct {
CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
}
var ProductServiceUpdateStockResult_Success_DEFAULT *MallUpdateStockResponse
func NewMallUpdateStockResponse ¶
func NewMallUpdateStockResponse() *MallUpdateStockResponse
func (*MallUpdateStockResponse) BLength ¶
func (p *MallUpdateStockResponse) BLength() int
func (*MallUpdateStockResponse) DeepEqual ¶
func (p *MallUpdateStockResponse) DeepEqual(ano *MallUpdateStockResponse) bool
func (*MallUpdateStockResponse) FastRead ¶
func (p *MallUpdateStockResponse) FastRead(buf []byte) (int, error)
func (*MallUpdateStockResponse) FastReadField1 ¶
func (p *MallUpdateStockResponse) FastReadField1(buf []byte) (int, error)
func (*MallUpdateStockResponse) FastWrite ¶
func (p *MallUpdateStockResponse) FastWrite(buf []byte) int
for compatibility
func (*MallUpdateStockResponse) FastWriteNocopy ¶
func (p *MallUpdateStockResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallUpdateStockResponse) Field1DeepEqual ¶
func (p *MallUpdateStockResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallUpdateStockResponse) GetCommonResp ¶
func (p *MallUpdateStockResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallUpdateStockResponse) InitDefault ¶
func (p *MallUpdateStockResponse) InitDefault()
func (*MallUpdateStockResponse) IsSetCommonResp ¶
func (p *MallUpdateStockResponse) IsSetCommonResp() bool
func (*MallUpdateStockResponse) Read ¶
func (p *MallUpdateStockResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallUpdateStockResponse) ReadField1 ¶
func (p *MallUpdateStockResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallUpdateStockResponse) SetCommonResp ¶
func (p *MallUpdateStockResponse) SetCommonResp(val *common.CommonResponse)
func (*MallUpdateStockResponse) String ¶
func (p *MallUpdateStockResponse) String() string
type ProductService ¶
type ProductService interface { PublishProduct(ctx context.Context, req *MallPublishProductRequest) (r *MallPublishProductResponse, err error) UpdateProduct(ctx context.Context, req *MallUpdateProductRequest) (r *MallUpdateProductResponse, err error) DelProduct(ctx context.Context, req *MallDelProductRequest) (r *MallDelProductResponse, err error) ProductList(ctx context.Context, req *MallProductListRequest) (r *MallProductListResponse, err error) ProductDetail(ctx context.Context, req *MallProductDetailRequest) (r *MallProductDetailResponse, err error) SearchProduct(ctx context.Context, req *MallSearchProductRequest) (r *MallSearchProductResponse, err error) ProductFavoriteList(ctx context.Context, req *MallProductFavoriteListRequest) (r *MallProductFavoriteListResponse, err error) PublishedProducts(ctx context.Context, req *MallProductPublishedListRequest) (r *MallProductPublishedListResponse, err error) UpdateStock(ctx context.Context, req *MallUpdateStockRequest) (r *MallUpdateStockResponse, err error) }
type ProductServiceClient ¶
type ProductServiceClient struct {
// contains filtered or unexported fields
}
func NewProductServiceClient ¶
func NewProductServiceClient(c thrift.TClient) *ProductServiceClient
func NewProductServiceClientFactory ¶
func NewProductServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ProductServiceClient
func NewProductServiceClientProtocol ¶
func NewProductServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ProductServiceClient
func (*ProductServiceClient) Client_ ¶
func (p *ProductServiceClient) Client_() thrift.TClient
func (*ProductServiceClient) DelProduct ¶
func (p *ProductServiceClient) DelProduct(ctx context.Context, req *MallDelProductRequest) (r *MallDelProductResponse, err error)
func (*ProductServiceClient) ProductDetail ¶
func (p *ProductServiceClient) ProductDetail(ctx context.Context, req *MallProductDetailRequest) (r *MallProductDetailResponse, err error)
func (*ProductServiceClient) ProductFavoriteList ¶
func (p *ProductServiceClient) ProductFavoriteList(ctx context.Context, req *MallProductFavoriteListRequest) (r *MallProductFavoriteListResponse, err error)
func (*ProductServiceClient) ProductList ¶
func (p *ProductServiceClient) ProductList(ctx context.Context, req *MallProductListRequest) (r *MallProductListResponse, err error)
func (*ProductServiceClient) PublishProduct ¶
func (p *ProductServiceClient) PublishProduct(ctx context.Context, req *MallPublishProductRequest) (r *MallPublishProductResponse, err error)
func (*ProductServiceClient) PublishedProducts ¶
func (p *ProductServiceClient) PublishedProducts(ctx context.Context, req *MallProductPublishedListRequest) (r *MallProductPublishedListResponse, err error)
func (*ProductServiceClient) SearchProduct ¶
func (p *ProductServiceClient) SearchProduct(ctx context.Context, req *MallSearchProductRequest) (r *MallSearchProductResponse, err error)
func (*ProductServiceClient) UpdateProduct ¶
func (p *ProductServiceClient) UpdateProduct(ctx context.Context, req *MallUpdateProductRequest) (r *MallUpdateProductResponse, err error)
func (*ProductServiceClient) UpdateStock ¶
func (p *ProductServiceClient) UpdateStock(ctx context.Context, req *MallUpdateStockRequest) (r *MallUpdateStockResponse, err error)
type ProductServiceDelProductArgs ¶
type ProductServiceDelProductArgs struct {
Req *MallDelProductRequest `thrift:"req,1" frugal:"1,default,MallDelProductRequest" json:"req"`
}
func NewProductServiceDelProductArgs ¶
func NewProductServiceDelProductArgs() *ProductServiceDelProductArgs
func (*ProductServiceDelProductArgs) BLength ¶
func (p *ProductServiceDelProductArgs) BLength() int
func (*ProductServiceDelProductArgs) DeepEqual ¶
func (p *ProductServiceDelProductArgs) DeepEqual(ano *ProductServiceDelProductArgs) bool
func (*ProductServiceDelProductArgs) FastRead ¶
func (p *ProductServiceDelProductArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceDelProductArgs) FastReadField1 ¶
func (p *ProductServiceDelProductArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceDelProductArgs) FastWrite ¶
func (p *ProductServiceDelProductArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceDelProductArgs) FastWriteNocopy ¶
func (p *ProductServiceDelProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceDelProductArgs) Field1DeepEqual ¶
func (p *ProductServiceDelProductArgs) Field1DeepEqual(src *MallDelProductRequest) bool
func (*ProductServiceDelProductArgs) GetFirstArgument ¶
func (p *ProductServiceDelProductArgs) GetFirstArgument() interface{}
func (*ProductServiceDelProductArgs) GetReq ¶
func (p *ProductServiceDelProductArgs) GetReq() (v *MallDelProductRequest)
func (*ProductServiceDelProductArgs) InitDefault ¶
func (p *ProductServiceDelProductArgs) InitDefault()
func (*ProductServiceDelProductArgs) IsSetReq ¶
func (p *ProductServiceDelProductArgs) IsSetReq() bool
func (*ProductServiceDelProductArgs) Read ¶
func (p *ProductServiceDelProductArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceDelProductArgs) ReadField1 ¶
func (p *ProductServiceDelProductArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceDelProductArgs) SetReq ¶
func (p *ProductServiceDelProductArgs) SetReq(val *MallDelProductRequest)
func (*ProductServiceDelProductArgs) String ¶
func (p *ProductServiceDelProductArgs) String() string
type ProductServiceDelProductResult ¶
type ProductServiceDelProductResult struct {
Success *MallDelProductResponse `thrift:"success,0,optional" frugal:"0,optional,MallDelProductResponse" json:"success,omitempty"`
}
func NewProductServiceDelProductResult ¶
func NewProductServiceDelProductResult() *ProductServiceDelProductResult
func (*ProductServiceDelProductResult) BLength ¶
func (p *ProductServiceDelProductResult) BLength() int
func (*ProductServiceDelProductResult) DeepEqual ¶
func (p *ProductServiceDelProductResult) DeepEqual(ano *ProductServiceDelProductResult) bool
func (*ProductServiceDelProductResult) FastRead ¶
func (p *ProductServiceDelProductResult) FastRead(buf []byte) (int, error)
func (*ProductServiceDelProductResult) FastReadField0 ¶
func (p *ProductServiceDelProductResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceDelProductResult) FastWrite ¶
func (p *ProductServiceDelProductResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceDelProductResult) FastWriteNocopy ¶
func (p *ProductServiceDelProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceDelProductResult) Field0DeepEqual ¶
func (p *ProductServiceDelProductResult) Field0DeepEqual(src *MallDelProductResponse) bool
func (*ProductServiceDelProductResult) GetResult ¶
func (p *ProductServiceDelProductResult) GetResult() interface{}
func (*ProductServiceDelProductResult) GetSuccess ¶
func (p *ProductServiceDelProductResult) GetSuccess() (v *MallDelProductResponse)
func (*ProductServiceDelProductResult) InitDefault ¶
func (p *ProductServiceDelProductResult) InitDefault()
func (*ProductServiceDelProductResult) IsSetSuccess ¶
func (p *ProductServiceDelProductResult) IsSetSuccess() bool
func (*ProductServiceDelProductResult) Read ¶
func (p *ProductServiceDelProductResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceDelProductResult) ReadField0 ¶
func (p *ProductServiceDelProductResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceDelProductResult) SetSuccess ¶
func (p *ProductServiceDelProductResult) SetSuccess(x interface{})
func (*ProductServiceDelProductResult) String ¶
func (p *ProductServiceDelProductResult) String() string
type ProductServiceProcessor ¶
type ProductServiceProcessor struct {
// contains filtered or unexported fields
}
func NewProductServiceProcessor ¶
func NewProductServiceProcessor(handler ProductService) *ProductServiceProcessor
func (*ProductServiceProcessor) AddToProcessorMap ¶
func (p *ProductServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*ProductServiceProcessor) GetProcessorFunction ¶
func (p *ProductServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*ProductServiceProcessor) Process ¶
func (p *ProductServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*ProductServiceProcessor) ProcessorMap ¶
func (p *ProductServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type ProductServiceProductDetailArgs ¶
type ProductServiceProductDetailArgs struct {
Req *MallProductDetailRequest `thrift:"req,1" frugal:"1,default,MallProductDetailRequest" json:"req"`
}
func NewProductServiceProductDetailArgs ¶
func NewProductServiceProductDetailArgs() *ProductServiceProductDetailArgs
func (*ProductServiceProductDetailArgs) BLength ¶
func (p *ProductServiceProductDetailArgs) BLength() int
func (*ProductServiceProductDetailArgs) DeepEqual ¶
func (p *ProductServiceProductDetailArgs) DeepEqual(ano *ProductServiceProductDetailArgs) bool
func (*ProductServiceProductDetailArgs) FastRead ¶
func (p *ProductServiceProductDetailArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceProductDetailArgs) FastReadField1 ¶
func (p *ProductServiceProductDetailArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceProductDetailArgs) FastWrite ¶
func (p *ProductServiceProductDetailArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductDetailArgs) FastWriteNocopy ¶
func (p *ProductServiceProductDetailArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductDetailArgs) Field1DeepEqual ¶
func (p *ProductServiceProductDetailArgs) Field1DeepEqual(src *MallProductDetailRequest) bool
func (*ProductServiceProductDetailArgs) GetFirstArgument ¶
func (p *ProductServiceProductDetailArgs) GetFirstArgument() interface{}
func (*ProductServiceProductDetailArgs) GetReq ¶
func (p *ProductServiceProductDetailArgs) GetReq() (v *MallProductDetailRequest)
func (*ProductServiceProductDetailArgs) InitDefault ¶
func (p *ProductServiceProductDetailArgs) InitDefault()
func (*ProductServiceProductDetailArgs) IsSetReq ¶
func (p *ProductServiceProductDetailArgs) IsSetReq() bool
func (*ProductServiceProductDetailArgs) Read ¶
func (p *ProductServiceProductDetailArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductDetailArgs) ReadField1 ¶
func (p *ProductServiceProductDetailArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceProductDetailArgs) SetReq ¶
func (p *ProductServiceProductDetailArgs) SetReq(val *MallProductDetailRequest)
func (*ProductServiceProductDetailArgs) String ¶
func (p *ProductServiceProductDetailArgs) String() string
type ProductServiceProductDetailResult ¶
type ProductServiceProductDetailResult struct {
Success *MallProductDetailResponse `thrift:"success,0,optional" frugal:"0,optional,MallProductDetailResponse" json:"success,omitempty"`
}
func NewProductServiceProductDetailResult ¶
func NewProductServiceProductDetailResult() *ProductServiceProductDetailResult
func (*ProductServiceProductDetailResult) BLength ¶
func (p *ProductServiceProductDetailResult) BLength() int
func (*ProductServiceProductDetailResult) DeepEqual ¶
func (p *ProductServiceProductDetailResult) DeepEqual(ano *ProductServiceProductDetailResult) bool
func (*ProductServiceProductDetailResult) FastRead ¶
func (p *ProductServiceProductDetailResult) FastRead(buf []byte) (int, error)
func (*ProductServiceProductDetailResult) FastReadField0 ¶
func (p *ProductServiceProductDetailResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceProductDetailResult) FastWrite ¶
func (p *ProductServiceProductDetailResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductDetailResult) FastWriteNocopy ¶
func (p *ProductServiceProductDetailResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductDetailResult) Field0DeepEqual ¶
func (p *ProductServiceProductDetailResult) Field0DeepEqual(src *MallProductDetailResponse) bool
func (*ProductServiceProductDetailResult) GetResult ¶
func (p *ProductServiceProductDetailResult) GetResult() interface{}
func (*ProductServiceProductDetailResult) GetSuccess ¶
func (p *ProductServiceProductDetailResult) GetSuccess() (v *MallProductDetailResponse)
func (*ProductServiceProductDetailResult) InitDefault ¶
func (p *ProductServiceProductDetailResult) InitDefault()
func (*ProductServiceProductDetailResult) IsSetSuccess ¶
func (p *ProductServiceProductDetailResult) IsSetSuccess() bool
func (*ProductServiceProductDetailResult) Read ¶
func (p *ProductServiceProductDetailResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductDetailResult) ReadField0 ¶
func (p *ProductServiceProductDetailResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceProductDetailResult) SetSuccess ¶
func (p *ProductServiceProductDetailResult) SetSuccess(x interface{})
func (*ProductServiceProductDetailResult) String ¶
func (p *ProductServiceProductDetailResult) String() string
type ProductServiceProductFavoriteListArgs ¶
type ProductServiceProductFavoriteListArgs struct {
Req *MallProductFavoriteListRequest `thrift:"req,1" frugal:"1,default,MallProductFavoriteListRequest" json:"req"`
}
func NewProductServiceProductFavoriteListArgs ¶
func NewProductServiceProductFavoriteListArgs() *ProductServiceProductFavoriteListArgs
func (*ProductServiceProductFavoriteListArgs) BLength ¶
func (p *ProductServiceProductFavoriteListArgs) BLength() int
func (*ProductServiceProductFavoriteListArgs) DeepEqual ¶
func (p *ProductServiceProductFavoriteListArgs) DeepEqual(ano *ProductServiceProductFavoriteListArgs) bool
func (*ProductServiceProductFavoriteListArgs) FastRead ¶
func (p *ProductServiceProductFavoriteListArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceProductFavoriteListArgs) FastReadField1 ¶
func (p *ProductServiceProductFavoriteListArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceProductFavoriteListArgs) FastWrite ¶
func (p *ProductServiceProductFavoriteListArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductFavoriteListArgs) FastWriteNocopy ¶
func (p *ProductServiceProductFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductFavoriteListArgs) Field1DeepEqual ¶
func (p *ProductServiceProductFavoriteListArgs) Field1DeepEqual(src *MallProductFavoriteListRequest) bool
func (*ProductServiceProductFavoriteListArgs) GetFirstArgument ¶
func (p *ProductServiceProductFavoriteListArgs) GetFirstArgument() interface{}
func (*ProductServiceProductFavoriteListArgs) GetReq ¶
func (p *ProductServiceProductFavoriteListArgs) GetReq() (v *MallProductFavoriteListRequest)
func (*ProductServiceProductFavoriteListArgs) InitDefault ¶
func (p *ProductServiceProductFavoriteListArgs) InitDefault()
func (*ProductServiceProductFavoriteListArgs) IsSetReq ¶
func (p *ProductServiceProductFavoriteListArgs) IsSetReq() bool
func (*ProductServiceProductFavoriteListArgs) Read ¶
func (p *ProductServiceProductFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductFavoriteListArgs) ReadField1 ¶
func (p *ProductServiceProductFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceProductFavoriteListArgs) SetReq ¶
func (p *ProductServiceProductFavoriteListArgs) SetReq(val *MallProductFavoriteListRequest)
func (*ProductServiceProductFavoriteListArgs) String ¶
func (p *ProductServiceProductFavoriteListArgs) String() string
type ProductServiceProductFavoriteListResult ¶
type ProductServiceProductFavoriteListResult struct {
Success *MallProductFavoriteListResponse `thrift:"success,0,optional" frugal:"0,optional,MallProductFavoriteListResponse" json:"success,omitempty"`
}
func NewProductServiceProductFavoriteListResult ¶
func NewProductServiceProductFavoriteListResult() *ProductServiceProductFavoriteListResult
func (*ProductServiceProductFavoriteListResult) BLength ¶
func (p *ProductServiceProductFavoriteListResult) BLength() int
func (*ProductServiceProductFavoriteListResult) DeepEqual ¶
func (p *ProductServiceProductFavoriteListResult) DeepEqual(ano *ProductServiceProductFavoriteListResult) bool
func (*ProductServiceProductFavoriteListResult) FastRead ¶
func (p *ProductServiceProductFavoriteListResult) FastRead(buf []byte) (int, error)
func (*ProductServiceProductFavoriteListResult) FastReadField0 ¶
func (p *ProductServiceProductFavoriteListResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceProductFavoriteListResult) FastWrite ¶
func (p *ProductServiceProductFavoriteListResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductFavoriteListResult) FastWriteNocopy ¶
func (p *ProductServiceProductFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductFavoriteListResult) Field0DeepEqual ¶
func (p *ProductServiceProductFavoriteListResult) Field0DeepEqual(src *MallProductFavoriteListResponse) bool
func (*ProductServiceProductFavoriteListResult) GetResult ¶
func (p *ProductServiceProductFavoriteListResult) GetResult() interface{}
func (*ProductServiceProductFavoriteListResult) GetSuccess ¶
func (p *ProductServiceProductFavoriteListResult) GetSuccess() (v *MallProductFavoriteListResponse)
func (*ProductServiceProductFavoriteListResult) InitDefault ¶
func (p *ProductServiceProductFavoriteListResult) InitDefault()
func (*ProductServiceProductFavoriteListResult) IsSetSuccess ¶
func (p *ProductServiceProductFavoriteListResult) IsSetSuccess() bool
func (*ProductServiceProductFavoriteListResult) Read ¶
func (p *ProductServiceProductFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductFavoriteListResult) ReadField0 ¶
func (p *ProductServiceProductFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceProductFavoriteListResult) SetSuccess ¶
func (p *ProductServiceProductFavoriteListResult) SetSuccess(x interface{})
func (*ProductServiceProductFavoriteListResult) String ¶
func (p *ProductServiceProductFavoriteListResult) String() string
type ProductServiceProductListArgs ¶
type ProductServiceProductListArgs struct {
Req *MallProductListRequest `thrift:"req,1" frugal:"1,default,MallProductListRequest" json:"req"`
}
func NewProductServiceProductListArgs ¶
func NewProductServiceProductListArgs() *ProductServiceProductListArgs
func (*ProductServiceProductListArgs) BLength ¶
func (p *ProductServiceProductListArgs) BLength() int
func (*ProductServiceProductListArgs) DeepEqual ¶
func (p *ProductServiceProductListArgs) DeepEqual(ano *ProductServiceProductListArgs) bool
func (*ProductServiceProductListArgs) FastRead ¶
func (p *ProductServiceProductListArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceProductListArgs) FastReadField1 ¶
func (p *ProductServiceProductListArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceProductListArgs) FastWrite ¶
func (p *ProductServiceProductListArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductListArgs) FastWriteNocopy ¶
func (p *ProductServiceProductListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductListArgs) Field1DeepEqual ¶
func (p *ProductServiceProductListArgs) Field1DeepEqual(src *MallProductListRequest) bool
func (*ProductServiceProductListArgs) GetFirstArgument ¶
func (p *ProductServiceProductListArgs) GetFirstArgument() interface{}
func (*ProductServiceProductListArgs) GetReq ¶
func (p *ProductServiceProductListArgs) GetReq() (v *MallProductListRequest)
func (*ProductServiceProductListArgs) InitDefault ¶
func (p *ProductServiceProductListArgs) InitDefault()
func (*ProductServiceProductListArgs) IsSetReq ¶
func (p *ProductServiceProductListArgs) IsSetReq() bool
func (*ProductServiceProductListArgs) Read ¶
func (p *ProductServiceProductListArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductListArgs) ReadField1 ¶
func (p *ProductServiceProductListArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceProductListArgs) SetReq ¶
func (p *ProductServiceProductListArgs) SetReq(val *MallProductListRequest)
func (*ProductServiceProductListArgs) String ¶
func (p *ProductServiceProductListArgs) String() string
type ProductServiceProductListResult ¶
type ProductServiceProductListResult struct {
Success *MallProductListResponse `thrift:"success,0,optional" frugal:"0,optional,MallProductListResponse" json:"success,omitempty"`
}
func NewProductServiceProductListResult ¶
func NewProductServiceProductListResult() *ProductServiceProductListResult
func (*ProductServiceProductListResult) BLength ¶
func (p *ProductServiceProductListResult) BLength() int
func (*ProductServiceProductListResult) DeepEqual ¶
func (p *ProductServiceProductListResult) DeepEqual(ano *ProductServiceProductListResult) bool
func (*ProductServiceProductListResult) FastRead ¶
func (p *ProductServiceProductListResult) FastRead(buf []byte) (int, error)
func (*ProductServiceProductListResult) FastReadField0 ¶
func (p *ProductServiceProductListResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceProductListResult) FastWrite ¶
func (p *ProductServiceProductListResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceProductListResult) FastWriteNocopy ¶
func (p *ProductServiceProductListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceProductListResult) Field0DeepEqual ¶
func (p *ProductServiceProductListResult) Field0DeepEqual(src *MallProductListResponse) bool
func (*ProductServiceProductListResult) GetResult ¶
func (p *ProductServiceProductListResult) GetResult() interface{}
func (*ProductServiceProductListResult) GetSuccess ¶
func (p *ProductServiceProductListResult) GetSuccess() (v *MallProductListResponse)
func (*ProductServiceProductListResult) InitDefault ¶
func (p *ProductServiceProductListResult) InitDefault()
func (*ProductServiceProductListResult) IsSetSuccess ¶
func (p *ProductServiceProductListResult) IsSetSuccess() bool
func (*ProductServiceProductListResult) Read ¶
func (p *ProductServiceProductListResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceProductListResult) ReadField0 ¶
func (p *ProductServiceProductListResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceProductListResult) SetSuccess ¶
func (p *ProductServiceProductListResult) SetSuccess(x interface{})
func (*ProductServiceProductListResult) String ¶
func (p *ProductServiceProductListResult) String() string
type ProductServicePublishProductArgs ¶
type ProductServicePublishProductArgs struct {
Req *MallPublishProductRequest `thrift:"req,1" frugal:"1,default,MallPublishProductRequest" json:"req"`
}
func NewProductServicePublishProductArgs ¶
func NewProductServicePublishProductArgs() *ProductServicePublishProductArgs
func (*ProductServicePublishProductArgs) BLength ¶
func (p *ProductServicePublishProductArgs) BLength() int
func (*ProductServicePublishProductArgs) DeepEqual ¶
func (p *ProductServicePublishProductArgs) DeepEqual(ano *ProductServicePublishProductArgs) bool
func (*ProductServicePublishProductArgs) FastRead ¶
func (p *ProductServicePublishProductArgs) FastRead(buf []byte) (int, error)
func (*ProductServicePublishProductArgs) FastReadField1 ¶
func (p *ProductServicePublishProductArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServicePublishProductArgs) FastWrite ¶
func (p *ProductServicePublishProductArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServicePublishProductArgs) FastWriteNocopy ¶
func (p *ProductServicePublishProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServicePublishProductArgs) Field1DeepEqual ¶
func (p *ProductServicePublishProductArgs) Field1DeepEqual(src *MallPublishProductRequest) bool
func (*ProductServicePublishProductArgs) GetFirstArgument ¶
func (p *ProductServicePublishProductArgs) GetFirstArgument() interface{}
func (*ProductServicePublishProductArgs) GetReq ¶
func (p *ProductServicePublishProductArgs) GetReq() (v *MallPublishProductRequest)
func (*ProductServicePublishProductArgs) InitDefault ¶
func (p *ProductServicePublishProductArgs) InitDefault()
func (*ProductServicePublishProductArgs) IsSetReq ¶
func (p *ProductServicePublishProductArgs) IsSetReq() bool
func (*ProductServicePublishProductArgs) Read ¶
func (p *ProductServicePublishProductArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServicePublishProductArgs) ReadField1 ¶
func (p *ProductServicePublishProductArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServicePublishProductArgs) SetReq ¶
func (p *ProductServicePublishProductArgs) SetReq(val *MallPublishProductRequest)
func (*ProductServicePublishProductArgs) String ¶
func (p *ProductServicePublishProductArgs) String() string
type ProductServicePublishProductResult ¶
type ProductServicePublishProductResult struct {
Success *MallPublishProductResponse `thrift:"success,0,optional" frugal:"0,optional,MallPublishProductResponse" json:"success,omitempty"`
}
func NewProductServicePublishProductResult ¶
func NewProductServicePublishProductResult() *ProductServicePublishProductResult
func (*ProductServicePublishProductResult) BLength ¶
func (p *ProductServicePublishProductResult) BLength() int
func (*ProductServicePublishProductResult) DeepEqual ¶
func (p *ProductServicePublishProductResult) DeepEqual(ano *ProductServicePublishProductResult) bool
func (*ProductServicePublishProductResult) FastRead ¶
func (p *ProductServicePublishProductResult) FastRead(buf []byte) (int, error)
func (*ProductServicePublishProductResult) FastReadField0 ¶
func (p *ProductServicePublishProductResult) FastReadField0(buf []byte) (int, error)
func (*ProductServicePublishProductResult) FastWrite ¶
func (p *ProductServicePublishProductResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServicePublishProductResult) FastWriteNocopy ¶
func (p *ProductServicePublishProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServicePublishProductResult) Field0DeepEqual ¶
func (p *ProductServicePublishProductResult) Field0DeepEqual(src *MallPublishProductResponse) bool
func (*ProductServicePublishProductResult) GetResult ¶
func (p *ProductServicePublishProductResult) GetResult() interface{}
func (*ProductServicePublishProductResult) GetSuccess ¶
func (p *ProductServicePublishProductResult) GetSuccess() (v *MallPublishProductResponse)
func (*ProductServicePublishProductResult) InitDefault ¶
func (p *ProductServicePublishProductResult) InitDefault()
func (*ProductServicePublishProductResult) IsSetSuccess ¶
func (p *ProductServicePublishProductResult) IsSetSuccess() bool
func (*ProductServicePublishProductResult) Read ¶
func (p *ProductServicePublishProductResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServicePublishProductResult) ReadField0 ¶
func (p *ProductServicePublishProductResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServicePublishProductResult) SetSuccess ¶
func (p *ProductServicePublishProductResult) SetSuccess(x interface{})
func (*ProductServicePublishProductResult) String ¶
func (p *ProductServicePublishProductResult) String() string
type ProductServicePublishedProductsArgs ¶
type ProductServicePublishedProductsArgs struct {
Req *MallProductPublishedListRequest `thrift:"req,1" frugal:"1,default,MallProductPublishedListRequest" json:"req"`
}
func NewProductServicePublishedProductsArgs ¶
func NewProductServicePublishedProductsArgs() *ProductServicePublishedProductsArgs
func (*ProductServicePublishedProductsArgs) BLength ¶
func (p *ProductServicePublishedProductsArgs) BLength() int
func (*ProductServicePublishedProductsArgs) DeepEqual ¶
func (p *ProductServicePublishedProductsArgs) DeepEqual(ano *ProductServicePublishedProductsArgs) bool
func (*ProductServicePublishedProductsArgs) FastRead ¶
func (p *ProductServicePublishedProductsArgs) FastRead(buf []byte) (int, error)
func (*ProductServicePublishedProductsArgs) FastReadField1 ¶
func (p *ProductServicePublishedProductsArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServicePublishedProductsArgs) FastWrite ¶
func (p *ProductServicePublishedProductsArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServicePublishedProductsArgs) FastWriteNocopy ¶
func (p *ProductServicePublishedProductsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServicePublishedProductsArgs) Field1DeepEqual ¶
func (p *ProductServicePublishedProductsArgs) Field1DeepEqual(src *MallProductPublishedListRequest) bool
func (*ProductServicePublishedProductsArgs) GetFirstArgument ¶
func (p *ProductServicePublishedProductsArgs) GetFirstArgument() interface{}
func (*ProductServicePublishedProductsArgs) GetReq ¶
func (p *ProductServicePublishedProductsArgs) GetReq() (v *MallProductPublishedListRequest)
func (*ProductServicePublishedProductsArgs) InitDefault ¶
func (p *ProductServicePublishedProductsArgs) InitDefault()
func (*ProductServicePublishedProductsArgs) IsSetReq ¶
func (p *ProductServicePublishedProductsArgs) IsSetReq() bool
func (*ProductServicePublishedProductsArgs) Read ¶
func (p *ProductServicePublishedProductsArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServicePublishedProductsArgs) ReadField1 ¶
func (p *ProductServicePublishedProductsArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServicePublishedProductsArgs) SetReq ¶
func (p *ProductServicePublishedProductsArgs) SetReq(val *MallProductPublishedListRequest)
func (*ProductServicePublishedProductsArgs) String ¶
func (p *ProductServicePublishedProductsArgs) String() string
type ProductServicePublishedProductsResult ¶
type ProductServicePublishedProductsResult struct {
Success *MallProductPublishedListResponse `thrift:"success,0,optional" frugal:"0,optional,MallProductPublishedListResponse" json:"success,omitempty"`
}
func NewProductServicePublishedProductsResult ¶
func NewProductServicePublishedProductsResult() *ProductServicePublishedProductsResult
func (*ProductServicePublishedProductsResult) BLength ¶
func (p *ProductServicePublishedProductsResult) BLength() int
func (*ProductServicePublishedProductsResult) DeepEqual ¶
func (p *ProductServicePublishedProductsResult) DeepEqual(ano *ProductServicePublishedProductsResult) bool
func (*ProductServicePublishedProductsResult) FastRead ¶
func (p *ProductServicePublishedProductsResult) FastRead(buf []byte) (int, error)
func (*ProductServicePublishedProductsResult) FastReadField0 ¶
func (p *ProductServicePublishedProductsResult) FastReadField0(buf []byte) (int, error)
func (*ProductServicePublishedProductsResult) FastWrite ¶
func (p *ProductServicePublishedProductsResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServicePublishedProductsResult) FastWriteNocopy ¶
func (p *ProductServicePublishedProductsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServicePublishedProductsResult) Field0DeepEqual ¶
func (p *ProductServicePublishedProductsResult) Field0DeepEqual(src *MallProductPublishedListResponse) bool
func (*ProductServicePublishedProductsResult) GetResult ¶
func (p *ProductServicePublishedProductsResult) GetResult() interface{}
func (*ProductServicePublishedProductsResult) GetSuccess ¶
func (p *ProductServicePublishedProductsResult) GetSuccess() (v *MallProductPublishedListResponse)
func (*ProductServicePublishedProductsResult) InitDefault ¶
func (p *ProductServicePublishedProductsResult) InitDefault()
func (*ProductServicePublishedProductsResult) IsSetSuccess ¶
func (p *ProductServicePublishedProductsResult) IsSetSuccess() bool
func (*ProductServicePublishedProductsResult) Read ¶
func (p *ProductServicePublishedProductsResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServicePublishedProductsResult) ReadField0 ¶
func (p *ProductServicePublishedProductsResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServicePublishedProductsResult) SetSuccess ¶
func (p *ProductServicePublishedProductsResult) SetSuccess(x interface{})
func (*ProductServicePublishedProductsResult) String ¶
func (p *ProductServicePublishedProductsResult) String() string
type ProductServiceSearchProductArgs ¶
type ProductServiceSearchProductArgs struct {
Req *MallSearchProductRequest `thrift:"req,1" frugal:"1,default,MallSearchProductRequest" json:"req"`
}
func NewProductServiceSearchProductArgs ¶
func NewProductServiceSearchProductArgs() *ProductServiceSearchProductArgs
func (*ProductServiceSearchProductArgs) BLength ¶
func (p *ProductServiceSearchProductArgs) BLength() int
func (*ProductServiceSearchProductArgs) DeepEqual ¶
func (p *ProductServiceSearchProductArgs) DeepEqual(ano *ProductServiceSearchProductArgs) bool
func (*ProductServiceSearchProductArgs) FastRead ¶
func (p *ProductServiceSearchProductArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceSearchProductArgs) FastReadField1 ¶
func (p *ProductServiceSearchProductArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceSearchProductArgs) FastWrite ¶
func (p *ProductServiceSearchProductArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceSearchProductArgs) FastWriteNocopy ¶
func (p *ProductServiceSearchProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceSearchProductArgs) Field1DeepEqual ¶
func (p *ProductServiceSearchProductArgs) Field1DeepEqual(src *MallSearchProductRequest) bool
func (*ProductServiceSearchProductArgs) GetFirstArgument ¶
func (p *ProductServiceSearchProductArgs) GetFirstArgument() interface{}
func (*ProductServiceSearchProductArgs) GetReq ¶
func (p *ProductServiceSearchProductArgs) GetReq() (v *MallSearchProductRequest)
func (*ProductServiceSearchProductArgs) InitDefault ¶
func (p *ProductServiceSearchProductArgs) InitDefault()
func (*ProductServiceSearchProductArgs) IsSetReq ¶
func (p *ProductServiceSearchProductArgs) IsSetReq() bool
func (*ProductServiceSearchProductArgs) Read ¶
func (p *ProductServiceSearchProductArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceSearchProductArgs) ReadField1 ¶
func (p *ProductServiceSearchProductArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceSearchProductArgs) SetReq ¶
func (p *ProductServiceSearchProductArgs) SetReq(val *MallSearchProductRequest)
func (*ProductServiceSearchProductArgs) String ¶
func (p *ProductServiceSearchProductArgs) String() string
type ProductServiceSearchProductResult ¶
type ProductServiceSearchProductResult struct {
Success *MallSearchProductResponse `thrift:"success,0,optional" frugal:"0,optional,MallSearchProductResponse" json:"success,omitempty"`
}
func NewProductServiceSearchProductResult ¶
func NewProductServiceSearchProductResult() *ProductServiceSearchProductResult
func (*ProductServiceSearchProductResult) BLength ¶
func (p *ProductServiceSearchProductResult) BLength() int
func (*ProductServiceSearchProductResult) DeepEqual ¶
func (p *ProductServiceSearchProductResult) DeepEqual(ano *ProductServiceSearchProductResult) bool
func (*ProductServiceSearchProductResult) FastRead ¶
func (p *ProductServiceSearchProductResult) FastRead(buf []byte) (int, error)
func (*ProductServiceSearchProductResult) FastReadField0 ¶
func (p *ProductServiceSearchProductResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceSearchProductResult) FastWrite ¶
func (p *ProductServiceSearchProductResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceSearchProductResult) FastWriteNocopy ¶
func (p *ProductServiceSearchProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceSearchProductResult) Field0DeepEqual ¶
func (p *ProductServiceSearchProductResult) Field0DeepEqual(src *MallSearchProductResponse) bool
func (*ProductServiceSearchProductResult) GetResult ¶
func (p *ProductServiceSearchProductResult) GetResult() interface{}
func (*ProductServiceSearchProductResult) GetSuccess ¶
func (p *ProductServiceSearchProductResult) GetSuccess() (v *MallSearchProductResponse)
func (*ProductServiceSearchProductResult) InitDefault ¶
func (p *ProductServiceSearchProductResult) InitDefault()
func (*ProductServiceSearchProductResult) IsSetSuccess ¶
func (p *ProductServiceSearchProductResult) IsSetSuccess() bool
func (*ProductServiceSearchProductResult) Read ¶
func (p *ProductServiceSearchProductResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceSearchProductResult) ReadField0 ¶
func (p *ProductServiceSearchProductResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceSearchProductResult) SetSuccess ¶
func (p *ProductServiceSearchProductResult) SetSuccess(x interface{})
func (*ProductServiceSearchProductResult) String ¶
func (p *ProductServiceSearchProductResult) String() string
type ProductServiceUpdateProductArgs ¶
type ProductServiceUpdateProductArgs struct {
Req *MallUpdateProductRequest `thrift:"req,1" frugal:"1,default,MallUpdateProductRequest" json:"req"`
}
func NewProductServiceUpdateProductArgs ¶
func NewProductServiceUpdateProductArgs() *ProductServiceUpdateProductArgs
func (*ProductServiceUpdateProductArgs) BLength ¶
func (p *ProductServiceUpdateProductArgs) BLength() int
func (*ProductServiceUpdateProductArgs) DeepEqual ¶
func (p *ProductServiceUpdateProductArgs) DeepEqual(ano *ProductServiceUpdateProductArgs) bool
func (*ProductServiceUpdateProductArgs) FastRead ¶
func (p *ProductServiceUpdateProductArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceUpdateProductArgs) FastReadField1 ¶
func (p *ProductServiceUpdateProductArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceUpdateProductArgs) FastWrite ¶
func (p *ProductServiceUpdateProductArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceUpdateProductArgs) FastWriteNocopy ¶
func (p *ProductServiceUpdateProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceUpdateProductArgs) Field1DeepEqual ¶
func (p *ProductServiceUpdateProductArgs) Field1DeepEqual(src *MallUpdateProductRequest) bool
func (*ProductServiceUpdateProductArgs) GetFirstArgument ¶
func (p *ProductServiceUpdateProductArgs) GetFirstArgument() interface{}
func (*ProductServiceUpdateProductArgs) GetReq ¶
func (p *ProductServiceUpdateProductArgs) GetReq() (v *MallUpdateProductRequest)
func (*ProductServiceUpdateProductArgs) InitDefault ¶
func (p *ProductServiceUpdateProductArgs) InitDefault()
func (*ProductServiceUpdateProductArgs) IsSetReq ¶
func (p *ProductServiceUpdateProductArgs) IsSetReq() bool
func (*ProductServiceUpdateProductArgs) Read ¶
func (p *ProductServiceUpdateProductArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceUpdateProductArgs) ReadField1 ¶
func (p *ProductServiceUpdateProductArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceUpdateProductArgs) SetReq ¶
func (p *ProductServiceUpdateProductArgs) SetReq(val *MallUpdateProductRequest)
func (*ProductServiceUpdateProductArgs) String ¶
func (p *ProductServiceUpdateProductArgs) String() string
type ProductServiceUpdateProductResult ¶
type ProductServiceUpdateProductResult struct {
Success *MallUpdateProductResponse `thrift:"success,0,optional" frugal:"0,optional,MallUpdateProductResponse" json:"success,omitempty"`
}
func NewProductServiceUpdateProductResult ¶
func NewProductServiceUpdateProductResult() *ProductServiceUpdateProductResult
func (*ProductServiceUpdateProductResult) BLength ¶
func (p *ProductServiceUpdateProductResult) BLength() int
func (*ProductServiceUpdateProductResult) DeepEqual ¶
func (p *ProductServiceUpdateProductResult) DeepEqual(ano *ProductServiceUpdateProductResult) bool
func (*ProductServiceUpdateProductResult) FastRead ¶
func (p *ProductServiceUpdateProductResult) FastRead(buf []byte) (int, error)
func (*ProductServiceUpdateProductResult) FastReadField0 ¶
func (p *ProductServiceUpdateProductResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceUpdateProductResult) FastWrite ¶
func (p *ProductServiceUpdateProductResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceUpdateProductResult) FastWriteNocopy ¶
func (p *ProductServiceUpdateProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceUpdateProductResult) Field0DeepEqual ¶
func (p *ProductServiceUpdateProductResult) Field0DeepEqual(src *MallUpdateProductResponse) bool
func (*ProductServiceUpdateProductResult) GetResult ¶
func (p *ProductServiceUpdateProductResult) GetResult() interface{}
func (*ProductServiceUpdateProductResult) GetSuccess ¶
func (p *ProductServiceUpdateProductResult) GetSuccess() (v *MallUpdateProductResponse)
func (*ProductServiceUpdateProductResult) InitDefault ¶
func (p *ProductServiceUpdateProductResult) InitDefault()
func (*ProductServiceUpdateProductResult) IsSetSuccess ¶
func (p *ProductServiceUpdateProductResult) IsSetSuccess() bool
func (*ProductServiceUpdateProductResult) Read ¶
func (p *ProductServiceUpdateProductResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceUpdateProductResult) ReadField0 ¶
func (p *ProductServiceUpdateProductResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceUpdateProductResult) SetSuccess ¶
func (p *ProductServiceUpdateProductResult) SetSuccess(x interface{})
func (*ProductServiceUpdateProductResult) String ¶
func (p *ProductServiceUpdateProductResult) String() string
type ProductServiceUpdateStockArgs ¶
type ProductServiceUpdateStockArgs struct {
Req *MallUpdateStockRequest `thrift:"req,1" frugal:"1,default,MallUpdateStockRequest" json:"req"`
}
func NewProductServiceUpdateStockArgs ¶
func NewProductServiceUpdateStockArgs() *ProductServiceUpdateStockArgs
func (*ProductServiceUpdateStockArgs) BLength ¶
func (p *ProductServiceUpdateStockArgs) BLength() int
func (*ProductServiceUpdateStockArgs) DeepEqual ¶
func (p *ProductServiceUpdateStockArgs) DeepEqual(ano *ProductServiceUpdateStockArgs) bool
func (*ProductServiceUpdateStockArgs) FastRead ¶
func (p *ProductServiceUpdateStockArgs) FastRead(buf []byte) (int, error)
func (*ProductServiceUpdateStockArgs) FastReadField1 ¶
func (p *ProductServiceUpdateStockArgs) FastReadField1(buf []byte) (int, error)
func (*ProductServiceUpdateStockArgs) FastWrite ¶
func (p *ProductServiceUpdateStockArgs) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceUpdateStockArgs) FastWriteNocopy ¶
func (p *ProductServiceUpdateStockArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceUpdateStockArgs) Field1DeepEqual ¶
func (p *ProductServiceUpdateStockArgs) Field1DeepEqual(src *MallUpdateStockRequest) bool
func (*ProductServiceUpdateStockArgs) GetFirstArgument ¶
func (p *ProductServiceUpdateStockArgs) GetFirstArgument() interface{}
func (*ProductServiceUpdateStockArgs) GetReq ¶
func (p *ProductServiceUpdateStockArgs) GetReq() (v *MallUpdateStockRequest)
func (*ProductServiceUpdateStockArgs) InitDefault ¶
func (p *ProductServiceUpdateStockArgs) InitDefault()
func (*ProductServiceUpdateStockArgs) IsSetReq ¶
func (p *ProductServiceUpdateStockArgs) IsSetReq() bool
func (*ProductServiceUpdateStockArgs) Read ¶
func (p *ProductServiceUpdateStockArgs) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceUpdateStockArgs) ReadField1 ¶
func (p *ProductServiceUpdateStockArgs) ReadField1(iprot thrift.TProtocol) error
func (*ProductServiceUpdateStockArgs) SetReq ¶
func (p *ProductServiceUpdateStockArgs) SetReq(val *MallUpdateStockRequest)
func (*ProductServiceUpdateStockArgs) String ¶
func (p *ProductServiceUpdateStockArgs) String() string
type ProductServiceUpdateStockResult ¶
type ProductServiceUpdateStockResult struct {
Success *MallUpdateStockResponse `thrift:"success,0,optional" frugal:"0,optional,MallUpdateStockResponse" json:"success,omitempty"`
}
func NewProductServiceUpdateStockResult ¶
func NewProductServiceUpdateStockResult() *ProductServiceUpdateStockResult
func (*ProductServiceUpdateStockResult) BLength ¶
func (p *ProductServiceUpdateStockResult) BLength() int
func (*ProductServiceUpdateStockResult) DeepEqual ¶
func (p *ProductServiceUpdateStockResult) DeepEqual(ano *ProductServiceUpdateStockResult) bool
func (*ProductServiceUpdateStockResult) FastRead ¶
func (p *ProductServiceUpdateStockResult) FastRead(buf []byte) (int, error)
func (*ProductServiceUpdateStockResult) FastReadField0 ¶
func (p *ProductServiceUpdateStockResult) FastReadField0(buf []byte) (int, error)
func (*ProductServiceUpdateStockResult) FastWrite ¶
func (p *ProductServiceUpdateStockResult) FastWrite(buf []byte) int
for compatibility
func (*ProductServiceUpdateStockResult) FastWriteNocopy ¶
func (p *ProductServiceUpdateStockResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProductServiceUpdateStockResult) Field0DeepEqual ¶
func (p *ProductServiceUpdateStockResult) Field0DeepEqual(src *MallUpdateStockResponse) bool
func (*ProductServiceUpdateStockResult) GetResult ¶
func (p *ProductServiceUpdateStockResult) GetResult() interface{}
func (*ProductServiceUpdateStockResult) GetSuccess ¶
func (p *ProductServiceUpdateStockResult) GetSuccess() (v *MallUpdateStockResponse)
func (*ProductServiceUpdateStockResult) InitDefault ¶
func (p *ProductServiceUpdateStockResult) InitDefault()
func (*ProductServiceUpdateStockResult) IsSetSuccess ¶
func (p *ProductServiceUpdateStockResult) IsSetSuccess() bool
func (*ProductServiceUpdateStockResult) Read ¶
func (p *ProductServiceUpdateStockResult) Read(iprot thrift.TProtocol) (err error)
func (*ProductServiceUpdateStockResult) ReadField0 ¶
func (p *ProductServiceUpdateStockResult) ReadField0(iprot thrift.TProtocol) error
func (*ProductServiceUpdateStockResult) SetSuccess ¶
func (p *ProductServiceUpdateStockResult) SetSuccess(x interface{})
func (*ProductServiceUpdateStockResult) String ¶
func (p *ProductServiceUpdateStockResult) String() string