Documentation ¶
Index ¶
- Variables
- type MallFavoriteProductRequest
- func (p *MallFavoriteProductRequest) BLength() int
- func (p *MallFavoriteProductRequest) DeepEqual(ano *MallFavoriteProductRequest) bool
- func (p *MallFavoriteProductRequest) FastRead(buf []byte) (int, error)
- func (p *MallFavoriteProductRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallFavoriteProductRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallFavoriteProductRequest) FastWrite(buf []byte) int
- func (p *MallFavoriteProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallFavoriteProductRequest) Field1DeepEqual(src int64) bool
- func (p *MallFavoriteProductRequest) Field2DeepEqual(src int64) bool
- func (p *MallFavoriteProductRequest) GetProductId() (v int64)
- func (p *MallFavoriteProductRequest) GetUserId() (v int64)
- func (p *MallFavoriteProductRequest) InitDefault()
- func (p *MallFavoriteProductRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallFavoriteProductRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallFavoriteProductRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallFavoriteProductRequest) SetProductId(val int64)
- func (p *MallFavoriteProductRequest) SetUserId(val int64)
- func (p *MallFavoriteProductRequest) String() string
- func (p *MallFavoriteProductRequest) Write(oprot thrift.TProtocol) (err error)
- type MallFavoriteProductResponse
- func (p *MallFavoriteProductResponse) BLength() int
- func (p *MallFavoriteProductResponse) DeepEqual(ano *MallFavoriteProductResponse) bool
- func (p *MallFavoriteProductResponse) FastRead(buf []byte) (int, error)
- func (p *MallFavoriteProductResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallFavoriteProductResponse) FastWrite(buf []byte) int
- func (p *MallFavoriteProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallFavoriteProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallFavoriteProductResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallFavoriteProductResponse) InitDefault()
- func (p *MallFavoriteProductResponse) IsSetCommonResp() bool
- func (p *MallFavoriteProductResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallFavoriteProductResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallFavoriteProductResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallFavoriteProductResponse) String() string
- func (p *MallFavoriteProductResponse) Write(oprot thrift.TProtocol) (err error)
- type MallGetProductOperateInfoRequest
- func (p *MallGetProductOperateInfoRequest) BLength() int
- func (p *MallGetProductOperateInfoRequest) DeepEqual(ano *MallGetProductOperateInfoRequest) bool
- func (p *MallGetProductOperateInfoRequest) FastRead(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoRequest) FastReadField1(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoRequest) FastReadField2(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoRequest) FastWrite(buf []byte) int
- func (p *MallGetProductOperateInfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallGetProductOperateInfoRequest) Field1DeepEqual(src int64) bool
- func (p *MallGetProductOperateInfoRequest) Field2DeepEqual(src int64) bool
- func (p *MallGetProductOperateInfoRequest) GetProductId() (v int64)
- func (p *MallGetProductOperateInfoRequest) GetUserId() (v int64)
- func (p *MallGetProductOperateInfoRequest) InitDefault()
- func (p *MallGetProductOperateInfoRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MallGetProductOperateInfoRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MallGetProductOperateInfoRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MallGetProductOperateInfoRequest) SetProductId(val int64)
- func (p *MallGetProductOperateInfoRequest) SetUserId(val int64)
- func (p *MallGetProductOperateInfoRequest) String() string
- func (p *MallGetProductOperateInfoRequest) Write(oprot thrift.TProtocol) (err error)
- type MallGetProductOperateInfoResponse
- func (p *MallGetProductOperateInfoResponse) BLength() int
- func (p *MallGetProductOperateInfoResponse) DeepEqual(ano *MallGetProductOperateInfoResponse) bool
- func (p *MallGetProductOperateInfoResponse) FastRead(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoResponse) FastReadField1(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoResponse) FastReadField2(buf []byte) (int, error)
- func (p *MallGetProductOperateInfoResponse) FastWrite(buf []byte) int
- func (p *MallGetProductOperateInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MallGetProductOperateInfoResponse) Field1DeepEqual(src *common.CommonResponse) bool
- func (p *MallGetProductOperateInfoResponse) Field2DeepEqual(src *common.ProductOperateInfo) bool
- func (p *MallGetProductOperateInfoResponse) GetCommonResp() (v *common.CommonResponse)
- func (p *MallGetProductOperateInfoResponse) GetOperateInfo() (v *common.ProductOperateInfo)
- func (p *MallGetProductOperateInfoResponse) InitDefault()
- func (p *MallGetProductOperateInfoResponse) IsSetCommonResp() bool
- func (p *MallGetProductOperateInfoResponse) IsSetOperateInfo() bool
- func (p *MallGetProductOperateInfoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MallGetProductOperateInfoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MallGetProductOperateInfoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MallGetProductOperateInfoResponse) SetCommonResp(val *common.CommonResponse)
- func (p *MallGetProductOperateInfoResponse) SetOperateInfo(val *common.ProductOperateInfo)
- func (p *MallGetProductOperateInfoResponse) String() string
- func (p *MallGetProductOperateInfoResponse) Write(oprot thrift.TProtocol) (err error)
- type OperateService
- type OperateServiceClient
- func NewOperateServiceClient(c thrift.TClient) *OperateServiceClient
- func NewOperateServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *OperateServiceClient
- func NewOperateServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *OperateServiceClient
- func (p *OperateServiceClient) Client_() thrift.TClient
- func (p *OperateServiceClient) FavoriteProduct(ctx context.Context, req *MallFavoriteProductRequest) (r *MallFavoriteProductResponse, err error)
- func (p *OperateServiceClient) GetProductOperateInfo(ctx context.Context, req *MallGetProductOperateInfoRequest) (r *MallGetProductOperateInfoResponse, err error)
- type OperateServiceFavoriteProductArgs
- func (p *OperateServiceFavoriteProductArgs) BLength() int
- func (p *OperateServiceFavoriteProductArgs) DeepEqual(ano *OperateServiceFavoriteProductArgs) bool
- func (p *OperateServiceFavoriteProductArgs) FastRead(buf []byte) (int, error)
- func (p *OperateServiceFavoriteProductArgs) FastReadField1(buf []byte) (int, error)
- func (p *OperateServiceFavoriteProductArgs) FastWrite(buf []byte) int
- func (p *OperateServiceFavoriteProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OperateServiceFavoriteProductArgs) Field1DeepEqual(src *MallFavoriteProductRequest) bool
- func (p *OperateServiceFavoriteProductArgs) GetFirstArgument() interface{}
- func (p *OperateServiceFavoriteProductArgs) GetReq() (v *MallFavoriteProductRequest)
- func (p *OperateServiceFavoriteProductArgs) InitDefault()
- func (p *OperateServiceFavoriteProductArgs) IsSetReq() bool
- func (p *OperateServiceFavoriteProductArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *OperateServiceFavoriteProductArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *OperateServiceFavoriteProductArgs) SetReq(val *MallFavoriteProductRequest)
- func (p *OperateServiceFavoriteProductArgs) String() string
- func (p *OperateServiceFavoriteProductArgs) Write(oprot thrift.TProtocol) (err error)
- type OperateServiceFavoriteProductResult
- func (p *OperateServiceFavoriteProductResult) BLength() int
- func (p *OperateServiceFavoriteProductResult) DeepEqual(ano *OperateServiceFavoriteProductResult) bool
- func (p *OperateServiceFavoriteProductResult) FastRead(buf []byte) (int, error)
- func (p *OperateServiceFavoriteProductResult) FastReadField0(buf []byte) (int, error)
- func (p *OperateServiceFavoriteProductResult) FastWrite(buf []byte) int
- func (p *OperateServiceFavoriteProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OperateServiceFavoriteProductResult) Field0DeepEqual(src *MallFavoriteProductResponse) bool
- func (p *OperateServiceFavoriteProductResult) GetResult() interface{}
- func (p *OperateServiceFavoriteProductResult) GetSuccess() (v *MallFavoriteProductResponse)
- func (p *OperateServiceFavoriteProductResult) InitDefault()
- func (p *OperateServiceFavoriteProductResult) IsSetSuccess() bool
- func (p *OperateServiceFavoriteProductResult) Read(iprot thrift.TProtocol) (err error)
- func (p *OperateServiceFavoriteProductResult) ReadField0(iprot thrift.TProtocol) error
- func (p *OperateServiceFavoriteProductResult) SetSuccess(x interface{})
- func (p *OperateServiceFavoriteProductResult) String() string
- func (p *OperateServiceFavoriteProductResult) Write(oprot thrift.TProtocol) (err error)
- type OperateServiceGetProductOperateInfoArgs
- func (p *OperateServiceGetProductOperateInfoArgs) BLength() int
- func (p *OperateServiceGetProductOperateInfoArgs) DeepEqual(ano *OperateServiceGetProductOperateInfoArgs) bool
- func (p *OperateServiceGetProductOperateInfoArgs) FastRead(buf []byte) (int, error)
- func (p *OperateServiceGetProductOperateInfoArgs) FastReadField1(buf []byte) (int, error)
- func (p *OperateServiceGetProductOperateInfoArgs) FastWrite(buf []byte) int
- func (p *OperateServiceGetProductOperateInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OperateServiceGetProductOperateInfoArgs) Field1DeepEqual(src *MallGetProductOperateInfoRequest) bool
- func (p *OperateServiceGetProductOperateInfoArgs) GetFirstArgument() interface{}
- func (p *OperateServiceGetProductOperateInfoArgs) GetReq() (v *MallGetProductOperateInfoRequest)
- func (p *OperateServiceGetProductOperateInfoArgs) InitDefault()
- func (p *OperateServiceGetProductOperateInfoArgs) IsSetReq() bool
- func (p *OperateServiceGetProductOperateInfoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *OperateServiceGetProductOperateInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *OperateServiceGetProductOperateInfoArgs) SetReq(val *MallGetProductOperateInfoRequest)
- func (p *OperateServiceGetProductOperateInfoArgs) String() string
- func (p *OperateServiceGetProductOperateInfoArgs) Write(oprot thrift.TProtocol) (err error)
- type OperateServiceGetProductOperateInfoResult
- func (p *OperateServiceGetProductOperateInfoResult) BLength() int
- func (p *OperateServiceGetProductOperateInfoResult) DeepEqual(ano *OperateServiceGetProductOperateInfoResult) bool
- func (p *OperateServiceGetProductOperateInfoResult) FastRead(buf []byte) (int, error)
- func (p *OperateServiceGetProductOperateInfoResult) FastReadField0(buf []byte) (int, error)
- func (p *OperateServiceGetProductOperateInfoResult) FastWrite(buf []byte) int
- func (p *OperateServiceGetProductOperateInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OperateServiceGetProductOperateInfoResult) Field0DeepEqual(src *MallGetProductOperateInfoResponse) bool
- func (p *OperateServiceGetProductOperateInfoResult) GetResult() interface{}
- func (p *OperateServiceGetProductOperateInfoResult) GetSuccess() (v *MallGetProductOperateInfoResponse)
- func (p *OperateServiceGetProductOperateInfoResult) InitDefault()
- func (p *OperateServiceGetProductOperateInfoResult) IsSetSuccess() bool
- func (p *OperateServiceGetProductOperateInfoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *OperateServiceGetProductOperateInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *OperateServiceGetProductOperateInfoResult) SetSuccess(x interface{})
- func (p *OperateServiceGetProductOperateInfoResult) String() string
- func (p *OperateServiceGetProductOperateInfoResult) Write(oprot thrift.TProtocol) (err error)
- type OperateServiceProcessor
- func (p *OperateServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *OperateServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *OperateServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *OperateServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var MallFavoriteProductResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallGetProductOperateInfoResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallGetProductOperateInfoResponse_OperateInfo_DEFAULT *common.ProductOperateInfo
Functions ¶
This section is empty.
Types ¶
type MallFavoriteProductRequest ¶
type MallFavoriteProductRequest 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 OperateServiceFavoriteProductArgs_Req_DEFAULT *MallFavoriteProductRequest
func NewMallFavoriteProductRequest ¶
func NewMallFavoriteProductRequest() *MallFavoriteProductRequest
func (*MallFavoriteProductRequest) BLength ¶
func (p *MallFavoriteProductRequest) BLength() int
func (*MallFavoriteProductRequest) DeepEqual ¶
func (p *MallFavoriteProductRequest) DeepEqual(ano *MallFavoriteProductRequest) bool
func (*MallFavoriteProductRequest) FastRead ¶
func (p *MallFavoriteProductRequest) FastRead(buf []byte) (int, error)
func (*MallFavoriteProductRequest) FastReadField1 ¶
func (p *MallFavoriteProductRequest) FastReadField1(buf []byte) (int, error)
func (*MallFavoriteProductRequest) FastReadField2 ¶
func (p *MallFavoriteProductRequest) FastReadField2(buf []byte) (int, error)
func (*MallFavoriteProductRequest) FastWrite ¶
func (p *MallFavoriteProductRequest) FastWrite(buf []byte) int
for compatibility
func (*MallFavoriteProductRequest) FastWriteNocopy ¶
func (p *MallFavoriteProductRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallFavoriteProductRequest) Field1DeepEqual ¶
func (p *MallFavoriteProductRequest) Field1DeepEqual(src int64) bool
func (*MallFavoriteProductRequest) Field2DeepEqual ¶
func (p *MallFavoriteProductRequest) Field2DeepEqual(src int64) bool
func (*MallFavoriteProductRequest) GetProductId ¶
func (p *MallFavoriteProductRequest) GetProductId() (v int64)
func (*MallFavoriteProductRequest) GetUserId ¶
func (p *MallFavoriteProductRequest) GetUserId() (v int64)
func (*MallFavoriteProductRequest) InitDefault ¶
func (p *MallFavoriteProductRequest) InitDefault()
func (*MallFavoriteProductRequest) Read ¶
func (p *MallFavoriteProductRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallFavoriteProductRequest) ReadField1 ¶
func (p *MallFavoriteProductRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallFavoriteProductRequest) ReadField2 ¶
func (p *MallFavoriteProductRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallFavoriteProductRequest) SetProductId ¶
func (p *MallFavoriteProductRequest) SetProductId(val int64)
func (*MallFavoriteProductRequest) SetUserId ¶
func (p *MallFavoriteProductRequest) SetUserId(val int64)
func (*MallFavoriteProductRequest) String ¶
func (p *MallFavoriteProductRequest) String() string
type MallFavoriteProductResponse ¶
type MallFavoriteProductResponse struct {
CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
}
var OperateServiceFavoriteProductResult_Success_DEFAULT *MallFavoriteProductResponse
func NewMallFavoriteProductResponse ¶
func NewMallFavoriteProductResponse() *MallFavoriteProductResponse
func (*MallFavoriteProductResponse) BLength ¶
func (p *MallFavoriteProductResponse) BLength() int
func (*MallFavoriteProductResponse) DeepEqual ¶
func (p *MallFavoriteProductResponse) DeepEqual(ano *MallFavoriteProductResponse) bool
func (*MallFavoriteProductResponse) FastRead ¶
func (p *MallFavoriteProductResponse) FastRead(buf []byte) (int, error)
func (*MallFavoriteProductResponse) FastReadField1 ¶
func (p *MallFavoriteProductResponse) FastReadField1(buf []byte) (int, error)
func (*MallFavoriteProductResponse) FastWrite ¶
func (p *MallFavoriteProductResponse) FastWrite(buf []byte) int
for compatibility
func (*MallFavoriteProductResponse) FastWriteNocopy ¶
func (p *MallFavoriteProductResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallFavoriteProductResponse) Field1DeepEqual ¶
func (p *MallFavoriteProductResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallFavoriteProductResponse) GetCommonResp ¶
func (p *MallFavoriteProductResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallFavoriteProductResponse) InitDefault ¶
func (p *MallFavoriteProductResponse) InitDefault()
func (*MallFavoriteProductResponse) IsSetCommonResp ¶
func (p *MallFavoriteProductResponse) IsSetCommonResp() bool
func (*MallFavoriteProductResponse) Read ¶
func (p *MallFavoriteProductResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallFavoriteProductResponse) ReadField1 ¶
func (p *MallFavoriteProductResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallFavoriteProductResponse) SetCommonResp ¶
func (p *MallFavoriteProductResponse) SetCommonResp(val *common.CommonResponse)
func (*MallFavoriteProductResponse) String ¶
func (p *MallFavoriteProductResponse) String() string
type MallGetProductOperateInfoRequest ¶
type MallGetProductOperateInfoRequest 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 OperateServiceGetProductOperateInfoArgs_Req_DEFAULT *MallGetProductOperateInfoRequest
func NewMallGetProductOperateInfoRequest ¶
func NewMallGetProductOperateInfoRequest() *MallGetProductOperateInfoRequest
func (*MallGetProductOperateInfoRequest) BLength ¶
func (p *MallGetProductOperateInfoRequest) BLength() int
func (*MallGetProductOperateInfoRequest) DeepEqual ¶
func (p *MallGetProductOperateInfoRequest) DeepEqual(ano *MallGetProductOperateInfoRequest) bool
func (*MallGetProductOperateInfoRequest) FastRead ¶
func (p *MallGetProductOperateInfoRequest) FastRead(buf []byte) (int, error)
func (*MallGetProductOperateInfoRequest) FastReadField1 ¶
func (p *MallGetProductOperateInfoRequest) FastReadField1(buf []byte) (int, error)
func (*MallGetProductOperateInfoRequest) FastReadField2 ¶
func (p *MallGetProductOperateInfoRequest) FastReadField2(buf []byte) (int, error)
func (*MallGetProductOperateInfoRequest) FastWrite ¶
func (p *MallGetProductOperateInfoRequest) FastWrite(buf []byte) int
for compatibility
func (*MallGetProductOperateInfoRequest) FastWriteNocopy ¶
func (p *MallGetProductOperateInfoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallGetProductOperateInfoRequest) Field1DeepEqual ¶
func (p *MallGetProductOperateInfoRequest) Field1DeepEqual(src int64) bool
func (*MallGetProductOperateInfoRequest) Field2DeepEqual ¶
func (p *MallGetProductOperateInfoRequest) Field2DeepEqual(src int64) bool
func (*MallGetProductOperateInfoRequest) GetProductId ¶
func (p *MallGetProductOperateInfoRequest) GetProductId() (v int64)
func (*MallGetProductOperateInfoRequest) GetUserId ¶
func (p *MallGetProductOperateInfoRequest) GetUserId() (v int64)
func (*MallGetProductOperateInfoRequest) InitDefault ¶
func (p *MallGetProductOperateInfoRequest) InitDefault()
func (*MallGetProductOperateInfoRequest) Read ¶
func (p *MallGetProductOperateInfoRequest) Read(iprot thrift.TProtocol) (err error)
func (*MallGetProductOperateInfoRequest) ReadField1 ¶
func (p *MallGetProductOperateInfoRequest) ReadField1(iprot thrift.TProtocol) error
func (*MallGetProductOperateInfoRequest) ReadField2 ¶
func (p *MallGetProductOperateInfoRequest) ReadField2(iprot thrift.TProtocol) error
func (*MallGetProductOperateInfoRequest) SetProductId ¶
func (p *MallGetProductOperateInfoRequest) SetProductId(val int64)
func (*MallGetProductOperateInfoRequest) SetUserId ¶
func (p *MallGetProductOperateInfoRequest) SetUserId(val int64)
func (*MallGetProductOperateInfoRequest) String ¶
func (p *MallGetProductOperateInfoRequest) String() string
type MallGetProductOperateInfoResponse ¶
type MallGetProductOperateInfoResponse struct { CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"` OperateInfo *common.ProductOperateInfo `thrift:"operate_info,2" frugal:"2,default,common.ProductOperateInfo" json:"operate_info"` }
var OperateServiceGetProductOperateInfoResult_Success_DEFAULT *MallGetProductOperateInfoResponse
func NewMallGetProductOperateInfoResponse ¶
func NewMallGetProductOperateInfoResponse() *MallGetProductOperateInfoResponse
func (*MallGetProductOperateInfoResponse) BLength ¶
func (p *MallGetProductOperateInfoResponse) BLength() int
func (*MallGetProductOperateInfoResponse) DeepEqual ¶
func (p *MallGetProductOperateInfoResponse) DeepEqual(ano *MallGetProductOperateInfoResponse) bool
func (*MallGetProductOperateInfoResponse) FastRead ¶
func (p *MallGetProductOperateInfoResponse) FastRead(buf []byte) (int, error)
func (*MallGetProductOperateInfoResponse) FastReadField1 ¶
func (p *MallGetProductOperateInfoResponse) FastReadField1(buf []byte) (int, error)
func (*MallGetProductOperateInfoResponse) FastReadField2 ¶
func (p *MallGetProductOperateInfoResponse) FastReadField2(buf []byte) (int, error)
func (*MallGetProductOperateInfoResponse) FastWrite ¶
func (p *MallGetProductOperateInfoResponse) FastWrite(buf []byte) int
for compatibility
func (*MallGetProductOperateInfoResponse) FastWriteNocopy ¶
func (p *MallGetProductOperateInfoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MallGetProductOperateInfoResponse) Field1DeepEqual ¶
func (p *MallGetProductOperateInfoResponse) Field1DeepEqual(src *common.CommonResponse) bool
func (*MallGetProductOperateInfoResponse) Field2DeepEqual ¶
func (p *MallGetProductOperateInfoResponse) Field2DeepEqual(src *common.ProductOperateInfo) bool
func (*MallGetProductOperateInfoResponse) GetCommonResp ¶
func (p *MallGetProductOperateInfoResponse) GetCommonResp() (v *common.CommonResponse)
func (*MallGetProductOperateInfoResponse) GetOperateInfo ¶
func (p *MallGetProductOperateInfoResponse) GetOperateInfo() (v *common.ProductOperateInfo)
func (*MallGetProductOperateInfoResponse) InitDefault ¶
func (p *MallGetProductOperateInfoResponse) InitDefault()
func (*MallGetProductOperateInfoResponse) IsSetCommonResp ¶
func (p *MallGetProductOperateInfoResponse) IsSetCommonResp() bool
func (*MallGetProductOperateInfoResponse) IsSetOperateInfo ¶
func (p *MallGetProductOperateInfoResponse) IsSetOperateInfo() bool
func (*MallGetProductOperateInfoResponse) Read ¶
func (p *MallGetProductOperateInfoResponse) Read(iprot thrift.TProtocol) (err error)
func (*MallGetProductOperateInfoResponse) ReadField1 ¶
func (p *MallGetProductOperateInfoResponse) ReadField1(iprot thrift.TProtocol) error
func (*MallGetProductOperateInfoResponse) ReadField2 ¶
func (p *MallGetProductOperateInfoResponse) ReadField2(iprot thrift.TProtocol) error
func (*MallGetProductOperateInfoResponse) SetCommonResp ¶
func (p *MallGetProductOperateInfoResponse) SetCommonResp(val *common.CommonResponse)
func (*MallGetProductOperateInfoResponse) SetOperateInfo ¶
func (p *MallGetProductOperateInfoResponse) SetOperateInfo(val *common.ProductOperateInfo)
func (*MallGetProductOperateInfoResponse) String ¶
func (p *MallGetProductOperateInfoResponse) String() string
type OperateService ¶
type OperateService interface { FavoriteProduct(ctx context.Context, req *MallFavoriteProductRequest) (r *MallFavoriteProductResponse, err error) GetProductOperateInfo(ctx context.Context, req *MallGetProductOperateInfoRequest) (r *MallGetProductOperateInfoResponse, err error) }
type OperateServiceClient ¶
type OperateServiceClient struct {
// contains filtered or unexported fields
}
func NewOperateServiceClient ¶
func NewOperateServiceClient(c thrift.TClient) *OperateServiceClient
func NewOperateServiceClientFactory ¶
func NewOperateServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *OperateServiceClient
func NewOperateServiceClientProtocol ¶
func NewOperateServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *OperateServiceClient
func (*OperateServiceClient) Client_ ¶
func (p *OperateServiceClient) Client_() thrift.TClient
func (*OperateServiceClient) FavoriteProduct ¶
func (p *OperateServiceClient) FavoriteProduct(ctx context.Context, req *MallFavoriteProductRequest) (r *MallFavoriteProductResponse, err error)
func (*OperateServiceClient) GetProductOperateInfo ¶
func (p *OperateServiceClient) GetProductOperateInfo(ctx context.Context, req *MallGetProductOperateInfoRequest) (r *MallGetProductOperateInfoResponse, err error)
type OperateServiceFavoriteProductArgs ¶
type OperateServiceFavoriteProductArgs struct {
Req *MallFavoriteProductRequest `thrift:"req,1" frugal:"1,default,MallFavoriteProductRequest" json:"req"`
}
func NewOperateServiceFavoriteProductArgs ¶
func NewOperateServiceFavoriteProductArgs() *OperateServiceFavoriteProductArgs
func (*OperateServiceFavoriteProductArgs) BLength ¶
func (p *OperateServiceFavoriteProductArgs) BLength() int
func (*OperateServiceFavoriteProductArgs) DeepEqual ¶
func (p *OperateServiceFavoriteProductArgs) DeepEqual(ano *OperateServiceFavoriteProductArgs) bool
func (*OperateServiceFavoriteProductArgs) FastRead ¶
func (p *OperateServiceFavoriteProductArgs) FastRead(buf []byte) (int, error)
func (*OperateServiceFavoriteProductArgs) FastReadField1 ¶
func (p *OperateServiceFavoriteProductArgs) FastReadField1(buf []byte) (int, error)
func (*OperateServiceFavoriteProductArgs) FastWrite ¶
func (p *OperateServiceFavoriteProductArgs) FastWrite(buf []byte) int
for compatibility
func (*OperateServiceFavoriteProductArgs) FastWriteNocopy ¶
func (p *OperateServiceFavoriteProductArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OperateServiceFavoriteProductArgs) Field1DeepEqual ¶
func (p *OperateServiceFavoriteProductArgs) Field1DeepEqual(src *MallFavoriteProductRequest) bool
func (*OperateServiceFavoriteProductArgs) GetFirstArgument ¶
func (p *OperateServiceFavoriteProductArgs) GetFirstArgument() interface{}
func (*OperateServiceFavoriteProductArgs) GetReq ¶
func (p *OperateServiceFavoriteProductArgs) GetReq() (v *MallFavoriteProductRequest)
func (*OperateServiceFavoriteProductArgs) InitDefault ¶
func (p *OperateServiceFavoriteProductArgs) InitDefault()
func (*OperateServiceFavoriteProductArgs) IsSetReq ¶
func (p *OperateServiceFavoriteProductArgs) IsSetReq() bool
func (*OperateServiceFavoriteProductArgs) Read ¶
func (p *OperateServiceFavoriteProductArgs) Read(iprot thrift.TProtocol) (err error)
func (*OperateServiceFavoriteProductArgs) ReadField1 ¶
func (p *OperateServiceFavoriteProductArgs) ReadField1(iprot thrift.TProtocol) error
func (*OperateServiceFavoriteProductArgs) SetReq ¶
func (p *OperateServiceFavoriteProductArgs) SetReq(val *MallFavoriteProductRequest)
func (*OperateServiceFavoriteProductArgs) String ¶
func (p *OperateServiceFavoriteProductArgs) String() string
type OperateServiceFavoriteProductResult ¶
type OperateServiceFavoriteProductResult struct {
Success *MallFavoriteProductResponse `thrift:"success,0,optional" frugal:"0,optional,MallFavoriteProductResponse" json:"success,omitempty"`
}
func NewOperateServiceFavoriteProductResult ¶
func NewOperateServiceFavoriteProductResult() *OperateServiceFavoriteProductResult
func (*OperateServiceFavoriteProductResult) BLength ¶
func (p *OperateServiceFavoriteProductResult) BLength() int
func (*OperateServiceFavoriteProductResult) DeepEqual ¶
func (p *OperateServiceFavoriteProductResult) DeepEqual(ano *OperateServiceFavoriteProductResult) bool
func (*OperateServiceFavoriteProductResult) FastRead ¶
func (p *OperateServiceFavoriteProductResult) FastRead(buf []byte) (int, error)
func (*OperateServiceFavoriteProductResult) FastReadField0 ¶
func (p *OperateServiceFavoriteProductResult) FastReadField0(buf []byte) (int, error)
func (*OperateServiceFavoriteProductResult) FastWrite ¶
func (p *OperateServiceFavoriteProductResult) FastWrite(buf []byte) int
for compatibility
func (*OperateServiceFavoriteProductResult) FastWriteNocopy ¶
func (p *OperateServiceFavoriteProductResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OperateServiceFavoriteProductResult) Field0DeepEqual ¶
func (p *OperateServiceFavoriteProductResult) Field0DeepEqual(src *MallFavoriteProductResponse) bool
func (*OperateServiceFavoriteProductResult) GetResult ¶
func (p *OperateServiceFavoriteProductResult) GetResult() interface{}
func (*OperateServiceFavoriteProductResult) GetSuccess ¶
func (p *OperateServiceFavoriteProductResult) GetSuccess() (v *MallFavoriteProductResponse)
func (*OperateServiceFavoriteProductResult) InitDefault ¶
func (p *OperateServiceFavoriteProductResult) InitDefault()
func (*OperateServiceFavoriteProductResult) IsSetSuccess ¶
func (p *OperateServiceFavoriteProductResult) IsSetSuccess() bool
func (*OperateServiceFavoriteProductResult) Read ¶
func (p *OperateServiceFavoriteProductResult) Read(iprot thrift.TProtocol) (err error)
func (*OperateServiceFavoriteProductResult) ReadField0 ¶
func (p *OperateServiceFavoriteProductResult) ReadField0(iprot thrift.TProtocol) error
func (*OperateServiceFavoriteProductResult) SetSuccess ¶
func (p *OperateServiceFavoriteProductResult) SetSuccess(x interface{})
func (*OperateServiceFavoriteProductResult) String ¶
func (p *OperateServiceFavoriteProductResult) String() string
type OperateServiceGetProductOperateInfoArgs ¶
type OperateServiceGetProductOperateInfoArgs struct {
Req *MallGetProductOperateInfoRequest `thrift:"req,1" frugal:"1,default,MallGetProductOperateInfoRequest" json:"req"`
}
func NewOperateServiceGetProductOperateInfoArgs ¶
func NewOperateServiceGetProductOperateInfoArgs() *OperateServiceGetProductOperateInfoArgs
func (*OperateServiceGetProductOperateInfoArgs) BLength ¶
func (p *OperateServiceGetProductOperateInfoArgs) BLength() int
func (*OperateServiceGetProductOperateInfoArgs) DeepEqual ¶
func (p *OperateServiceGetProductOperateInfoArgs) DeepEqual(ano *OperateServiceGetProductOperateInfoArgs) bool
func (*OperateServiceGetProductOperateInfoArgs) FastRead ¶
func (p *OperateServiceGetProductOperateInfoArgs) FastRead(buf []byte) (int, error)
func (*OperateServiceGetProductOperateInfoArgs) FastReadField1 ¶
func (p *OperateServiceGetProductOperateInfoArgs) FastReadField1(buf []byte) (int, error)
func (*OperateServiceGetProductOperateInfoArgs) FastWrite ¶
func (p *OperateServiceGetProductOperateInfoArgs) FastWrite(buf []byte) int
for compatibility
func (*OperateServiceGetProductOperateInfoArgs) FastWriteNocopy ¶
func (p *OperateServiceGetProductOperateInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OperateServiceGetProductOperateInfoArgs) Field1DeepEqual ¶
func (p *OperateServiceGetProductOperateInfoArgs) Field1DeepEqual(src *MallGetProductOperateInfoRequest) bool
func (*OperateServiceGetProductOperateInfoArgs) GetFirstArgument ¶
func (p *OperateServiceGetProductOperateInfoArgs) GetFirstArgument() interface{}
func (*OperateServiceGetProductOperateInfoArgs) GetReq ¶
func (p *OperateServiceGetProductOperateInfoArgs) GetReq() (v *MallGetProductOperateInfoRequest)
func (*OperateServiceGetProductOperateInfoArgs) InitDefault ¶
func (p *OperateServiceGetProductOperateInfoArgs) InitDefault()
func (*OperateServiceGetProductOperateInfoArgs) IsSetReq ¶
func (p *OperateServiceGetProductOperateInfoArgs) IsSetReq() bool
func (*OperateServiceGetProductOperateInfoArgs) Read ¶
func (p *OperateServiceGetProductOperateInfoArgs) Read(iprot thrift.TProtocol) (err error)
func (*OperateServiceGetProductOperateInfoArgs) ReadField1 ¶
func (p *OperateServiceGetProductOperateInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*OperateServiceGetProductOperateInfoArgs) SetReq ¶
func (p *OperateServiceGetProductOperateInfoArgs) SetReq(val *MallGetProductOperateInfoRequest)
func (*OperateServiceGetProductOperateInfoArgs) String ¶
func (p *OperateServiceGetProductOperateInfoArgs) String() string
type OperateServiceGetProductOperateInfoResult ¶
type OperateServiceGetProductOperateInfoResult struct {
Success *MallGetProductOperateInfoResponse `thrift:"success,0,optional" frugal:"0,optional,MallGetProductOperateInfoResponse" json:"success,omitempty"`
}
func NewOperateServiceGetProductOperateInfoResult ¶
func NewOperateServiceGetProductOperateInfoResult() *OperateServiceGetProductOperateInfoResult
func (*OperateServiceGetProductOperateInfoResult) BLength ¶
func (p *OperateServiceGetProductOperateInfoResult) BLength() int
func (*OperateServiceGetProductOperateInfoResult) DeepEqual ¶
func (p *OperateServiceGetProductOperateInfoResult) DeepEqual(ano *OperateServiceGetProductOperateInfoResult) bool
func (*OperateServiceGetProductOperateInfoResult) FastRead ¶
func (p *OperateServiceGetProductOperateInfoResult) FastRead(buf []byte) (int, error)
func (*OperateServiceGetProductOperateInfoResult) FastReadField0 ¶
func (p *OperateServiceGetProductOperateInfoResult) FastReadField0(buf []byte) (int, error)
func (*OperateServiceGetProductOperateInfoResult) FastWrite ¶
func (p *OperateServiceGetProductOperateInfoResult) FastWrite(buf []byte) int
for compatibility
func (*OperateServiceGetProductOperateInfoResult) FastWriteNocopy ¶
func (p *OperateServiceGetProductOperateInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OperateServiceGetProductOperateInfoResult) Field0DeepEqual ¶
func (p *OperateServiceGetProductOperateInfoResult) Field0DeepEqual(src *MallGetProductOperateInfoResponse) bool
func (*OperateServiceGetProductOperateInfoResult) GetResult ¶
func (p *OperateServiceGetProductOperateInfoResult) GetResult() interface{}
func (*OperateServiceGetProductOperateInfoResult) GetSuccess ¶
func (p *OperateServiceGetProductOperateInfoResult) GetSuccess() (v *MallGetProductOperateInfoResponse)
func (*OperateServiceGetProductOperateInfoResult) InitDefault ¶
func (p *OperateServiceGetProductOperateInfoResult) InitDefault()
func (*OperateServiceGetProductOperateInfoResult) IsSetSuccess ¶
func (p *OperateServiceGetProductOperateInfoResult) IsSetSuccess() bool
func (*OperateServiceGetProductOperateInfoResult) Read ¶
func (p *OperateServiceGetProductOperateInfoResult) Read(iprot thrift.TProtocol) (err error)
func (*OperateServiceGetProductOperateInfoResult) ReadField0 ¶
func (p *OperateServiceGetProductOperateInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*OperateServiceGetProductOperateInfoResult) SetSuccess ¶
func (p *OperateServiceGetProductOperateInfoResult) SetSuccess(x interface{})
func (*OperateServiceGetProductOperateInfoResult) String ¶
func (p *OperateServiceGetProductOperateInfoResult) String() string
type OperateServiceProcessor ¶
type OperateServiceProcessor struct {
// contains filtered or unexported fields
}
func NewOperateServiceProcessor ¶
func NewOperateServiceProcessor(handler OperateService) *OperateServiceProcessor
func (*OperateServiceProcessor) AddToProcessorMap ¶
func (p *OperateServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*OperateServiceProcessor) GetProcessorFunction ¶
func (p *OperateServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*OperateServiceProcessor) Process ¶
func (p *OperateServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*OperateServiceProcessor) ProcessorMap ¶
func (p *OperateServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.