Documentation ¶
Index ¶
- Variables
- type AddReq
- func (p *AddReq) BLength() int
- func (p *AddReq) DeepEqual(ano *AddReq) bool
- func (p *AddReq) FastRead(buf []byte) (int, error)
- func (p *AddReq) FastReadField1(buf []byte) (int, error)
- func (p *AddReq) FastReadField2(buf []byte) (int, error)
- func (p *AddReq) FastReadField3(buf []byte) (int, error)
- func (p *AddReq) FastReadField4(buf []byte) (int, error)
- func (p *AddReq) FastReadField5(buf []byte) (int, error)
- func (p *AddReq) FastReadField6(buf []byte) (int, error)
- func (p *AddReq) FastWrite(buf []byte) int
- func (p *AddReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AddReq) Field1DeepEqual(src string) bool
- func (p *AddReq) Field2DeepEqual(src string) bool
- func (p *AddReq) Field3DeepEqual(src string) bool
- func (p *AddReq) Field4DeepEqual(src *BookProperty) bool
- func (p *AddReq) Field5DeepEqual(src int64) bool
- func (p *AddReq) Field6DeepEqual(src int64) bool
- func (p *AddReq) GetDescription() (v string)
- func (p *AddReq) GetName() (v string)
- func (p *AddReq) GetPic() (v string)
- func (p *AddReq) GetPrice() (v int64)
- func (p *AddReq) GetProperty() (v *BookProperty)
- func (p *AddReq) GetStock() (v int64)
- func (p *AddReq) IsSetProperty() bool
- func (p *AddReq) Read(iprot thrift.TProtocol) (err error)
- func (p *AddReq) ReadField1(iprot thrift.TProtocol) error
- func (p *AddReq) ReadField2(iprot thrift.TProtocol) error
- func (p *AddReq) ReadField3(iprot thrift.TProtocol) error
- func (p *AddReq) ReadField4(iprot thrift.TProtocol) error
- func (p *AddReq) ReadField5(iprot thrift.TProtocol) error
- func (p *AddReq) ReadField6(iprot thrift.TProtocol) error
- func (p *AddReq) SetDescription(val string)
- func (p *AddReq) SetName(val string)
- func (p *AddReq) SetPic(val string)
- func (p *AddReq) SetPrice(val int64)
- func (p *AddReq) SetProperty(val *BookProperty)
- func (p *AddReq) SetStock(val int64)
- func (p *AddReq) String() string
- func (p *AddReq) Write(oprot thrift.TProtocol) (err error)
- type AddResp
- func (p *AddResp) BLength() int
- func (p *AddResp) DeepEqual(ano *AddResp) bool
- func (p *AddResp) FastRead(buf []byte) (int, error)
- func (p *AddResp) FastReadField1(buf []byte) (int, error)
- func (p *AddResp) FastReadField255(buf []byte) (int, error)
- func (p *AddResp) FastWrite(buf []byte) int
- func (p *AddResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AddResp) Field1DeepEqual(src int64) bool
- func (p *AddResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *AddResp) GetBaseResp() (v *base.BaseResp)
- func (p *AddResp) GetProductId() (v int64)
- func (p *AddResp) IsSetBaseResp() bool
- func (p *AddResp) Read(iprot thrift.TProtocol) (err error)
- func (p *AddResp) ReadField1(iprot thrift.TProtocol) error
- func (p *AddResp) ReadField255(iprot thrift.TProtocol) error
- func (p *AddResp) SetBaseResp(val *base.BaseResp)
- func (p *AddResp) SetProductId(val int64)
- func (p *AddResp) String() string
- func (p *AddResp) Write(oprot thrift.TProtocol) (err error)
- type BookProperty
- func (p *BookProperty) BLength() int
- func (p *BookProperty) DeepEqual(ano *BookProperty) bool
- func (p *BookProperty) FastRead(buf []byte) (int, error)
- func (p *BookProperty) FastReadField1(buf []byte) (int, error)
- func (p *BookProperty) FastReadField2(buf []byte) (int, error)
- func (p *BookProperty) FastReadField3(buf []byte) (int, error)
- func (p *BookProperty) FastWrite(buf []byte) int
- func (p *BookProperty) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BookProperty) Field1DeepEqual(src string) bool
- func (p *BookProperty) Field2DeepEqual(src string) bool
- func (p *BookProperty) Field3DeepEqual(src int64) bool
- func (p *BookProperty) GetIsbn() (v string)
- func (p *BookProperty) GetSpuName() (v string)
- func (p *BookProperty) GetSpuPrice() (v int64)
- func (p *BookProperty) Read(iprot thrift.TProtocol) (err error)
- func (p *BookProperty) ReadField1(iprot thrift.TProtocol) error
- func (p *BookProperty) ReadField2(iprot thrift.TProtocol) error
- func (p *BookProperty) ReadField3(iprot thrift.TProtocol) error
- func (p *BookProperty) SetIsbn(val string)
- func (p *BookProperty) SetSpuName(val string)
- func (p *BookProperty) SetSpuPrice(val int64)
- func (p *BookProperty) String() string
- func (p *BookProperty) Write(oprot thrift.TProtocol) (err error)
- type DecrStockReq
- func (p *DecrStockReq) BLength() int
- func (p *DecrStockReq) DeepEqual(ano *DecrStockReq) bool
- func (p *DecrStockReq) FastRead(buf []byte) (int, error)
- func (p *DecrStockReq) FastReadField1(buf []byte) (int, error)
- func (p *DecrStockReq) FastReadField2(buf []byte) (int, error)
- func (p *DecrStockReq) FastWrite(buf []byte) int
- func (p *DecrStockReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DecrStockReq) Field1DeepEqual(src int64) bool
- func (p *DecrStockReq) Field2DeepEqual(src int64) bool
- func (p *DecrStockReq) GetProductId() (v int64)
- func (p *DecrStockReq) GetStockNum() (v int64)
- func (p *DecrStockReq) Read(iprot thrift.TProtocol) (err error)
- func (p *DecrStockReq) ReadField1(iprot thrift.TProtocol) error
- func (p *DecrStockReq) ReadField2(iprot thrift.TProtocol) error
- func (p *DecrStockReq) SetProductId(val int64)
- func (p *DecrStockReq) SetStockNum(val int64)
- func (p *DecrStockReq) String() string
- func (p *DecrStockReq) Write(oprot thrift.TProtocol) (err error)
- type DecrStockResp
- func (p *DecrStockResp) BLength() int
- func (p *DecrStockResp) DeepEqual(ano *DecrStockResp) bool
- func (p *DecrStockResp) FastRead(buf []byte) (int, error)
- func (p *DecrStockResp) FastReadField255(buf []byte) (int, error)
- func (p *DecrStockResp) FastWrite(buf []byte) int
- func (p *DecrStockResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DecrStockResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *DecrStockResp) GetBaseResp() (v *base.BaseResp)
- func (p *DecrStockResp) IsSetBaseResp() bool
- func (p *DecrStockResp) Read(iprot thrift.TProtocol) (err error)
- func (p *DecrStockResp) ReadField255(iprot thrift.TProtocol) error
- func (p *DecrStockResp) SetBaseResp(val *base.BaseResp)
- func (p *DecrStockResp) String() string
- func (p *DecrStockResp) Write(oprot thrift.TProtocol) (err error)
- type DeleteReq
- func (p *DeleteReq) BLength() int
- func (p *DeleteReq) DeepEqual(ano *DeleteReq) bool
- func (p *DeleteReq) FastRead(buf []byte) (int, error)
- func (p *DeleteReq) FastReadField1(buf []byte) (int, error)
- func (p *DeleteReq) FastWrite(buf []byte) int
- func (p *DeleteReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteReq) Field1DeepEqual(src int64) bool
- func (p *DeleteReq) GetProductId() (v int64)
- func (p *DeleteReq) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteReq) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteReq) SetProductId(val int64)
- func (p *DeleteReq) String() string
- func (p *DeleteReq) Write(oprot thrift.TProtocol) (err error)
- type DeleteResp
- func (p *DeleteResp) BLength() int
- func (p *DeleteResp) DeepEqual(ano *DeleteResp) bool
- func (p *DeleteResp) FastRead(buf []byte) (int, error)
- func (p *DeleteResp) FastReadField255(buf []byte) (int, error)
- func (p *DeleteResp) FastWrite(buf []byte) int
- func (p *DeleteResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *DeleteResp) GetBaseResp() (v *base.BaseResp)
- func (p *DeleteResp) IsSetBaseResp() bool
- func (p *DeleteResp) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteResp) ReadField255(iprot thrift.TProtocol) error
- func (p *DeleteResp) SetBaseResp(val *base.BaseResp)
- func (p *DeleteResp) String() string
- func (p *DeleteResp) Write(oprot thrift.TProtocol) (err error)
- type EditReq
- func (p *EditReq) BLength() int
- func (p *EditReq) DeepEqual(ano *EditReq) bool
- func (p *EditReq) FastRead(buf []byte) (int, error)
- func (p *EditReq) FastReadField1(buf []byte) (int, error)
- func (p *EditReq) FastReadField2(buf []byte) (int, error)
- func (p *EditReq) FastReadField3(buf []byte) (int, error)
- func (p *EditReq) FastReadField4(buf []byte) (int, error)
- func (p *EditReq) FastReadField5(buf []byte) (int, error)
- func (p *EditReq) FastReadField6(buf []byte) (int, error)
- func (p *EditReq) FastReadField7(buf []byte) (int, error)
- func (p *EditReq) FastWrite(buf []byte) int
- func (p *EditReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *EditReq) Field1DeepEqual(src int64) bool
- func (p *EditReq) Field2DeepEqual(src *string) bool
- func (p *EditReq) Field3DeepEqual(src *string) bool
- func (p *EditReq) Field4DeepEqual(src *string) bool
- func (p *EditReq) Field5DeepEqual(src *BookProperty) bool
- func (p *EditReq) Field6DeepEqual(src *int64) bool
- func (p *EditReq) Field7DeepEqual(src *int64) bool
- func (p *EditReq) GetDescription() (v string)
- func (p *EditReq) GetName() (v string)
- func (p *EditReq) GetPic() (v string)
- func (p *EditReq) GetPrice() (v int64)
- func (p *EditReq) GetProductId() (v int64)
- func (p *EditReq) GetProperty() (v *BookProperty)
- func (p *EditReq) GetStock() (v int64)
- func (p *EditReq) IsSetDescription() bool
- func (p *EditReq) IsSetName() bool
- func (p *EditReq) IsSetPic() bool
- func (p *EditReq) IsSetPrice() bool
- func (p *EditReq) IsSetProperty() bool
- func (p *EditReq) IsSetStock() bool
- func (p *EditReq) Read(iprot thrift.TProtocol) (err error)
- func (p *EditReq) ReadField1(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField2(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField3(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField4(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField5(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField6(iprot thrift.TProtocol) error
- func (p *EditReq) ReadField7(iprot thrift.TProtocol) error
- func (p *EditReq) SetDescription(val *string)
- func (p *EditReq) SetName(val *string)
- func (p *EditReq) SetPic(val *string)
- func (p *EditReq) SetPrice(val *int64)
- func (p *EditReq) SetProductId(val int64)
- func (p *EditReq) SetProperty(val *BookProperty)
- func (p *EditReq) SetStock(val *int64)
- func (p *EditReq) String() string
- func (p *EditReq) Write(oprot thrift.TProtocol) (err error)
- type EditResp
- func (p *EditResp) BLength() int
- func (p *EditResp) DeepEqual(ano *EditResp) bool
- func (p *EditResp) FastRead(buf []byte) (int, error)
- func (p *EditResp) FastReadField255(buf []byte) (int, error)
- func (p *EditResp) FastWrite(buf []byte) int
- func (p *EditResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *EditResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *EditResp) GetBaseResp() (v *base.BaseResp)
- func (p *EditResp) IsSetBaseResp() bool
- func (p *EditResp) Read(iprot thrift.TProtocol) (err error)
- func (p *EditResp) ReadField255(iprot thrift.TProtocol) error
- func (p *EditResp) SetBaseResp(val *base.BaseResp)
- func (p *EditResp) String() string
- func (p *EditResp) Write(oprot thrift.TProtocol) (err error)
- type GetReq
- func (p *GetReq) BLength() int
- func (p *GetReq) DeepEqual(ano *GetReq) bool
- func (p *GetReq) FastRead(buf []byte) (int, error)
- func (p *GetReq) FastReadField1(buf []byte) (int, error)
- func (p *GetReq) FastWrite(buf []byte) int
- func (p *GetReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetReq) Field1DeepEqual(src int64) bool
- func (p *GetReq) GetProductId() (v int64)
- func (p *GetReq) Read(iprot thrift.TProtocol) (err error)
- func (p *GetReq) ReadField1(iprot thrift.TProtocol) error
- func (p *GetReq) SetProductId(val int64)
- func (p *GetReq) String() string
- func (p *GetReq) Write(oprot thrift.TProtocol) (err error)
- type GetResp
- func (p *GetResp) BLength() int
- func (p *GetResp) DeepEqual(ano *GetResp) bool
- func (p *GetResp) FastRead(buf []byte) (int, error)
- func (p *GetResp) FastReadField1(buf []byte) (int, error)
- func (p *GetResp) FastReadField255(buf []byte) (int, error)
- func (p *GetResp) FastWrite(buf []byte) int
- func (p *GetResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetResp) Field1DeepEqual(src *Product) bool
- func (p *GetResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *GetResp) GetBaseResp() (v *base.BaseResp)
- func (p *GetResp) GetProduct() (v *Product)
- func (p *GetResp) IsSetBaseResp() bool
- func (p *GetResp) IsSetProduct() bool
- func (p *GetResp) Read(iprot thrift.TProtocol) (err error)
- func (p *GetResp) ReadField1(iprot thrift.TProtocol) error
- func (p *GetResp) ReadField255(iprot thrift.TProtocol) error
- func (p *GetResp) SetBaseResp(val *base.BaseResp)
- func (p *GetResp) SetProduct(val *Product)
- func (p *GetResp) String() string
- func (p *GetResp) Write(oprot thrift.TProtocol) (err error)
- type ItemService
- type ItemServiceAddArgs
- func (p *ItemServiceAddArgs) BLength() int
- func (p *ItemServiceAddArgs) DeepEqual(ano *ItemServiceAddArgs) bool
- func (p *ItemServiceAddArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceAddArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceAddArgs) FastWrite(buf []byte) int
- func (p *ItemServiceAddArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceAddArgs) Field1DeepEqual(src *AddReq) bool
- func (p *ItemServiceAddArgs) GetFirstArgument() interface{}
- func (p *ItemServiceAddArgs) GetReq() (v *AddReq)
- func (p *ItemServiceAddArgs) IsSetReq() bool
- func (p *ItemServiceAddArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceAddArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceAddArgs) SetReq(val *AddReq)
- func (p *ItemServiceAddArgs) String() string
- func (p *ItemServiceAddArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceAddResult
- func (p *ItemServiceAddResult) BLength() int
- func (p *ItemServiceAddResult) DeepEqual(ano *ItemServiceAddResult) bool
- func (p *ItemServiceAddResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceAddResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceAddResult) FastWrite(buf []byte) int
- func (p *ItemServiceAddResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceAddResult) Field0DeepEqual(src *AddResp) bool
- func (p *ItemServiceAddResult) GetResult() interface{}
- func (p *ItemServiceAddResult) GetSuccess() (v *AddResp)
- func (p *ItemServiceAddResult) IsSetSuccess() bool
- func (p *ItemServiceAddResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceAddResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceAddResult) SetSuccess(x interface{})
- func (p *ItemServiceAddResult) String() string
- func (p *ItemServiceAddResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceClient
- func (p *ItemServiceClient) Add(ctx context.Context, req *AddReq) (r *AddResp, err error)
- func (p *ItemServiceClient) Client_() thrift.TClient
- func (p *ItemServiceClient) DecrStock(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error)
- func (p *ItemServiceClient) DecrStockRevert(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error)
- func (p *ItemServiceClient) Delete(ctx context.Context, req *DeleteReq) (r *DeleteResp, err error)
- func (p *ItemServiceClient) Edit(ctx context.Context, req *EditReq) (r *EditResp, err error)
- func (p *ItemServiceClient) Get(ctx context.Context, req *GetReq) (r *GetResp, err error)
- func (p *ItemServiceClient) List(ctx context.Context, req *ListReq) (r *ListResp, err error)
- func (p *ItemServiceClient) MGet2C(ctx context.Context, req *MGet2CReq) (r *MGet2CResp, err error)
- func (p *ItemServiceClient) Offline(ctx context.Context, req *OfflineReq) (r *OfflineResp, err error)
- func (p *ItemServiceClient) Online(ctx context.Context, req *OnlineReq) (r *OnlineResp, err error)
- func (p *ItemServiceClient) Search(ctx context.Context, req *SearchReq) (r *SearchResp, err error)
- type ItemServiceDecrStockArgs
- func (p *ItemServiceDecrStockArgs) BLength() int
- func (p *ItemServiceDecrStockArgs) DeepEqual(ano *ItemServiceDecrStockArgs) bool
- func (p *ItemServiceDecrStockArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDecrStockArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceDecrStockArgs) FastWrite(buf []byte) int
- func (p *ItemServiceDecrStockArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDecrStockArgs) Field1DeepEqual(src *DecrStockReq) bool
- func (p *ItemServiceDecrStockArgs) GetFirstArgument() interface{}
- func (p *ItemServiceDecrStockArgs) GetReq() (v *DecrStockReq)
- func (p *ItemServiceDecrStockArgs) IsSetReq() bool
- func (p *ItemServiceDecrStockArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDecrStockArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceDecrStockArgs) SetReq(val *DecrStockReq)
- func (p *ItemServiceDecrStockArgs) String() string
- func (p *ItemServiceDecrStockArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceDecrStockResult
- func (p *ItemServiceDecrStockResult) BLength() int
- func (p *ItemServiceDecrStockResult) DeepEqual(ano *ItemServiceDecrStockResult) bool
- func (p *ItemServiceDecrStockResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDecrStockResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceDecrStockResult) FastWrite(buf []byte) int
- func (p *ItemServiceDecrStockResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDecrStockResult) Field0DeepEqual(src *DecrStockResp) bool
- func (p *ItemServiceDecrStockResult) GetResult() interface{}
- func (p *ItemServiceDecrStockResult) GetSuccess() (v *DecrStockResp)
- func (p *ItemServiceDecrStockResult) IsSetSuccess() bool
- func (p *ItemServiceDecrStockResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDecrStockResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceDecrStockResult) SetSuccess(x interface{})
- func (p *ItemServiceDecrStockResult) String() string
- func (p *ItemServiceDecrStockResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceDecrStockRevertArgs
- func (p *ItemServiceDecrStockRevertArgs) BLength() int
- func (p *ItemServiceDecrStockRevertArgs) DeepEqual(ano *ItemServiceDecrStockRevertArgs) bool
- func (p *ItemServiceDecrStockRevertArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDecrStockRevertArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceDecrStockRevertArgs) FastWrite(buf []byte) int
- func (p *ItemServiceDecrStockRevertArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDecrStockRevertArgs) Field1DeepEqual(src *DecrStockReq) bool
- func (p *ItemServiceDecrStockRevertArgs) GetFirstArgument() interface{}
- func (p *ItemServiceDecrStockRevertArgs) GetReq() (v *DecrStockReq)
- func (p *ItemServiceDecrStockRevertArgs) IsSetReq() bool
- func (p *ItemServiceDecrStockRevertArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDecrStockRevertArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceDecrStockRevertArgs) SetReq(val *DecrStockReq)
- func (p *ItemServiceDecrStockRevertArgs) String() string
- func (p *ItemServiceDecrStockRevertArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceDecrStockRevertResult
- func (p *ItemServiceDecrStockRevertResult) BLength() int
- func (p *ItemServiceDecrStockRevertResult) DeepEqual(ano *ItemServiceDecrStockRevertResult) bool
- func (p *ItemServiceDecrStockRevertResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDecrStockRevertResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceDecrStockRevertResult) FastWrite(buf []byte) int
- func (p *ItemServiceDecrStockRevertResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDecrStockRevertResult) Field0DeepEqual(src *DecrStockResp) bool
- func (p *ItemServiceDecrStockRevertResult) GetResult() interface{}
- func (p *ItemServiceDecrStockRevertResult) GetSuccess() (v *DecrStockResp)
- func (p *ItemServiceDecrStockRevertResult) IsSetSuccess() bool
- func (p *ItemServiceDecrStockRevertResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDecrStockRevertResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceDecrStockRevertResult) SetSuccess(x interface{})
- func (p *ItemServiceDecrStockRevertResult) String() string
- func (p *ItemServiceDecrStockRevertResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceDeleteArgs
- func (p *ItemServiceDeleteArgs) BLength() int
- func (p *ItemServiceDeleteArgs) DeepEqual(ano *ItemServiceDeleteArgs) bool
- func (p *ItemServiceDeleteArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDeleteArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceDeleteArgs) FastWrite(buf []byte) int
- func (p *ItemServiceDeleteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDeleteArgs) Field1DeepEqual(src *DeleteReq) bool
- func (p *ItemServiceDeleteArgs) GetFirstArgument() interface{}
- func (p *ItemServiceDeleteArgs) GetReq() (v *DeleteReq)
- func (p *ItemServiceDeleteArgs) IsSetReq() bool
- func (p *ItemServiceDeleteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDeleteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceDeleteArgs) SetReq(val *DeleteReq)
- func (p *ItemServiceDeleteArgs) String() string
- func (p *ItemServiceDeleteArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceDeleteResult
- func (p *ItemServiceDeleteResult) BLength() int
- func (p *ItemServiceDeleteResult) DeepEqual(ano *ItemServiceDeleteResult) bool
- func (p *ItemServiceDeleteResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceDeleteResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceDeleteResult) FastWrite(buf []byte) int
- func (p *ItemServiceDeleteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceDeleteResult) Field0DeepEqual(src *DeleteResp) bool
- func (p *ItemServiceDeleteResult) GetResult() interface{}
- func (p *ItemServiceDeleteResult) GetSuccess() (v *DeleteResp)
- func (p *ItemServiceDeleteResult) IsSetSuccess() bool
- func (p *ItemServiceDeleteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceDeleteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceDeleteResult) SetSuccess(x interface{})
- func (p *ItemServiceDeleteResult) String() string
- func (p *ItemServiceDeleteResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceEditArgs
- func (p *ItemServiceEditArgs) BLength() int
- func (p *ItemServiceEditArgs) DeepEqual(ano *ItemServiceEditArgs) bool
- func (p *ItemServiceEditArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceEditArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceEditArgs) FastWrite(buf []byte) int
- func (p *ItemServiceEditArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceEditArgs) Field1DeepEqual(src *EditReq) bool
- func (p *ItemServiceEditArgs) GetFirstArgument() interface{}
- func (p *ItemServiceEditArgs) GetReq() (v *EditReq)
- func (p *ItemServiceEditArgs) IsSetReq() bool
- func (p *ItemServiceEditArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceEditArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceEditArgs) SetReq(val *EditReq)
- func (p *ItemServiceEditArgs) String() string
- func (p *ItemServiceEditArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceEditResult
- func (p *ItemServiceEditResult) BLength() int
- func (p *ItemServiceEditResult) DeepEqual(ano *ItemServiceEditResult) bool
- func (p *ItemServiceEditResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceEditResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceEditResult) FastWrite(buf []byte) int
- func (p *ItemServiceEditResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceEditResult) Field0DeepEqual(src *EditResp) bool
- func (p *ItemServiceEditResult) GetResult() interface{}
- func (p *ItemServiceEditResult) GetSuccess() (v *EditResp)
- func (p *ItemServiceEditResult) IsSetSuccess() bool
- func (p *ItemServiceEditResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceEditResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceEditResult) SetSuccess(x interface{})
- func (p *ItemServiceEditResult) String() string
- func (p *ItemServiceEditResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceGetArgs
- func (p *ItemServiceGetArgs) BLength() int
- func (p *ItemServiceGetArgs) DeepEqual(ano *ItemServiceGetArgs) bool
- func (p *ItemServiceGetArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceGetArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceGetArgs) FastWrite(buf []byte) int
- func (p *ItemServiceGetArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceGetArgs) Field1DeepEqual(src *GetReq) bool
- func (p *ItemServiceGetArgs) GetFirstArgument() interface{}
- func (p *ItemServiceGetArgs) GetReq() (v *GetReq)
- func (p *ItemServiceGetArgs) IsSetReq() bool
- func (p *ItemServiceGetArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceGetArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceGetArgs) SetReq(val *GetReq)
- func (p *ItemServiceGetArgs) String() string
- func (p *ItemServiceGetArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceGetResult
- func (p *ItemServiceGetResult) BLength() int
- func (p *ItemServiceGetResult) DeepEqual(ano *ItemServiceGetResult) bool
- func (p *ItemServiceGetResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceGetResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceGetResult) FastWrite(buf []byte) int
- func (p *ItemServiceGetResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceGetResult) Field0DeepEqual(src *GetResp) bool
- func (p *ItemServiceGetResult) GetResult() interface{}
- func (p *ItemServiceGetResult) GetSuccess() (v *GetResp)
- func (p *ItemServiceGetResult) IsSetSuccess() bool
- func (p *ItemServiceGetResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceGetResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceGetResult) SetSuccess(x interface{})
- func (p *ItemServiceGetResult) String() string
- func (p *ItemServiceGetResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceListArgs
- func (p *ItemServiceListArgs) BLength() int
- func (p *ItemServiceListArgs) DeepEqual(ano *ItemServiceListArgs) bool
- func (p *ItemServiceListArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceListArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceListArgs) FastWrite(buf []byte) int
- func (p *ItemServiceListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceListArgs) Field1DeepEqual(src *ListReq) bool
- func (p *ItemServiceListArgs) GetFirstArgument() interface{}
- func (p *ItemServiceListArgs) GetReq() (v *ListReq)
- func (p *ItemServiceListArgs) IsSetReq() bool
- func (p *ItemServiceListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceListArgs) SetReq(val *ListReq)
- func (p *ItemServiceListArgs) String() string
- func (p *ItemServiceListArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceListResult
- func (p *ItemServiceListResult) BLength() int
- func (p *ItemServiceListResult) DeepEqual(ano *ItemServiceListResult) bool
- func (p *ItemServiceListResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceListResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceListResult) FastWrite(buf []byte) int
- func (p *ItemServiceListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceListResult) Field0DeepEqual(src *ListResp) bool
- func (p *ItemServiceListResult) GetResult() interface{}
- func (p *ItemServiceListResult) GetSuccess() (v *ListResp)
- func (p *ItemServiceListResult) IsSetSuccess() bool
- func (p *ItemServiceListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceListResult) SetSuccess(x interface{})
- func (p *ItemServiceListResult) String() string
- func (p *ItemServiceListResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceMGet2CArgs
- func (p *ItemServiceMGet2CArgs) BLength() int
- func (p *ItemServiceMGet2CArgs) DeepEqual(ano *ItemServiceMGet2CArgs) bool
- func (p *ItemServiceMGet2CArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceMGet2CArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceMGet2CArgs) FastWrite(buf []byte) int
- func (p *ItemServiceMGet2CArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceMGet2CArgs) Field1DeepEqual(src *MGet2CReq) bool
- func (p *ItemServiceMGet2CArgs) GetFirstArgument() interface{}
- func (p *ItemServiceMGet2CArgs) GetReq() (v *MGet2CReq)
- func (p *ItemServiceMGet2CArgs) IsSetReq() bool
- func (p *ItemServiceMGet2CArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceMGet2CArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceMGet2CArgs) SetReq(val *MGet2CReq)
- func (p *ItemServiceMGet2CArgs) String() string
- func (p *ItemServiceMGet2CArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceMGet2CResult
- func (p *ItemServiceMGet2CResult) BLength() int
- func (p *ItemServiceMGet2CResult) DeepEqual(ano *ItemServiceMGet2CResult) bool
- func (p *ItemServiceMGet2CResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceMGet2CResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceMGet2CResult) FastWrite(buf []byte) int
- func (p *ItemServiceMGet2CResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceMGet2CResult) Field0DeepEqual(src *MGet2CResp) bool
- func (p *ItemServiceMGet2CResult) GetResult() interface{}
- func (p *ItemServiceMGet2CResult) GetSuccess() (v *MGet2CResp)
- func (p *ItemServiceMGet2CResult) IsSetSuccess() bool
- func (p *ItemServiceMGet2CResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceMGet2CResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceMGet2CResult) SetSuccess(x interface{})
- func (p *ItemServiceMGet2CResult) String() string
- func (p *ItemServiceMGet2CResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceOfflineArgs
- func (p *ItemServiceOfflineArgs) BLength() int
- func (p *ItemServiceOfflineArgs) DeepEqual(ano *ItemServiceOfflineArgs) bool
- func (p *ItemServiceOfflineArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceOfflineArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceOfflineArgs) FastWrite(buf []byte) int
- func (p *ItemServiceOfflineArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceOfflineArgs) Field1DeepEqual(src *OfflineReq) bool
- func (p *ItemServiceOfflineArgs) GetFirstArgument() interface{}
- func (p *ItemServiceOfflineArgs) GetReq() (v *OfflineReq)
- func (p *ItemServiceOfflineArgs) IsSetReq() bool
- func (p *ItemServiceOfflineArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceOfflineArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceOfflineArgs) SetReq(val *OfflineReq)
- func (p *ItemServiceOfflineArgs) String() string
- func (p *ItemServiceOfflineArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceOfflineResult
- func (p *ItemServiceOfflineResult) BLength() int
- func (p *ItemServiceOfflineResult) DeepEqual(ano *ItemServiceOfflineResult) bool
- func (p *ItemServiceOfflineResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceOfflineResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceOfflineResult) FastWrite(buf []byte) int
- func (p *ItemServiceOfflineResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceOfflineResult) Field0DeepEqual(src *OfflineResp) bool
- func (p *ItemServiceOfflineResult) GetResult() interface{}
- func (p *ItemServiceOfflineResult) GetSuccess() (v *OfflineResp)
- func (p *ItemServiceOfflineResult) IsSetSuccess() bool
- func (p *ItemServiceOfflineResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceOfflineResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceOfflineResult) SetSuccess(x interface{})
- func (p *ItemServiceOfflineResult) String() string
- func (p *ItemServiceOfflineResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceOnlineArgs
- func (p *ItemServiceOnlineArgs) BLength() int
- func (p *ItemServiceOnlineArgs) DeepEqual(ano *ItemServiceOnlineArgs) bool
- func (p *ItemServiceOnlineArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceOnlineArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceOnlineArgs) FastWrite(buf []byte) int
- func (p *ItemServiceOnlineArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceOnlineArgs) Field1DeepEqual(src *OnlineReq) bool
- func (p *ItemServiceOnlineArgs) GetFirstArgument() interface{}
- func (p *ItemServiceOnlineArgs) GetReq() (v *OnlineReq)
- func (p *ItemServiceOnlineArgs) IsSetReq() bool
- func (p *ItemServiceOnlineArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceOnlineArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceOnlineArgs) SetReq(val *OnlineReq)
- func (p *ItemServiceOnlineArgs) String() string
- func (p *ItemServiceOnlineArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceOnlineResult
- func (p *ItemServiceOnlineResult) BLength() int
- func (p *ItemServiceOnlineResult) DeepEqual(ano *ItemServiceOnlineResult) bool
- func (p *ItemServiceOnlineResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceOnlineResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceOnlineResult) FastWrite(buf []byte) int
- func (p *ItemServiceOnlineResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceOnlineResult) Field0DeepEqual(src *OnlineResp) bool
- func (p *ItemServiceOnlineResult) GetResult() interface{}
- func (p *ItemServiceOnlineResult) GetSuccess() (v *OnlineResp)
- func (p *ItemServiceOnlineResult) IsSetSuccess() bool
- func (p *ItemServiceOnlineResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceOnlineResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceOnlineResult) SetSuccess(x interface{})
- func (p *ItemServiceOnlineResult) String() string
- func (p *ItemServiceOnlineResult) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceProcessor
- func (p *ItemServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ItemServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ItemServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ItemServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ItemServiceSearchArgs
- func (p *ItemServiceSearchArgs) BLength() int
- func (p *ItemServiceSearchArgs) DeepEqual(ano *ItemServiceSearchArgs) bool
- func (p *ItemServiceSearchArgs) FastRead(buf []byte) (int, error)
- func (p *ItemServiceSearchArgs) FastReadField1(buf []byte) (int, error)
- func (p *ItemServiceSearchArgs) FastWrite(buf []byte) int
- func (p *ItemServiceSearchArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceSearchArgs) Field1DeepEqual(src *SearchReq) bool
- func (p *ItemServiceSearchArgs) GetFirstArgument() interface{}
- func (p *ItemServiceSearchArgs) GetReq() (v *SearchReq)
- func (p *ItemServiceSearchArgs) IsSetReq() bool
- func (p *ItemServiceSearchArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceSearchArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ItemServiceSearchArgs) SetReq(val *SearchReq)
- func (p *ItemServiceSearchArgs) String() string
- func (p *ItemServiceSearchArgs) Write(oprot thrift.TProtocol) (err error)
- type ItemServiceSearchResult
- func (p *ItemServiceSearchResult) BLength() int
- func (p *ItemServiceSearchResult) DeepEqual(ano *ItemServiceSearchResult) bool
- func (p *ItemServiceSearchResult) FastRead(buf []byte) (int, error)
- func (p *ItemServiceSearchResult) FastReadField0(buf []byte) (int, error)
- func (p *ItemServiceSearchResult) FastWrite(buf []byte) int
- func (p *ItemServiceSearchResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ItemServiceSearchResult) Field0DeepEqual(src *SearchResp) bool
- func (p *ItemServiceSearchResult) GetResult() interface{}
- func (p *ItemServiceSearchResult) GetSuccess() (v *SearchResp)
- func (p *ItemServiceSearchResult) IsSetSuccess() bool
- func (p *ItemServiceSearchResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ItemServiceSearchResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ItemServiceSearchResult) SetSuccess(x interface{})
- func (p *ItemServiceSearchResult) String() string
- func (p *ItemServiceSearchResult) Write(oprot thrift.TProtocol) (err error)
- type ListReq
- func (p *ListReq) BLength() int
- func (p *ListReq) DeepEqual(ano *ListReq) bool
- func (p *ListReq) FastRead(buf []byte) (int, error)
- func (p *ListReq) FastReadField1(buf []byte) (int, error)
- func (p *ListReq) FastReadField2(buf []byte) (int, error)
- func (p *ListReq) FastReadField3(buf []byte) (int, error)
- func (p *ListReq) FastWrite(buf []byte) int
- func (p *ListReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ListReq) Field1DeepEqual(src *string) bool
- func (p *ListReq) Field2DeepEqual(src *string) bool
- func (p *ListReq) Field3DeepEqual(src *Status) bool
- func (p *ListReq) GetName() (v string)
- func (p *ListReq) GetSpuName() (v string)
- func (p *ListReq) GetStatus() (v Status)
- func (p *ListReq) IsSetName() bool
- func (p *ListReq) IsSetSpuName() bool
- func (p *ListReq) IsSetStatus() bool
- func (p *ListReq) Read(iprot thrift.TProtocol) (err error)
- func (p *ListReq) ReadField1(iprot thrift.TProtocol) error
- func (p *ListReq) ReadField2(iprot thrift.TProtocol) error
- func (p *ListReq) ReadField3(iprot thrift.TProtocol) error
- func (p *ListReq) SetName(val *string)
- func (p *ListReq) SetSpuName(val *string)
- func (p *ListReq) SetStatus(val *Status)
- func (p *ListReq) String() string
- func (p *ListReq) Write(oprot thrift.TProtocol) (err error)
- type ListResp
- func (p *ListResp) BLength() int
- func (p *ListResp) DeepEqual(ano *ListResp) bool
- func (p *ListResp) FastRead(buf []byte) (int, error)
- func (p *ListResp) FastReadField1(buf []byte) (int, error)
- func (p *ListResp) FastReadField255(buf []byte) (int, error)
- func (p *ListResp) FastWrite(buf []byte) int
- func (p *ListResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ListResp) Field1DeepEqual(src []*Product) bool
- func (p *ListResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *ListResp) GetBaseResp() (v *base.BaseResp)
- func (p *ListResp) GetProducts() (v []*Product)
- func (p *ListResp) IsSetBaseResp() bool
- func (p *ListResp) Read(iprot thrift.TProtocol) (err error)
- func (p *ListResp) ReadField1(iprot thrift.TProtocol) error
- func (p *ListResp) ReadField255(iprot thrift.TProtocol) error
- func (p *ListResp) SetBaseResp(val *base.BaseResp)
- func (p *ListResp) SetProducts(val []*Product)
- func (p *ListResp) String() string
- func (p *ListResp) Write(oprot thrift.TProtocol) (err error)
- type MGet2CReq
- func (p *MGet2CReq) BLength() int
- func (p *MGet2CReq) DeepEqual(ano *MGet2CReq) bool
- func (p *MGet2CReq) FastRead(buf []byte) (int, error)
- func (p *MGet2CReq) FastReadField1(buf []byte) (int, error)
- func (p *MGet2CReq) FastWrite(buf []byte) int
- func (p *MGet2CReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGet2CReq) Field1DeepEqual(src []int64) bool
- func (p *MGet2CReq) GetProductIds() (v []int64)
- func (p *MGet2CReq) Read(iprot thrift.TProtocol) (err error)
- func (p *MGet2CReq) ReadField1(iprot thrift.TProtocol) error
- func (p *MGet2CReq) SetProductIds(val []int64)
- func (p *MGet2CReq) String() string
- func (p *MGet2CReq) Write(oprot thrift.TProtocol) (err error)
- type MGet2CResp
- func (p *MGet2CResp) BLength() int
- func (p *MGet2CResp) DeepEqual(ano *MGet2CResp) bool
- func (p *MGet2CResp) FastRead(buf []byte) (int, error)
- func (p *MGet2CResp) FastReadField1(buf []byte) (int, error)
- func (p *MGet2CResp) FastReadField255(buf []byte) (int, error)
- func (p *MGet2CResp) FastWrite(buf []byte) int
- func (p *MGet2CResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGet2CResp) Field1DeepEqual(src map[int64]*Product) bool
- func (p *MGet2CResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *MGet2CResp) GetBaseResp() (v *base.BaseResp)
- func (p *MGet2CResp) GetProductMap() (v map[int64]*Product)
- func (p *MGet2CResp) IsSetBaseResp() bool
- func (p *MGet2CResp) Read(iprot thrift.TProtocol) (err error)
- func (p *MGet2CResp) ReadField1(iprot thrift.TProtocol) error
- func (p *MGet2CResp) ReadField255(iprot thrift.TProtocol) error
- func (p *MGet2CResp) SetBaseResp(val *base.BaseResp)
- func (p *MGet2CResp) SetProductMap(val map[int64]*Product)
- func (p *MGet2CResp) String() string
- func (p *MGet2CResp) Write(oprot thrift.TProtocol) (err error)
- type OfflineReq
- func (p *OfflineReq) BLength() int
- func (p *OfflineReq) DeepEqual(ano *OfflineReq) bool
- func (p *OfflineReq) FastRead(buf []byte) (int, error)
- func (p *OfflineReq) FastReadField1(buf []byte) (int, error)
- func (p *OfflineReq) FastWrite(buf []byte) int
- func (p *OfflineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OfflineReq) Field1DeepEqual(src int64) bool
- func (p *OfflineReq) GetProductId() (v int64)
- func (p *OfflineReq) Read(iprot thrift.TProtocol) (err error)
- func (p *OfflineReq) ReadField1(iprot thrift.TProtocol) error
- func (p *OfflineReq) SetProductId(val int64)
- func (p *OfflineReq) String() string
- func (p *OfflineReq) Write(oprot thrift.TProtocol) (err error)
- type OfflineResp
- func (p *OfflineResp) BLength() int
- func (p *OfflineResp) DeepEqual(ano *OfflineResp) bool
- func (p *OfflineResp) FastRead(buf []byte) (int, error)
- func (p *OfflineResp) FastReadField255(buf []byte) (int, error)
- func (p *OfflineResp) FastWrite(buf []byte) int
- func (p *OfflineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OfflineResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *OfflineResp) GetBaseResp() (v *base.BaseResp)
- func (p *OfflineResp) IsSetBaseResp() bool
- func (p *OfflineResp) Read(iprot thrift.TProtocol) (err error)
- func (p *OfflineResp) ReadField255(iprot thrift.TProtocol) error
- func (p *OfflineResp) SetBaseResp(val *base.BaseResp)
- func (p *OfflineResp) String() string
- func (p *OfflineResp) Write(oprot thrift.TProtocol) (err error)
- type OnlineReq
- func (p *OnlineReq) BLength() int
- func (p *OnlineReq) DeepEqual(ano *OnlineReq) bool
- func (p *OnlineReq) FastRead(buf []byte) (int, error)
- func (p *OnlineReq) FastReadField1(buf []byte) (int, error)
- func (p *OnlineReq) FastWrite(buf []byte) int
- func (p *OnlineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OnlineReq) Field1DeepEqual(src int64) bool
- func (p *OnlineReq) GetProductId() (v int64)
- func (p *OnlineReq) Read(iprot thrift.TProtocol) (err error)
- func (p *OnlineReq) ReadField1(iprot thrift.TProtocol) error
- func (p *OnlineReq) SetProductId(val int64)
- func (p *OnlineReq) String() string
- func (p *OnlineReq) Write(oprot thrift.TProtocol) (err error)
- type OnlineResp
- func (p *OnlineResp) BLength() int
- func (p *OnlineResp) DeepEqual(ano *OnlineResp) bool
- func (p *OnlineResp) FastRead(buf []byte) (int, error)
- func (p *OnlineResp) FastReadField255(buf []byte) (int, error)
- func (p *OnlineResp) FastWrite(buf []byte) int
- func (p *OnlineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OnlineResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *OnlineResp) GetBaseResp() (v *base.BaseResp)
- func (p *OnlineResp) IsSetBaseResp() bool
- func (p *OnlineResp) Read(iprot thrift.TProtocol) (err error)
- func (p *OnlineResp) ReadField255(iprot thrift.TProtocol) error
- func (p *OnlineResp) SetBaseResp(val *base.BaseResp)
- func (p *OnlineResp) String() string
- func (p *OnlineResp) Write(oprot thrift.TProtocol) (err error)
- type Product
- func (p *Product) BLength() int
- func (p *Product) DeepEqual(ano *Product) bool
- func (p *Product) FastRead(buf []byte) (int, error)
- func (p *Product) FastReadField1(buf []byte) (int, error)
- func (p *Product) FastReadField2(buf []byte) (int, error)
- func (p *Product) FastReadField3(buf []byte) (int, error)
- func (p *Product) FastReadField4(buf []byte) (int, error)
- func (p *Product) FastReadField5(buf []byte) (int, error)
- func (p *Product) FastReadField6(buf []byte) (int, error)
- func (p *Product) FastReadField7(buf []byte) (int, error)
- func (p *Product) FastReadField8(buf []byte) (int, error)
- func (p *Product) FastWrite(buf []byte) int
- func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Product) Field1DeepEqual(src int64) bool
- func (p *Product) Field2DeepEqual(src string) bool
- func (p *Product) Field3DeepEqual(src string) bool
- func (p *Product) Field4DeepEqual(src string) bool
- func (p *Product) Field5DeepEqual(src *BookProperty) bool
- func (p *Product) Field6DeepEqual(src int64) bool
- func (p *Product) Field7DeepEqual(src int64) bool
- func (p *Product) Field8DeepEqual(src Status) bool
- func (p *Product) GetDescription() (v string)
- func (p *Product) GetName() (v string)
- func (p *Product) GetPic() (v string)
- func (p *Product) GetPrice() (v int64)
- func (p *Product) GetProductId() (v int64)
- func (p *Product) GetProperty() (v *BookProperty)
- func (p *Product) GetStatus() (v Status)
- func (p *Product) GetStock() (v int64)
- func (p *Product) IsSetProperty() bool
- func (p *Product) Read(iprot thrift.TProtocol) (err error)
- func (p *Product) ReadField1(iprot thrift.TProtocol) error
- func (p *Product) ReadField2(iprot thrift.TProtocol) error
- func (p *Product) ReadField3(iprot thrift.TProtocol) error
- func (p *Product) ReadField4(iprot thrift.TProtocol) error
- func (p *Product) ReadField5(iprot thrift.TProtocol) error
- func (p *Product) ReadField6(iprot thrift.TProtocol) error
- func (p *Product) ReadField7(iprot thrift.TProtocol) error
- func (p *Product) ReadField8(iprot thrift.TProtocol) error
- func (p *Product) SetDescription(val string)
- func (p *Product) SetName(val string)
- func (p *Product) SetPic(val string)
- func (p *Product) SetPrice(val int64)
- func (p *Product) SetProductId(val int64)
- func (p *Product) SetProperty(val *BookProperty)
- func (p *Product) SetStatus(val Status)
- func (p *Product) SetStock(val int64)
- func (p *Product) String() string
- func (p *Product) Write(oprot thrift.TProtocol) (err error)
- type SearchReq
- func (p *SearchReq) BLength() int
- func (p *SearchReq) DeepEqual(ano *SearchReq) bool
- func (p *SearchReq) FastRead(buf []byte) (int, error)
- func (p *SearchReq) FastReadField1(buf []byte) (int, error)
- func (p *SearchReq) FastReadField2(buf []byte) (int, error)
- func (p *SearchReq) FastReadField3(buf []byte) (int, error)
- func (p *SearchReq) FastWrite(buf []byte) int
- func (p *SearchReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *SearchReq) Field1DeepEqual(src *string) bool
- func (p *SearchReq) Field2DeepEqual(src *string) bool
- func (p *SearchReq) Field3DeepEqual(src *string) bool
- func (p *SearchReq) GetDescription() (v string)
- func (p *SearchReq) GetName() (v string)
- func (p *SearchReq) GetSpuName() (v string)
- func (p *SearchReq) IsSetDescription() bool
- func (p *SearchReq) IsSetName() bool
- func (p *SearchReq) IsSetSpuName() bool
- func (p *SearchReq) Read(iprot thrift.TProtocol) (err error)
- func (p *SearchReq) ReadField1(iprot thrift.TProtocol) error
- func (p *SearchReq) ReadField2(iprot thrift.TProtocol) error
- func (p *SearchReq) ReadField3(iprot thrift.TProtocol) error
- func (p *SearchReq) SetDescription(val *string)
- func (p *SearchReq) SetName(val *string)
- func (p *SearchReq) SetSpuName(val *string)
- func (p *SearchReq) String() string
- func (p *SearchReq) Write(oprot thrift.TProtocol) (err error)
- type SearchResp
- func (p *SearchResp) BLength() int
- func (p *SearchResp) DeepEqual(ano *SearchResp) bool
- func (p *SearchResp) FastRead(buf []byte) (int, error)
- func (p *SearchResp) FastReadField1(buf []byte) (int, error)
- func (p *SearchResp) FastReadField255(buf []byte) (int, error)
- func (p *SearchResp) FastWrite(buf []byte) int
- func (p *SearchResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *SearchResp) Field1DeepEqual(src []*Product) bool
- func (p *SearchResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *SearchResp) GetBaseResp() (v *base.BaseResp)
- func (p *SearchResp) GetProducts() (v []*Product)
- func (p *SearchResp) IsSetBaseResp() bool
- func (p *SearchResp) Read(iprot thrift.TProtocol) (err error)
- func (p *SearchResp) ReadField1(iprot thrift.TProtocol) error
- func (p *SearchResp) ReadField255(iprot thrift.TProtocol) error
- func (p *SearchResp) SetBaseResp(val *base.BaseResp)
- func (p *SearchResp) SetProducts(val []*Product)
- func (p *SearchResp) String() string
- func (p *SearchResp) Write(oprot thrift.TProtocol) (err error)
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var AddResp_BaseResp_DEFAULT *base.BaseResp
View Source
var DecrStockResp_BaseResp_DEFAULT *base.BaseResp
View Source
var DeleteResp_BaseResp_DEFAULT *base.BaseResp
View Source
var EditReq_Description_DEFAULT string
View Source
var EditReq_Name_DEFAULT string
View Source
var EditReq_Pic_DEFAULT string
View Source
var EditReq_Price_DEFAULT int64
View Source
var EditReq_Stock_DEFAULT int64
View Source
var EditResp_BaseResp_DEFAULT *base.BaseResp
View Source
var GetResp_BaseResp_DEFAULT *base.BaseResp
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var ListReq_Name_DEFAULT string
View Source
var ListReq_SpuName_DEFAULT string
View Source
var ListResp_BaseResp_DEFAULT *base.BaseResp
View Source
var MGet2CResp_BaseResp_DEFAULT *base.BaseResp
View Source
var OfflineResp_BaseResp_DEFAULT *base.BaseResp
View Source
var OnlineResp_BaseResp_DEFAULT *base.BaseResp
View Source
var SearchReq_Description_DEFAULT string
View Source
var SearchReq_Name_DEFAULT string
View Source
var SearchReq_SpuName_DEFAULT string
View Source
var SearchResp_BaseResp_DEFAULT *base.BaseResp
Functions ¶
This section is empty.
Types ¶
type AddReq ¶
type AddReq struct { Name string `thrift:"name,1,required" json:"name"` Pic string `thrift:"pic,2,required" json:"pic"` Description string `thrift:"description,3,required" json:"description"` Property *BookProperty `thrift:"property,4,required" json:"property"` Price int64 `thrift:"price,5,required" json:"price"` Stock int64 `thrift:"stock,6,required" json:"stock"` }
var ItemServiceAddArgs_Req_DEFAULT *AddReq
func (*AddReq) FastWriteNocopy ¶
func (p *AddReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AddReq) Field1DeepEqual ¶
func (*AddReq) Field2DeepEqual ¶
func (*AddReq) Field3DeepEqual ¶
func (*AddReq) Field4DeepEqual ¶
func (p *AddReq) Field4DeepEqual(src *BookProperty) bool
func (*AddReq) Field5DeepEqual ¶
func (*AddReq) Field6DeepEqual ¶
func (*AddReq) GetDescription ¶
func (*AddReq) GetProperty ¶
func (p *AddReq) GetProperty() (v *BookProperty)
func (*AddReq) IsSetProperty ¶
func (*AddReq) SetDescription ¶
func (*AddReq) SetProperty ¶
func (p *AddReq) SetProperty(val *BookProperty)
type AddResp ¶
type AddResp struct { ProductId int64 `thrift:"product_id,1" json:"product_id"` BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"` }
var ItemServiceAddResult_Success_DEFAULT *AddResp
func NewAddResp ¶
func NewAddResp() *AddResp
func (*AddResp) FastWriteNocopy ¶
func (p *AddResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AddResp) Field1DeepEqual ¶
func (*AddResp) GetBaseResp ¶
func (*AddResp) GetProductId ¶
func (*AddResp) IsSetBaseResp ¶
func (*AddResp) SetBaseResp ¶
func (*AddResp) SetProductId ¶
type BookProperty ¶
type BookProperty struct { Isbn string `thrift:"isbn,1" json:"isbn"` SpuName string `thrift:"spu_name,2" json:"spu_name"` SpuPrice int64 `thrift:"spu_price,3" json:"spu_price"` }
var AddReq_Property_DEFAULT *BookProperty
var EditReq_Property_DEFAULT *BookProperty
var Product_Property_DEFAULT *BookProperty
func NewBookProperty ¶
func NewBookProperty() *BookProperty
func (*BookProperty) BLength ¶
func (p *BookProperty) BLength() int
func (*BookProperty) DeepEqual ¶
func (p *BookProperty) DeepEqual(ano *BookProperty) bool
func (*BookProperty) FastReadField1 ¶
func (p *BookProperty) FastReadField1(buf []byte) (int, error)
func (*BookProperty) FastReadField2 ¶
func (p *BookProperty) FastReadField2(buf []byte) (int, error)
func (*BookProperty) FastReadField3 ¶
func (p *BookProperty) FastReadField3(buf []byte) (int, error)
func (*BookProperty) FastWriteNocopy ¶
func (p *BookProperty) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BookProperty) Field1DeepEqual ¶
func (p *BookProperty) Field1DeepEqual(src string) bool
func (*BookProperty) Field2DeepEqual ¶
func (p *BookProperty) Field2DeepEqual(src string) bool
func (*BookProperty) Field3DeepEqual ¶
func (p *BookProperty) Field3DeepEqual(src int64) bool
func (*BookProperty) GetIsbn ¶
func (p *BookProperty) GetIsbn() (v string)
func (*BookProperty) GetSpuName ¶
func (p *BookProperty) GetSpuName() (v string)
func (*BookProperty) GetSpuPrice ¶
func (p *BookProperty) GetSpuPrice() (v int64)
func (*BookProperty) ReadField1 ¶
func (p *BookProperty) ReadField1(iprot thrift.TProtocol) error
func (*BookProperty) ReadField2 ¶
func (p *BookProperty) ReadField2(iprot thrift.TProtocol) error
func (*BookProperty) ReadField3 ¶
func (p *BookProperty) ReadField3(iprot thrift.TProtocol) error
func (*BookProperty) SetIsbn ¶
func (p *BookProperty) SetIsbn(val string)
func (*BookProperty) SetSpuName ¶
func (p *BookProperty) SetSpuName(val string)
func (*BookProperty) SetSpuPrice ¶
func (p *BookProperty) SetSpuPrice(val int64)
func (*BookProperty) String ¶
func (p *BookProperty) String() string
type DecrStockReq ¶
type DecrStockReq struct { ProductId int64 `thrift:"product_id,1,required" json:"product_id"` StockNum int64 `thrift:"stock_num,2,required" json:"stock_num"` }
var ItemServiceDecrStockArgs_Req_DEFAULT *DecrStockReq
var ItemServiceDecrStockRevertArgs_Req_DEFAULT *DecrStockReq
func NewDecrStockReq ¶
func NewDecrStockReq() *DecrStockReq
func (*DecrStockReq) BLength ¶
func (p *DecrStockReq) BLength() int
func (*DecrStockReq) DeepEqual ¶
func (p *DecrStockReq) DeepEqual(ano *DecrStockReq) bool
func (*DecrStockReq) FastReadField1 ¶
func (p *DecrStockReq) FastReadField1(buf []byte) (int, error)
func (*DecrStockReq) FastReadField2 ¶
func (p *DecrStockReq) FastReadField2(buf []byte) (int, error)
func (*DecrStockReq) FastWriteNocopy ¶
func (p *DecrStockReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DecrStockReq) Field1DeepEqual ¶
func (p *DecrStockReq) Field1DeepEqual(src int64) bool
func (*DecrStockReq) Field2DeepEqual ¶
func (p *DecrStockReq) Field2DeepEqual(src int64) bool
func (*DecrStockReq) GetProductId ¶
func (p *DecrStockReq) GetProductId() (v int64)
func (*DecrStockReq) GetStockNum ¶
func (p *DecrStockReq) GetStockNum() (v int64)
func (*DecrStockReq) ReadField1 ¶
func (p *DecrStockReq) ReadField1(iprot thrift.TProtocol) error
func (*DecrStockReq) ReadField2 ¶
func (p *DecrStockReq) ReadField2(iprot thrift.TProtocol) error
func (*DecrStockReq) SetProductId ¶
func (p *DecrStockReq) SetProductId(val int64)
func (*DecrStockReq) SetStockNum ¶
func (p *DecrStockReq) SetStockNum(val int64)
func (*DecrStockReq) String ¶
func (p *DecrStockReq) String() string
type DecrStockResp ¶
var ItemServiceDecrStockResult_Success_DEFAULT *DecrStockResp
var ItemServiceDecrStockRevertResult_Success_DEFAULT *DecrStockResp
func NewDecrStockResp ¶
func NewDecrStockResp() *DecrStockResp
func (*DecrStockResp) BLength ¶
func (p *DecrStockResp) BLength() int
func (*DecrStockResp) DeepEqual ¶
func (p *DecrStockResp) DeepEqual(ano *DecrStockResp) bool
func (*DecrStockResp) FastReadField255 ¶
func (p *DecrStockResp) FastReadField255(buf []byte) (int, error)
func (*DecrStockResp) FastWrite ¶
func (p *DecrStockResp) FastWrite(buf []byte) int
for compatibility
func (*DecrStockResp) FastWriteNocopy ¶
func (p *DecrStockResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DecrStockResp) Field255DeepEqual ¶
func (p *DecrStockResp) Field255DeepEqual(src *base.BaseResp) bool
func (*DecrStockResp) GetBaseResp ¶
func (p *DecrStockResp) GetBaseResp() (v *base.BaseResp)
func (*DecrStockResp) IsSetBaseResp ¶
func (p *DecrStockResp) IsSetBaseResp() bool
func (*DecrStockResp) ReadField255 ¶
func (p *DecrStockResp) ReadField255(iprot thrift.TProtocol) error
func (*DecrStockResp) SetBaseResp ¶
func (p *DecrStockResp) SetBaseResp(val *base.BaseResp)
func (*DecrStockResp) String ¶
func (p *DecrStockResp) String() string
type DeleteReq ¶
type DeleteReq struct {
ProductId int64 `thrift:"product_id,1,required" json:"product_id"`
}
var ItemServiceDeleteArgs_Req_DEFAULT *DeleteReq
func NewDeleteReq ¶
func NewDeleteReq() *DeleteReq
func (*DeleteReq) FastWriteNocopy ¶
func (p *DeleteReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteReq) Field1DeepEqual ¶
func (*DeleteReq) GetProductId ¶
func (*DeleteReq) SetProductId ¶
type DeleteResp ¶
var ItemServiceDeleteResult_Success_DEFAULT *DeleteResp
func NewDeleteResp ¶
func NewDeleteResp() *DeleteResp
func (*DeleteResp) BLength ¶
func (p *DeleteResp) BLength() int
func (*DeleteResp) DeepEqual ¶
func (p *DeleteResp) DeepEqual(ano *DeleteResp) bool
func (*DeleteResp) FastReadField255 ¶
func (p *DeleteResp) FastReadField255(buf []byte) (int, error)
func (*DeleteResp) FastWriteNocopy ¶
func (p *DeleteResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteResp) Field255DeepEqual ¶
func (p *DeleteResp) Field255DeepEqual(src *base.BaseResp) bool
func (*DeleteResp) GetBaseResp ¶
func (p *DeleteResp) GetBaseResp() (v *base.BaseResp)
func (*DeleteResp) IsSetBaseResp ¶
func (p *DeleteResp) IsSetBaseResp() bool
func (*DeleteResp) ReadField255 ¶
func (p *DeleteResp) ReadField255(iprot thrift.TProtocol) error
func (*DeleteResp) SetBaseResp ¶
func (p *DeleteResp) SetBaseResp(val *base.BaseResp)
func (*DeleteResp) String ¶
func (p *DeleteResp) String() string
type EditReq ¶
type EditReq struct { ProductId int64 `thrift:"product_id,1,required" json:"product_id"` Name *string `thrift:"name,2" json:"name,omitempty"` Pic *string `thrift:"pic,3" json:"pic,omitempty"` Description *string `thrift:"description,4" json:"description,omitempty"` Property *BookProperty `thrift:"property,5" json:"property,omitempty"` Price *int64 `thrift:"price,6" json:"price,omitempty"` Stock *int64 `thrift:"stock,7" json:"stock,omitempty"` }
var ItemServiceEditArgs_Req_DEFAULT *EditReq
func NewEditReq ¶
func NewEditReq() *EditReq
func (*EditReq) FastWriteNocopy ¶
func (p *EditReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*EditReq) Field1DeepEqual ¶
func (*EditReq) Field2DeepEqual ¶
func (*EditReq) Field3DeepEqual ¶
func (*EditReq) Field4DeepEqual ¶
func (*EditReq) Field5DeepEqual ¶
func (p *EditReq) Field5DeepEqual(src *BookProperty) bool
func (*EditReq) Field6DeepEqual ¶
func (*EditReq) Field7DeepEqual ¶
func (*EditReq) GetDescription ¶
func (*EditReq) GetProductId ¶
func (*EditReq) GetProperty ¶
func (p *EditReq) GetProperty() (v *BookProperty)
func (*EditReq) IsSetDescription ¶
func (*EditReq) IsSetPrice ¶
func (*EditReq) IsSetProperty ¶
func (*EditReq) IsSetStock ¶
func (*EditReq) SetDescription ¶
func (*EditReq) SetProductId ¶
func (*EditReq) SetProperty ¶
func (p *EditReq) SetProperty(val *BookProperty)
type EditResp ¶
var ItemServiceEditResult_Success_DEFAULT *EditResp
func NewEditResp ¶
func NewEditResp() *EditResp
func (*EditResp) FastWriteNocopy ¶
func (p *EditResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*EditResp) GetBaseResp ¶
func (*EditResp) IsSetBaseResp ¶
func (*EditResp) SetBaseResp ¶
type GetReq ¶
type GetReq struct {
ProductId int64 `thrift:"product_id,1,required" json:"product_id"`
}
var ItemServiceGetArgs_Req_DEFAULT *GetReq
func (*GetReq) FastWriteNocopy ¶
func (p *GetReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetReq) Field1DeepEqual ¶
func (*GetReq) GetProductId ¶
func (*GetReq) SetProductId ¶
type GetResp ¶
type GetResp struct { Product *Product `thrift:"product,1" json:"product"` BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"` }
var ItemServiceGetResult_Success_DEFAULT *GetResp
func NewGetResp ¶
func NewGetResp() *GetResp
func (*GetResp) FastWriteNocopy ¶
func (p *GetResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetResp) Field1DeepEqual ¶
func (*GetResp) GetBaseResp ¶
func (*GetResp) GetProduct ¶
func (*GetResp) IsSetBaseResp ¶
func (*GetResp) IsSetProduct ¶
func (*GetResp) SetBaseResp ¶
func (*GetResp) SetProduct ¶
type ItemService ¶
type ItemService interface { Add(ctx context.Context, req *AddReq) (r *AddResp, err error) Edit(ctx context.Context, req *EditReq) (r *EditResp, err error) Delete(ctx context.Context, req *DeleteReq) (r *DeleteResp, err error) Online(ctx context.Context, req *OnlineReq) (r *OnlineResp, err error) Offline(ctx context.Context, req *OfflineReq) (r *OfflineResp, err error) Get(ctx context.Context, req *GetReq) (r *GetResp, err error) MGet2C(ctx context.Context, req *MGet2CReq) (r *MGet2CResp, err error) Search(ctx context.Context, req *SearchReq) (r *SearchResp, err error) List(ctx context.Context, req *ListReq) (r *ListResp, err error) DecrStock(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error) DecrStockRevert(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error) }
type ItemServiceAddArgs ¶
type ItemServiceAddArgs struct {
Req *AddReq `thrift:"req,1" json:"req"`
}
func NewItemServiceAddArgs ¶
func NewItemServiceAddArgs() *ItemServiceAddArgs
func (*ItemServiceAddArgs) BLength ¶
func (p *ItemServiceAddArgs) BLength() int
func (*ItemServiceAddArgs) DeepEqual ¶
func (p *ItemServiceAddArgs) DeepEqual(ano *ItemServiceAddArgs) bool
func (*ItemServiceAddArgs) FastRead ¶
func (p *ItemServiceAddArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceAddArgs) FastReadField1 ¶
func (p *ItemServiceAddArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceAddArgs) FastWrite ¶
func (p *ItemServiceAddArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceAddArgs) FastWriteNocopy ¶
func (p *ItemServiceAddArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceAddArgs) Field1DeepEqual ¶
func (p *ItemServiceAddArgs) Field1DeepEqual(src *AddReq) bool
func (*ItemServiceAddArgs) GetFirstArgument ¶
func (p *ItemServiceAddArgs) GetFirstArgument() interface{}
func (*ItemServiceAddArgs) GetReq ¶
func (p *ItemServiceAddArgs) GetReq() (v *AddReq)
func (*ItemServiceAddArgs) IsSetReq ¶
func (p *ItemServiceAddArgs) IsSetReq() bool
func (*ItemServiceAddArgs) Read ¶
func (p *ItemServiceAddArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceAddArgs) ReadField1 ¶
func (p *ItemServiceAddArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceAddArgs) SetReq ¶
func (p *ItemServiceAddArgs) SetReq(val *AddReq)
func (*ItemServiceAddArgs) String ¶
func (p *ItemServiceAddArgs) String() string
type ItemServiceAddResult ¶
type ItemServiceAddResult struct {
Success *AddResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceAddResult ¶
func NewItemServiceAddResult() *ItemServiceAddResult
func (*ItemServiceAddResult) BLength ¶
func (p *ItemServiceAddResult) BLength() int
func (*ItemServiceAddResult) DeepEqual ¶
func (p *ItemServiceAddResult) DeepEqual(ano *ItemServiceAddResult) bool
func (*ItemServiceAddResult) FastRead ¶
func (p *ItemServiceAddResult) FastRead(buf []byte) (int, error)
func (*ItemServiceAddResult) FastReadField0 ¶
func (p *ItemServiceAddResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceAddResult) FastWrite ¶
func (p *ItemServiceAddResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceAddResult) FastWriteNocopy ¶
func (p *ItemServiceAddResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceAddResult) Field0DeepEqual ¶
func (p *ItemServiceAddResult) Field0DeepEqual(src *AddResp) bool
func (*ItemServiceAddResult) GetResult ¶
func (p *ItemServiceAddResult) GetResult() interface{}
func (*ItemServiceAddResult) GetSuccess ¶
func (p *ItemServiceAddResult) GetSuccess() (v *AddResp)
func (*ItemServiceAddResult) IsSetSuccess ¶
func (p *ItemServiceAddResult) IsSetSuccess() bool
func (*ItemServiceAddResult) Read ¶
func (p *ItemServiceAddResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceAddResult) ReadField0 ¶
func (p *ItemServiceAddResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceAddResult) SetSuccess ¶
func (p *ItemServiceAddResult) SetSuccess(x interface{})
func (*ItemServiceAddResult) String ¶
func (p *ItemServiceAddResult) String() string
type ItemServiceClient ¶
type ItemServiceClient struct {
// contains filtered or unexported fields
}
func NewItemServiceClient ¶
func NewItemServiceClient(c thrift.TClient) *ItemServiceClient
func NewItemServiceClientFactory ¶
func NewItemServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ItemServiceClient
func NewItemServiceClientProtocol ¶
func NewItemServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ItemServiceClient
func (*ItemServiceClient) Client_ ¶
func (p *ItemServiceClient) Client_() thrift.TClient
func (*ItemServiceClient) DecrStock ¶
func (p *ItemServiceClient) DecrStock(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error)
func (*ItemServiceClient) DecrStockRevert ¶
func (p *ItemServiceClient) DecrStockRevert(ctx context.Context, req *DecrStockReq) (r *DecrStockResp, err error)
func (*ItemServiceClient) Delete ¶
func (p *ItemServiceClient) Delete(ctx context.Context, req *DeleteReq) (r *DeleteResp, err error)
func (*ItemServiceClient) MGet2C ¶
func (p *ItemServiceClient) MGet2C(ctx context.Context, req *MGet2CReq) (r *MGet2CResp, err error)
func (*ItemServiceClient) Offline ¶
func (p *ItemServiceClient) Offline(ctx context.Context, req *OfflineReq) (r *OfflineResp, err error)
func (*ItemServiceClient) Online ¶
func (p *ItemServiceClient) Online(ctx context.Context, req *OnlineReq) (r *OnlineResp, err error)
func (*ItemServiceClient) Search ¶
func (p *ItemServiceClient) Search(ctx context.Context, req *SearchReq) (r *SearchResp, err error)
type ItemServiceDecrStockArgs ¶
type ItemServiceDecrStockArgs struct {
Req *DecrStockReq `thrift:"req,1" json:"req"`
}
func NewItemServiceDecrStockArgs ¶
func NewItemServiceDecrStockArgs() *ItemServiceDecrStockArgs
func (*ItemServiceDecrStockArgs) BLength ¶
func (p *ItemServiceDecrStockArgs) BLength() int
func (*ItemServiceDecrStockArgs) DeepEqual ¶
func (p *ItemServiceDecrStockArgs) DeepEqual(ano *ItemServiceDecrStockArgs) bool
func (*ItemServiceDecrStockArgs) FastRead ¶
func (p *ItemServiceDecrStockArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceDecrStockArgs) FastReadField1 ¶
func (p *ItemServiceDecrStockArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceDecrStockArgs) FastWrite ¶
func (p *ItemServiceDecrStockArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDecrStockArgs) FastWriteNocopy ¶
func (p *ItemServiceDecrStockArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDecrStockArgs) Field1DeepEqual ¶
func (p *ItemServiceDecrStockArgs) Field1DeepEqual(src *DecrStockReq) bool
func (*ItemServiceDecrStockArgs) GetFirstArgument ¶
func (p *ItemServiceDecrStockArgs) GetFirstArgument() interface{}
func (*ItemServiceDecrStockArgs) GetReq ¶
func (p *ItemServiceDecrStockArgs) GetReq() (v *DecrStockReq)
func (*ItemServiceDecrStockArgs) IsSetReq ¶
func (p *ItemServiceDecrStockArgs) IsSetReq() bool
func (*ItemServiceDecrStockArgs) Read ¶
func (p *ItemServiceDecrStockArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDecrStockArgs) ReadField1 ¶
func (p *ItemServiceDecrStockArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceDecrStockArgs) SetReq ¶
func (p *ItemServiceDecrStockArgs) SetReq(val *DecrStockReq)
func (*ItemServiceDecrStockArgs) String ¶
func (p *ItemServiceDecrStockArgs) String() string
type ItemServiceDecrStockResult ¶
type ItemServiceDecrStockResult struct {
Success *DecrStockResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceDecrStockResult ¶
func NewItemServiceDecrStockResult() *ItemServiceDecrStockResult
func (*ItemServiceDecrStockResult) BLength ¶
func (p *ItemServiceDecrStockResult) BLength() int
func (*ItemServiceDecrStockResult) DeepEqual ¶
func (p *ItemServiceDecrStockResult) DeepEqual(ano *ItemServiceDecrStockResult) bool
func (*ItemServiceDecrStockResult) FastRead ¶
func (p *ItemServiceDecrStockResult) FastRead(buf []byte) (int, error)
func (*ItemServiceDecrStockResult) FastReadField0 ¶
func (p *ItemServiceDecrStockResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceDecrStockResult) FastWrite ¶
func (p *ItemServiceDecrStockResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDecrStockResult) FastWriteNocopy ¶
func (p *ItemServiceDecrStockResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDecrStockResult) Field0DeepEqual ¶
func (p *ItemServiceDecrStockResult) Field0DeepEqual(src *DecrStockResp) bool
func (*ItemServiceDecrStockResult) GetResult ¶
func (p *ItemServiceDecrStockResult) GetResult() interface{}
func (*ItemServiceDecrStockResult) GetSuccess ¶
func (p *ItemServiceDecrStockResult) GetSuccess() (v *DecrStockResp)
func (*ItemServiceDecrStockResult) IsSetSuccess ¶
func (p *ItemServiceDecrStockResult) IsSetSuccess() bool
func (*ItemServiceDecrStockResult) Read ¶
func (p *ItemServiceDecrStockResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDecrStockResult) ReadField0 ¶
func (p *ItemServiceDecrStockResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceDecrStockResult) SetSuccess ¶
func (p *ItemServiceDecrStockResult) SetSuccess(x interface{})
func (*ItemServiceDecrStockResult) String ¶
func (p *ItemServiceDecrStockResult) String() string
type ItemServiceDecrStockRevertArgs ¶
type ItemServiceDecrStockRevertArgs struct {
Req *DecrStockReq `thrift:"req,1" json:"req"`
}
func NewItemServiceDecrStockRevertArgs ¶
func NewItemServiceDecrStockRevertArgs() *ItemServiceDecrStockRevertArgs
func (*ItemServiceDecrStockRevertArgs) BLength ¶
func (p *ItemServiceDecrStockRevertArgs) BLength() int
func (*ItemServiceDecrStockRevertArgs) DeepEqual ¶
func (p *ItemServiceDecrStockRevertArgs) DeepEqual(ano *ItemServiceDecrStockRevertArgs) bool
func (*ItemServiceDecrStockRevertArgs) FastRead ¶
func (p *ItemServiceDecrStockRevertArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceDecrStockRevertArgs) FastReadField1 ¶
func (p *ItemServiceDecrStockRevertArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceDecrStockRevertArgs) FastWrite ¶
func (p *ItemServiceDecrStockRevertArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDecrStockRevertArgs) FastWriteNocopy ¶
func (p *ItemServiceDecrStockRevertArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDecrStockRevertArgs) Field1DeepEqual ¶
func (p *ItemServiceDecrStockRevertArgs) Field1DeepEqual(src *DecrStockReq) bool
func (*ItemServiceDecrStockRevertArgs) GetFirstArgument ¶
func (p *ItemServiceDecrStockRevertArgs) GetFirstArgument() interface{}
func (*ItemServiceDecrStockRevertArgs) GetReq ¶
func (p *ItemServiceDecrStockRevertArgs) GetReq() (v *DecrStockReq)
func (*ItemServiceDecrStockRevertArgs) IsSetReq ¶
func (p *ItemServiceDecrStockRevertArgs) IsSetReq() bool
func (*ItemServiceDecrStockRevertArgs) Read ¶
func (p *ItemServiceDecrStockRevertArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDecrStockRevertArgs) ReadField1 ¶
func (p *ItemServiceDecrStockRevertArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceDecrStockRevertArgs) SetReq ¶
func (p *ItemServiceDecrStockRevertArgs) SetReq(val *DecrStockReq)
func (*ItemServiceDecrStockRevertArgs) String ¶
func (p *ItemServiceDecrStockRevertArgs) String() string
type ItemServiceDecrStockRevertResult ¶
type ItemServiceDecrStockRevertResult struct {
Success *DecrStockResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceDecrStockRevertResult ¶
func NewItemServiceDecrStockRevertResult() *ItemServiceDecrStockRevertResult
func (*ItemServiceDecrStockRevertResult) BLength ¶
func (p *ItemServiceDecrStockRevertResult) BLength() int
func (*ItemServiceDecrStockRevertResult) DeepEqual ¶
func (p *ItemServiceDecrStockRevertResult) DeepEqual(ano *ItemServiceDecrStockRevertResult) bool
func (*ItemServiceDecrStockRevertResult) FastRead ¶
func (p *ItemServiceDecrStockRevertResult) FastRead(buf []byte) (int, error)
func (*ItemServiceDecrStockRevertResult) FastReadField0 ¶
func (p *ItemServiceDecrStockRevertResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceDecrStockRevertResult) FastWrite ¶
func (p *ItemServiceDecrStockRevertResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDecrStockRevertResult) FastWriteNocopy ¶
func (p *ItemServiceDecrStockRevertResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDecrStockRevertResult) Field0DeepEqual ¶
func (p *ItemServiceDecrStockRevertResult) Field0DeepEqual(src *DecrStockResp) bool
func (*ItemServiceDecrStockRevertResult) GetResult ¶
func (p *ItemServiceDecrStockRevertResult) GetResult() interface{}
func (*ItemServiceDecrStockRevertResult) GetSuccess ¶
func (p *ItemServiceDecrStockRevertResult) GetSuccess() (v *DecrStockResp)
func (*ItemServiceDecrStockRevertResult) IsSetSuccess ¶
func (p *ItemServiceDecrStockRevertResult) IsSetSuccess() bool
func (*ItemServiceDecrStockRevertResult) Read ¶
func (p *ItemServiceDecrStockRevertResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDecrStockRevertResult) ReadField0 ¶
func (p *ItemServiceDecrStockRevertResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceDecrStockRevertResult) SetSuccess ¶
func (p *ItemServiceDecrStockRevertResult) SetSuccess(x interface{})
func (*ItemServiceDecrStockRevertResult) String ¶
func (p *ItemServiceDecrStockRevertResult) String() string
type ItemServiceDeleteArgs ¶
type ItemServiceDeleteArgs struct {
Req *DeleteReq `thrift:"req,1" json:"req"`
}
func NewItemServiceDeleteArgs ¶
func NewItemServiceDeleteArgs() *ItemServiceDeleteArgs
func (*ItemServiceDeleteArgs) BLength ¶
func (p *ItemServiceDeleteArgs) BLength() int
func (*ItemServiceDeleteArgs) DeepEqual ¶
func (p *ItemServiceDeleteArgs) DeepEqual(ano *ItemServiceDeleteArgs) bool
func (*ItemServiceDeleteArgs) FastRead ¶
func (p *ItemServiceDeleteArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceDeleteArgs) FastReadField1 ¶
func (p *ItemServiceDeleteArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceDeleteArgs) FastWrite ¶
func (p *ItemServiceDeleteArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDeleteArgs) FastWriteNocopy ¶
func (p *ItemServiceDeleteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDeleteArgs) Field1DeepEqual ¶
func (p *ItemServiceDeleteArgs) Field1DeepEqual(src *DeleteReq) bool
func (*ItemServiceDeleteArgs) GetFirstArgument ¶
func (p *ItemServiceDeleteArgs) GetFirstArgument() interface{}
func (*ItemServiceDeleteArgs) GetReq ¶
func (p *ItemServiceDeleteArgs) GetReq() (v *DeleteReq)
func (*ItemServiceDeleteArgs) IsSetReq ¶
func (p *ItemServiceDeleteArgs) IsSetReq() bool
func (*ItemServiceDeleteArgs) Read ¶
func (p *ItemServiceDeleteArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDeleteArgs) ReadField1 ¶
func (p *ItemServiceDeleteArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceDeleteArgs) SetReq ¶
func (p *ItemServiceDeleteArgs) SetReq(val *DeleteReq)
func (*ItemServiceDeleteArgs) String ¶
func (p *ItemServiceDeleteArgs) String() string
type ItemServiceDeleteResult ¶
type ItemServiceDeleteResult struct {
Success *DeleteResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceDeleteResult ¶
func NewItemServiceDeleteResult() *ItemServiceDeleteResult
func (*ItemServiceDeleteResult) BLength ¶
func (p *ItemServiceDeleteResult) BLength() int
func (*ItemServiceDeleteResult) DeepEqual ¶
func (p *ItemServiceDeleteResult) DeepEqual(ano *ItemServiceDeleteResult) bool
func (*ItemServiceDeleteResult) FastRead ¶
func (p *ItemServiceDeleteResult) FastRead(buf []byte) (int, error)
func (*ItemServiceDeleteResult) FastReadField0 ¶
func (p *ItemServiceDeleteResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceDeleteResult) FastWrite ¶
func (p *ItemServiceDeleteResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceDeleteResult) FastWriteNocopy ¶
func (p *ItemServiceDeleteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceDeleteResult) Field0DeepEqual ¶
func (p *ItemServiceDeleteResult) Field0DeepEqual(src *DeleteResp) bool
func (*ItemServiceDeleteResult) GetResult ¶
func (p *ItemServiceDeleteResult) GetResult() interface{}
func (*ItemServiceDeleteResult) GetSuccess ¶
func (p *ItemServiceDeleteResult) GetSuccess() (v *DeleteResp)
func (*ItemServiceDeleteResult) IsSetSuccess ¶
func (p *ItemServiceDeleteResult) IsSetSuccess() bool
func (*ItemServiceDeleteResult) Read ¶
func (p *ItemServiceDeleteResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceDeleteResult) ReadField0 ¶
func (p *ItemServiceDeleteResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceDeleteResult) SetSuccess ¶
func (p *ItemServiceDeleteResult) SetSuccess(x interface{})
func (*ItemServiceDeleteResult) String ¶
func (p *ItemServiceDeleteResult) String() string
type ItemServiceEditArgs ¶
type ItemServiceEditArgs struct {
Req *EditReq `thrift:"req,1" json:"req"`
}
func NewItemServiceEditArgs ¶
func NewItemServiceEditArgs() *ItemServiceEditArgs
func (*ItemServiceEditArgs) BLength ¶
func (p *ItemServiceEditArgs) BLength() int
func (*ItemServiceEditArgs) DeepEqual ¶
func (p *ItemServiceEditArgs) DeepEqual(ano *ItemServiceEditArgs) bool
func (*ItemServiceEditArgs) FastRead ¶
func (p *ItemServiceEditArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceEditArgs) FastReadField1 ¶
func (p *ItemServiceEditArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceEditArgs) FastWrite ¶
func (p *ItemServiceEditArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceEditArgs) FastWriteNocopy ¶
func (p *ItemServiceEditArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceEditArgs) Field1DeepEqual ¶
func (p *ItemServiceEditArgs) Field1DeepEqual(src *EditReq) bool
func (*ItemServiceEditArgs) GetFirstArgument ¶
func (p *ItemServiceEditArgs) GetFirstArgument() interface{}
func (*ItemServiceEditArgs) GetReq ¶
func (p *ItemServiceEditArgs) GetReq() (v *EditReq)
func (*ItemServiceEditArgs) IsSetReq ¶
func (p *ItemServiceEditArgs) IsSetReq() bool
func (*ItemServiceEditArgs) Read ¶
func (p *ItemServiceEditArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceEditArgs) ReadField1 ¶
func (p *ItemServiceEditArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceEditArgs) SetReq ¶
func (p *ItemServiceEditArgs) SetReq(val *EditReq)
func (*ItemServiceEditArgs) String ¶
func (p *ItemServiceEditArgs) String() string
type ItemServiceEditResult ¶
type ItemServiceEditResult struct {
Success *EditResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceEditResult ¶
func NewItemServiceEditResult() *ItemServiceEditResult
func (*ItemServiceEditResult) BLength ¶
func (p *ItemServiceEditResult) BLength() int
func (*ItemServiceEditResult) DeepEqual ¶
func (p *ItemServiceEditResult) DeepEqual(ano *ItemServiceEditResult) bool
func (*ItemServiceEditResult) FastRead ¶
func (p *ItemServiceEditResult) FastRead(buf []byte) (int, error)
func (*ItemServiceEditResult) FastReadField0 ¶
func (p *ItemServiceEditResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceEditResult) FastWrite ¶
func (p *ItemServiceEditResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceEditResult) FastWriteNocopy ¶
func (p *ItemServiceEditResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceEditResult) Field0DeepEqual ¶
func (p *ItemServiceEditResult) Field0DeepEqual(src *EditResp) bool
func (*ItemServiceEditResult) GetResult ¶
func (p *ItemServiceEditResult) GetResult() interface{}
func (*ItemServiceEditResult) GetSuccess ¶
func (p *ItemServiceEditResult) GetSuccess() (v *EditResp)
func (*ItemServiceEditResult) IsSetSuccess ¶
func (p *ItemServiceEditResult) IsSetSuccess() bool
func (*ItemServiceEditResult) Read ¶
func (p *ItemServiceEditResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceEditResult) ReadField0 ¶
func (p *ItemServiceEditResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceEditResult) SetSuccess ¶
func (p *ItemServiceEditResult) SetSuccess(x interface{})
func (*ItemServiceEditResult) String ¶
func (p *ItemServiceEditResult) String() string
type ItemServiceGetArgs ¶
type ItemServiceGetArgs struct {
Req *GetReq `thrift:"req,1" json:"req"`
}
func NewItemServiceGetArgs ¶
func NewItemServiceGetArgs() *ItemServiceGetArgs
func (*ItemServiceGetArgs) BLength ¶
func (p *ItemServiceGetArgs) BLength() int
func (*ItemServiceGetArgs) DeepEqual ¶
func (p *ItemServiceGetArgs) DeepEqual(ano *ItemServiceGetArgs) bool
func (*ItemServiceGetArgs) FastRead ¶
func (p *ItemServiceGetArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceGetArgs) FastReadField1 ¶
func (p *ItemServiceGetArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceGetArgs) FastWrite ¶
func (p *ItemServiceGetArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceGetArgs) FastWriteNocopy ¶
func (p *ItemServiceGetArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceGetArgs) Field1DeepEqual ¶
func (p *ItemServiceGetArgs) Field1DeepEqual(src *GetReq) bool
func (*ItemServiceGetArgs) GetFirstArgument ¶
func (p *ItemServiceGetArgs) GetFirstArgument() interface{}
func (*ItemServiceGetArgs) GetReq ¶
func (p *ItemServiceGetArgs) GetReq() (v *GetReq)
func (*ItemServiceGetArgs) IsSetReq ¶
func (p *ItemServiceGetArgs) IsSetReq() bool
func (*ItemServiceGetArgs) Read ¶
func (p *ItemServiceGetArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceGetArgs) ReadField1 ¶
func (p *ItemServiceGetArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceGetArgs) SetReq ¶
func (p *ItemServiceGetArgs) SetReq(val *GetReq)
func (*ItemServiceGetArgs) String ¶
func (p *ItemServiceGetArgs) String() string
type ItemServiceGetResult ¶
type ItemServiceGetResult struct {
Success *GetResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceGetResult ¶
func NewItemServiceGetResult() *ItemServiceGetResult
func (*ItemServiceGetResult) BLength ¶
func (p *ItemServiceGetResult) BLength() int
func (*ItemServiceGetResult) DeepEqual ¶
func (p *ItemServiceGetResult) DeepEqual(ano *ItemServiceGetResult) bool
func (*ItemServiceGetResult) FastRead ¶
func (p *ItemServiceGetResult) FastRead(buf []byte) (int, error)
func (*ItemServiceGetResult) FastReadField0 ¶
func (p *ItemServiceGetResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceGetResult) FastWrite ¶
func (p *ItemServiceGetResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceGetResult) FastWriteNocopy ¶
func (p *ItemServiceGetResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceGetResult) Field0DeepEqual ¶
func (p *ItemServiceGetResult) Field0DeepEqual(src *GetResp) bool
func (*ItemServiceGetResult) GetResult ¶
func (p *ItemServiceGetResult) GetResult() interface{}
func (*ItemServiceGetResult) GetSuccess ¶
func (p *ItemServiceGetResult) GetSuccess() (v *GetResp)
func (*ItemServiceGetResult) IsSetSuccess ¶
func (p *ItemServiceGetResult) IsSetSuccess() bool
func (*ItemServiceGetResult) Read ¶
func (p *ItemServiceGetResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceGetResult) ReadField0 ¶
func (p *ItemServiceGetResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceGetResult) SetSuccess ¶
func (p *ItemServiceGetResult) SetSuccess(x interface{})
func (*ItemServiceGetResult) String ¶
func (p *ItemServiceGetResult) String() string
type ItemServiceListArgs ¶
type ItemServiceListArgs struct {
Req *ListReq `thrift:"req,1" json:"req"`
}
func NewItemServiceListArgs ¶
func NewItemServiceListArgs() *ItemServiceListArgs
func (*ItemServiceListArgs) BLength ¶
func (p *ItemServiceListArgs) BLength() int
func (*ItemServiceListArgs) DeepEqual ¶
func (p *ItemServiceListArgs) DeepEqual(ano *ItemServiceListArgs) bool
func (*ItemServiceListArgs) FastRead ¶
func (p *ItemServiceListArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceListArgs) FastReadField1 ¶
func (p *ItemServiceListArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceListArgs) FastWrite ¶
func (p *ItemServiceListArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceListArgs) FastWriteNocopy ¶
func (p *ItemServiceListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceListArgs) Field1DeepEqual ¶
func (p *ItemServiceListArgs) Field1DeepEqual(src *ListReq) bool
func (*ItemServiceListArgs) GetFirstArgument ¶
func (p *ItemServiceListArgs) GetFirstArgument() interface{}
func (*ItemServiceListArgs) GetReq ¶
func (p *ItemServiceListArgs) GetReq() (v *ListReq)
func (*ItemServiceListArgs) IsSetReq ¶
func (p *ItemServiceListArgs) IsSetReq() bool
func (*ItemServiceListArgs) Read ¶
func (p *ItemServiceListArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceListArgs) ReadField1 ¶
func (p *ItemServiceListArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceListArgs) SetReq ¶
func (p *ItemServiceListArgs) SetReq(val *ListReq)
func (*ItemServiceListArgs) String ¶
func (p *ItemServiceListArgs) String() string
type ItemServiceListResult ¶
type ItemServiceListResult struct {
Success *ListResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceListResult ¶
func NewItemServiceListResult() *ItemServiceListResult
func (*ItemServiceListResult) BLength ¶
func (p *ItemServiceListResult) BLength() int
func (*ItemServiceListResult) DeepEqual ¶
func (p *ItemServiceListResult) DeepEqual(ano *ItemServiceListResult) bool
func (*ItemServiceListResult) FastRead ¶
func (p *ItemServiceListResult) FastRead(buf []byte) (int, error)
func (*ItemServiceListResult) FastReadField0 ¶
func (p *ItemServiceListResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceListResult) FastWrite ¶
func (p *ItemServiceListResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceListResult) FastWriteNocopy ¶
func (p *ItemServiceListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceListResult) Field0DeepEqual ¶
func (p *ItemServiceListResult) Field0DeepEqual(src *ListResp) bool
func (*ItemServiceListResult) GetResult ¶
func (p *ItemServiceListResult) GetResult() interface{}
func (*ItemServiceListResult) GetSuccess ¶
func (p *ItemServiceListResult) GetSuccess() (v *ListResp)
func (*ItemServiceListResult) IsSetSuccess ¶
func (p *ItemServiceListResult) IsSetSuccess() bool
func (*ItemServiceListResult) Read ¶
func (p *ItemServiceListResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceListResult) ReadField0 ¶
func (p *ItemServiceListResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceListResult) SetSuccess ¶
func (p *ItemServiceListResult) SetSuccess(x interface{})
func (*ItemServiceListResult) String ¶
func (p *ItemServiceListResult) String() string
type ItemServiceMGet2CArgs ¶
type ItemServiceMGet2CArgs struct {
Req *MGet2CReq `thrift:"req,1" json:"req"`
}
func NewItemServiceMGet2CArgs ¶
func NewItemServiceMGet2CArgs() *ItemServiceMGet2CArgs
func (*ItemServiceMGet2CArgs) BLength ¶
func (p *ItemServiceMGet2CArgs) BLength() int
func (*ItemServiceMGet2CArgs) DeepEqual ¶
func (p *ItemServiceMGet2CArgs) DeepEqual(ano *ItemServiceMGet2CArgs) bool
func (*ItemServiceMGet2CArgs) FastRead ¶
func (p *ItemServiceMGet2CArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceMGet2CArgs) FastReadField1 ¶
func (p *ItemServiceMGet2CArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceMGet2CArgs) FastWrite ¶
func (p *ItemServiceMGet2CArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceMGet2CArgs) FastWriteNocopy ¶
func (p *ItemServiceMGet2CArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceMGet2CArgs) Field1DeepEqual ¶
func (p *ItemServiceMGet2CArgs) Field1DeepEqual(src *MGet2CReq) bool
func (*ItemServiceMGet2CArgs) GetFirstArgument ¶
func (p *ItemServiceMGet2CArgs) GetFirstArgument() interface{}
func (*ItemServiceMGet2CArgs) GetReq ¶
func (p *ItemServiceMGet2CArgs) GetReq() (v *MGet2CReq)
func (*ItemServiceMGet2CArgs) IsSetReq ¶
func (p *ItemServiceMGet2CArgs) IsSetReq() bool
func (*ItemServiceMGet2CArgs) Read ¶
func (p *ItemServiceMGet2CArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceMGet2CArgs) ReadField1 ¶
func (p *ItemServiceMGet2CArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceMGet2CArgs) SetReq ¶
func (p *ItemServiceMGet2CArgs) SetReq(val *MGet2CReq)
func (*ItemServiceMGet2CArgs) String ¶
func (p *ItemServiceMGet2CArgs) String() string
type ItemServiceMGet2CResult ¶
type ItemServiceMGet2CResult struct {
Success *MGet2CResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceMGet2CResult ¶
func NewItemServiceMGet2CResult() *ItemServiceMGet2CResult
func (*ItemServiceMGet2CResult) BLength ¶
func (p *ItemServiceMGet2CResult) BLength() int
func (*ItemServiceMGet2CResult) DeepEqual ¶
func (p *ItemServiceMGet2CResult) DeepEqual(ano *ItemServiceMGet2CResult) bool
func (*ItemServiceMGet2CResult) FastRead ¶
func (p *ItemServiceMGet2CResult) FastRead(buf []byte) (int, error)
func (*ItemServiceMGet2CResult) FastReadField0 ¶
func (p *ItemServiceMGet2CResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceMGet2CResult) FastWrite ¶
func (p *ItemServiceMGet2CResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceMGet2CResult) FastWriteNocopy ¶
func (p *ItemServiceMGet2CResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceMGet2CResult) Field0DeepEqual ¶
func (p *ItemServiceMGet2CResult) Field0DeepEqual(src *MGet2CResp) bool
func (*ItemServiceMGet2CResult) GetResult ¶
func (p *ItemServiceMGet2CResult) GetResult() interface{}
func (*ItemServiceMGet2CResult) GetSuccess ¶
func (p *ItemServiceMGet2CResult) GetSuccess() (v *MGet2CResp)
func (*ItemServiceMGet2CResult) IsSetSuccess ¶
func (p *ItemServiceMGet2CResult) IsSetSuccess() bool
func (*ItemServiceMGet2CResult) Read ¶
func (p *ItemServiceMGet2CResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceMGet2CResult) ReadField0 ¶
func (p *ItemServiceMGet2CResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceMGet2CResult) SetSuccess ¶
func (p *ItemServiceMGet2CResult) SetSuccess(x interface{})
func (*ItemServiceMGet2CResult) String ¶
func (p *ItemServiceMGet2CResult) String() string
type ItemServiceOfflineArgs ¶
type ItemServiceOfflineArgs struct {
Req *OfflineReq `thrift:"req,1" json:"req"`
}
func NewItemServiceOfflineArgs ¶
func NewItemServiceOfflineArgs() *ItemServiceOfflineArgs
func (*ItemServiceOfflineArgs) BLength ¶
func (p *ItemServiceOfflineArgs) BLength() int
func (*ItemServiceOfflineArgs) DeepEqual ¶
func (p *ItemServiceOfflineArgs) DeepEqual(ano *ItemServiceOfflineArgs) bool
func (*ItemServiceOfflineArgs) FastRead ¶
func (p *ItemServiceOfflineArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceOfflineArgs) FastReadField1 ¶
func (p *ItemServiceOfflineArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceOfflineArgs) FastWrite ¶
func (p *ItemServiceOfflineArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceOfflineArgs) FastWriteNocopy ¶
func (p *ItemServiceOfflineArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceOfflineArgs) Field1DeepEqual ¶
func (p *ItemServiceOfflineArgs) Field1DeepEqual(src *OfflineReq) bool
func (*ItemServiceOfflineArgs) GetFirstArgument ¶
func (p *ItemServiceOfflineArgs) GetFirstArgument() interface{}
func (*ItemServiceOfflineArgs) GetReq ¶
func (p *ItemServiceOfflineArgs) GetReq() (v *OfflineReq)
func (*ItemServiceOfflineArgs) IsSetReq ¶
func (p *ItemServiceOfflineArgs) IsSetReq() bool
func (*ItemServiceOfflineArgs) Read ¶
func (p *ItemServiceOfflineArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceOfflineArgs) ReadField1 ¶
func (p *ItemServiceOfflineArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceOfflineArgs) SetReq ¶
func (p *ItemServiceOfflineArgs) SetReq(val *OfflineReq)
func (*ItemServiceOfflineArgs) String ¶
func (p *ItemServiceOfflineArgs) String() string
type ItemServiceOfflineResult ¶
type ItemServiceOfflineResult struct {
Success *OfflineResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceOfflineResult ¶
func NewItemServiceOfflineResult() *ItemServiceOfflineResult
func (*ItemServiceOfflineResult) BLength ¶
func (p *ItemServiceOfflineResult) BLength() int
func (*ItemServiceOfflineResult) DeepEqual ¶
func (p *ItemServiceOfflineResult) DeepEqual(ano *ItemServiceOfflineResult) bool
func (*ItemServiceOfflineResult) FastRead ¶
func (p *ItemServiceOfflineResult) FastRead(buf []byte) (int, error)
func (*ItemServiceOfflineResult) FastReadField0 ¶
func (p *ItemServiceOfflineResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceOfflineResult) FastWrite ¶
func (p *ItemServiceOfflineResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceOfflineResult) FastWriteNocopy ¶
func (p *ItemServiceOfflineResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceOfflineResult) Field0DeepEqual ¶
func (p *ItemServiceOfflineResult) Field0DeepEqual(src *OfflineResp) bool
func (*ItemServiceOfflineResult) GetResult ¶
func (p *ItemServiceOfflineResult) GetResult() interface{}
func (*ItemServiceOfflineResult) GetSuccess ¶
func (p *ItemServiceOfflineResult) GetSuccess() (v *OfflineResp)
func (*ItemServiceOfflineResult) IsSetSuccess ¶
func (p *ItemServiceOfflineResult) IsSetSuccess() bool
func (*ItemServiceOfflineResult) Read ¶
func (p *ItemServiceOfflineResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceOfflineResult) ReadField0 ¶
func (p *ItemServiceOfflineResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceOfflineResult) SetSuccess ¶
func (p *ItemServiceOfflineResult) SetSuccess(x interface{})
func (*ItemServiceOfflineResult) String ¶
func (p *ItemServiceOfflineResult) String() string
type ItemServiceOnlineArgs ¶
type ItemServiceOnlineArgs struct {
Req *OnlineReq `thrift:"req,1" json:"req"`
}
func NewItemServiceOnlineArgs ¶
func NewItemServiceOnlineArgs() *ItemServiceOnlineArgs
func (*ItemServiceOnlineArgs) BLength ¶
func (p *ItemServiceOnlineArgs) BLength() int
func (*ItemServiceOnlineArgs) DeepEqual ¶
func (p *ItemServiceOnlineArgs) DeepEqual(ano *ItemServiceOnlineArgs) bool
func (*ItemServiceOnlineArgs) FastRead ¶
func (p *ItemServiceOnlineArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceOnlineArgs) FastReadField1 ¶
func (p *ItemServiceOnlineArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceOnlineArgs) FastWrite ¶
func (p *ItemServiceOnlineArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceOnlineArgs) FastWriteNocopy ¶
func (p *ItemServiceOnlineArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceOnlineArgs) Field1DeepEqual ¶
func (p *ItemServiceOnlineArgs) Field1DeepEqual(src *OnlineReq) bool
func (*ItemServiceOnlineArgs) GetFirstArgument ¶
func (p *ItemServiceOnlineArgs) GetFirstArgument() interface{}
func (*ItemServiceOnlineArgs) GetReq ¶
func (p *ItemServiceOnlineArgs) GetReq() (v *OnlineReq)
func (*ItemServiceOnlineArgs) IsSetReq ¶
func (p *ItemServiceOnlineArgs) IsSetReq() bool
func (*ItemServiceOnlineArgs) Read ¶
func (p *ItemServiceOnlineArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceOnlineArgs) ReadField1 ¶
func (p *ItemServiceOnlineArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceOnlineArgs) SetReq ¶
func (p *ItemServiceOnlineArgs) SetReq(val *OnlineReq)
func (*ItemServiceOnlineArgs) String ¶
func (p *ItemServiceOnlineArgs) String() string
type ItemServiceOnlineResult ¶
type ItemServiceOnlineResult struct {
Success *OnlineResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceOnlineResult ¶
func NewItemServiceOnlineResult() *ItemServiceOnlineResult
func (*ItemServiceOnlineResult) BLength ¶
func (p *ItemServiceOnlineResult) BLength() int
func (*ItemServiceOnlineResult) DeepEqual ¶
func (p *ItemServiceOnlineResult) DeepEqual(ano *ItemServiceOnlineResult) bool
func (*ItemServiceOnlineResult) FastRead ¶
func (p *ItemServiceOnlineResult) FastRead(buf []byte) (int, error)
func (*ItemServiceOnlineResult) FastReadField0 ¶
func (p *ItemServiceOnlineResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceOnlineResult) FastWrite ¶
func (p *ItemServiceOnlineResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceOnlineResult) FastWriteNocopy ¶
func (p *ItemServiceOnlineResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceOnlineResult) Field0DeepEqual ¶
func (p *ItemServiceOnlineResult) Field0DeepEqual(src *OnlineResp) bool
func (*ItemServiceOnlineResult) GetResult ¶
func (p *ItemServiceOnlineResult) GetResult() interface{}
func (*ItemServiceOnlineResult) GetSuccess ¶
func (p *ItemServiceOnlineResult) GetSuccess() (v *OnlineResp)
func (*ItemServiceOnlineResult) IsSetSuccess ¶
func (p *ItemServiceOnlineResult) IsSetSuccess() bool
func (*ItemServiceOnlineResult) Read ¶
func (p *ItemServiceOnlineResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceOnlineResult) ReadField0 ¶
func (p *ItemServiceOnlineResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceOnlineResult) SetSuccess ¶
func (p *ItemServiceOnlineResult) SetSuccess(x interface{})
func (*ItemServiceOnlineResult) String ¶
func (p *ItemServiceOnlineResult) String() string
type ItemServiceProcessor ¶
type ItemServiceProcessor struct {
// contains filtered or unexported fields
}
func NewItemServiceProcessor ¶
func NewItemServiceProcessor(handler ItemService) *ItemServiceProcessor
func (*ItemServiceProcessor) AddToProcessorMap ¶
func (p *ItemServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*ItemServiceProcessor) GetProcessorFunction ¶
func (p *ItemServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*ItemServiceProcessor) Process ¶
func (p *ItemServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*ItemServiceProcessor) ProcessorMap ¶
func (p *ItemServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type ItemServiceSearchArgs ¶
type ItemServiceSearchArgs struct {
Req *SearchReq `thrift:"req,1" json:"req"`
}
func NewItemServiceSearchArgs ¶
func NewItemServiceSearchArgs() *ItemServiceSearchArgs
func (*ItemServiceSearchArgs) BLength ¶
func (p *ItemServiceSearchArgs) BLength() int
func (*ItemServiceSearchArgs) DeepEqual ¶
func (p *ItemServiceSearchArgs) DeepEqual(ano *ItemServiceSearchArgs) bool
func (*ItemServiceSearchArgs) FastRead ¶
func (p *ItemServiceSearchArgs) FastRead(buf []byte) (int, error)
func (*ItemServiceSearchArgs) FastReadField1 ¶
func (p *ItemServiceSearchArgs) FastReadField1(buf []byte) (int, error)
func (*ItemServiceSearchArgs) FastWrite ¶
func (p *ItemServiceSearchArgs) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceSearchArgs) FastWriteNocopy ¶
func (p *ItemServiceSearchArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceSearchArgs) Field1DeepEqual ¶
func (p *ItemServiceSearchArgs) Field1DeepEqual(src *SearchReq) bool
func (*ItemServiceSearchArgs) GetFirstArgument ¶
func (p *ItemServiceSearchArgs) GetFirstArgument() interface{}
func (*ItemServiceSearchArgs) GetReq ¶
func (p *ItemServiceSearchArgs) GetReq() (v *SearchReq)
func (*ItemServiceSearchArgs) IsSetReq ¶
func (p *ItemServiceSearchArgs) IsSetReq() bool
func (*ItemServiceSearchArgs) Read ¶
func (p *ItemServiceSearchArgs) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceSearchArgs) ReadField1 ¶
func (p *ItemServiceSearchArgs) ReadField1(iprot thrift.TProtocol) error
func (*ItemServiceSearchArgs) SetReq ¶
func (p *ItemServiceSearchArgs) SetReq(val *SearchReq)
func (*ItemServiceSearchArgs) String ¶
func (p *ItemServiceSearchArgs) String() string
type ItemServiceSearchResult ¶
type ItemServiceSearchResult struct {
Success *SearchResp `thrift:"success,0" json:"success,omitempty"`
}
func NewItemServiceSearchResult ¶
func NewItemServiceSearchResult() *ItemServiceSearchResult
func (*ItemServiceSearchResult) BLength ¶
func (p *ItemServiceSearchResult) BLength() int
func (*ItemServiceSearchResult) DeepEqual ¶
func (p *ItemServiceSearchResult) DeepEqual(ano *ItemServiceSearchResult) bool
func (*ItemServiceSearchResult) FastRead ¶
func (p *ItemServiceSearchResult) FastRead(buf []byte) (int, error)
func (*ItemServiceSearchResult) FastReadField0 ¶
func (p *ItemServiceSearchResult) FastReadField0(buf []byte) (int, error)
func (*ItemServiceSearchResult) FastWrite ¶
func (p *ItemServiceSearchResult) FastWrite(buf []byte) int
for compatibility
func (*ItemServiceSearchResult) FastWriteNocopy ¶
func (p *ItemServiceSearchResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ItemServiceSearchResult) Field0DeepEqual ¶
func (p *ItemServiceSearchResult) Field0DeepEqual(src *SearchResp) bool
func (*ItemServiceSearchResult) GetResult ¶
func (p *ItemServiceSearchResult) GetResult() interface{}
func (*ItemServiceSearchResult) GetSuccess ¶
func (p *ItemServiceSearchResult) GetSuccess() (v *SearchResp)
func (*ItemServiceSearchResult) IsSetSuccess ¶
func (p *ItemServiceSearchResult) IsSetSuccess() bool
func (*ItemServiceSearchResult) Read ¶
func (p *ItemServiceSearchResult) Read(iprot thrift.TProtocol) (err error)
func (*ItemServiceSearchResult) ReadField0 ¶
func (p *ItemServiceSearchResult) ReadField0(iprot thrift.TProtocol) error
func (*ItemServiceSearchResult) SetSuccess ¶
func (p *ItemServiceSearchResult) SetSuccess(x interface{})
func (*ItemServiceSearchResult) String ¶
func (p *ItemServiceSearchResult) String() string
type ListReq ¶
type ListReq struct { Name *string `thrift:"name,1" json:"name,omitempty"` SpuName *string `thrift:"spu_name,2" json:"spu_name,omitempty"` Status *Status `thrift:"status,3" json:"status,omitempty"` }
var ItemServiceListArgs_Req_DEFAULT *ListReq
func NewListReq ¶
func NewListReq() *ListReq
func (*ListReq) FastWriteNocopy ¶
func (p *ListReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ListReq) Field1DeepEqual ¶
func (*ListReq) Field2DeepEqual ¶
func (*ListReq) Field3DeepEqual ¶
func (*ListReq) GetSpuName ¶
func (*ListReq) IsSetSpuName ¶
func (*ListReq) IsSetStatus ¶
func (*ListReq) SetSpuName ¶
type ListResp ¶
type ListResp struct { Products []*Product `thrift:"products,1" json:"products"` BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"` }
var ItemServiceListResult_Success_DEFAULT *ListResp
func NewListResp ¶
func NewListResp() *ListResp
func (*ListResp) FastWriteNocopy ¶
func (p *ListResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ListResp) Field1DeepEqual ¶
func (*ListResp) GetBaseResp ¶
func (*ListResp) GetProducts ¶
func (*ListResp) IsSetBaseResp ¶
func (*ListResp) SetBaseResp ¶
func (*ListResp) SetProducts ¶
type MGet2CReq ¶
type MGet2CReq struct {
ProductIds []int64 `thrift:"product_ids,1,required" json:"product_ids"`
}
var ItemServiceMGet2CArgs_Req_DEFAULT *MGet2CReq
func NewMGet2CReq ¶
func NewMGet2CReq() *MGet2CReq
func (*MGet2CReq) FastWriteNocopy ¶
func (p *MGet2CReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MGet2CReq) Field1DeepEqual ¶
func (*MGet2CReq) GetProductIds ¶
func (*MGet2CReq) SetProductIds ¶
type MGet2CResp ¶
type MGet2CResp struct { ProductMap map[int64]*Product `thrift:"product_map,1" json:"product_map"` BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"` }
var ItemServiceMGet2CResult_Success_DEFAULT *MGet2CResp
func NewMGet2CResp ¶
func NewMGet2CResp() *MGet2CResp
func (*MGet2CResp) BLength ¶
func (p *MGet2CResp) BLength() int
func (*MGet2CResp) DeepEqual ¶
func (p *MGet2CResp) DeepEqual(ano *MGet2CResp) bool
func (*MGet2CResp) FastReadField1 ¶
func (p *MGet2CResp) FastReadField1(buf []byte) (int, error)
func (*MGet2CResp) FastReadField255 ¶
func (p *MGet2CResp) FastReadField255(buf []byte) (int, error)
func (*MGet2CResp) FastWriteNocopy ¶
func (p *MGet2CResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MGet2CResp) Field1DeepEqual ¶
func (p *MGet2CResp) Field1DeepEqual(src map[int64]*Product) bool
func (*MGet2CResp) Field255DeepEqual ¶
func (p *MGet2CResp) Field255DeepEqual(src *base.BaseResp) bool
func (*MGet2CResp) GetBaseResp ¶
func (p *MGet2CResp) GetBaseResp() (v *base.BaseResp)
func (*MGet2CResp) GetProductMap ¶
func (p *MGet2CResp) GetProductMap() (v map[int64]*Product)
func (*MGet2CResp) IsSetBaseResp ¶
func (p *MGet2CResp) IsSetBaseResp() bool
func (*MGet2CResp) ReadField1 ¶
func (p *MGet2CResp) ReadField1(iprot thrift.TProtocol) error
func (*MGet2CResp) ReadField255 ¶
func (p *MGet2CResp) ReadField255(iprot thrift.TProtocol) error
func (*MGet2CResp) SetBaseResp ¶
func (p *MGet2CResp) SetBaseResp(val *base.BaseResp)
func (*MGet2CResp) SetProductMap ¶
func (p *MGet2CResp) SetProductMap(val map[int64]*Product)
func (*MGet2CResp) String ¶
func (p *MGet2CResp) String() string
type OfflineReq ¶
type OfflineReq struct {
ProductId int64 `thrift:"product_id,1,required" json:"product_id"`
}
var ItemServiceOfflineArgs_Req_DEFAULT *OfflineReq
func NewOfflineReq ¶
func NewOfflineReq() *OfflineReq
func (*OfflineReq) BLength ¶
func (p *OfflineReq) BLength() int
func (*OfflineReq) DeepEqual ¶
func (p *OfflineReq) DeepEqual(ano *OfflineReq) bool
func (*OfflineReq) FastReadField1 ¶
func (p *OfflineReq) FastReadField1(buf []byte) (int, error)
func (*OfflineReq) FastWriteNocopy ¶
func (p *OfflineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OfflineReq) Field1DeepEqual ¶
func (p *OfflineReq) Field1DeepEqual(src int64) bool
func (*OfflineReq) GetProductId ¶
func (p *OfflineReq) GetProductId() (v int64)
func (*OfflineReq) ReadField1 ¶
func (p *OfflineReq) ReadField1(iprot thrift.TProtocol) error
func (*OfflineReq) SetProductId ¶
func (p *OfflineReq) SetProductId(val int64)
func (*OfflineReq) String ¶
func (p *OfflineReq) String() string
type OfflineResp ¶
var ItemServiceOfflineResult_Success_DEFAULT *OfflineResp
func NewOfflineResp ¶
func NewOfflineResp() *OfflineResp
func (*OfflineResp) BLength ¶
func (p *OfflineResp) BLength() int
func (*OfflineResp) DeepEqual ¶
func (p *OfflineResp) DeepEqual(ano *OfflineResp) bool
func (*OfflineResp) FastReadField255 ¶
func (p *OfflineResp) FastReadField255(buf []byte) (int, error)
func (*OfflineResp) FastWriteNocopy ¶
func (p *OfflineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OfflineResp) Field255DeepEqual ¶
func (p *OfflineResp) Field255DeepEqual(src *base.BaseResp) bool
func (*OfflineResp) GetBaseResp ¶
func (p *OfflineResp) GetBaseResp() (v *base.BaseResp)
func (*OfflineResp) IsSetBaseResp ¶
func (p *OfflineResp) IsSetBaseResp() bool
func (*OfflineResp) ReadField255 ¶
func (p *OfflineResp) ReadField255(iprot thrift.TProtocol) error
func (*OfflineResp) SetBaseResp ¶
func (p *OfflineResp) SetBaseResp(val *base.BaseResp)
func (*OfflineResp) String ¶
func (p *OfflineResp) String() string
type OnlineReq ¶
type OnlineReq struct {
ProductId int64 `thrift:"product_id,1,required" json:"product_id"`
}
var ItemServiceOnlineArgs_Req_DEFAULT *OnlineReq
func NewOnlineReq ¶
func NewOnlineReq() *OnlineReq
func (*OnlineReq) FastWriteNocopy ¶
func (p *OnlineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OnlineReq) Field1DeepEqual ¶
func (*OnlineReq) GetProductId ¶
func (*OnlineReq) SetProductId ¶
type OnlineResp ¶
var ItemServiceOnlineResult_Success_DEFAULT *OnlineResp
func NewOnlineResp ¶
func NewOnlineResp() *OnlineResp
func (*OnlineResp) BLength ¶
func (p *OnlineResp) BLength() int
func (*OnlineResp) DeepEqual ¶
func (p *OnlineResp) DeepEqual(ano *OnlineResp) bool
func (*OnlineResp) FastReadField255 ¶
func (p *OnlineResp) FastReadField255(buf []byte) (int, error)
func (*OnlineResp) FastWriteNocopy ¶
func (p *OnlineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OnlineResp) Field255DeepEqual ¶
func (p *OnlineResp) Field255DeepEqual(src *base.BaseResp) bool
func (*OnlineResp) GetBaseResp ¶
func (p *OnlineResp) GetBaseResp() (v *base.BaseResp)
func (*OnlineResp) IsSetBaseResp ¶
func (p *OnlineResp) IsSetBaseResp() bool
func (*OnlineResp) ReadField255 ¶
func (p *OnlineResp) ReadField255(iprot thrift.TProtocol) error
func (*OnlineResp) SetBaseResp ¶
func (p *OnlineResp) SetBaseResp(val *base.BaseResp)
func (*OnlineResp) String ¶
func (p *OnlineResp) String() string
type Product ¶
type Product struct { ProductId int64 `thrift:"product_id,1" json:"product_id"` Name string `thrift:"name,2" json:"name"` Pic string `thrift:"pic,3" json:"pic"` Description string `thrift:"description,4" json:"description"` Property *BookProperty `thrift:"property,5" json:"property"` Price int64 `thrift:"price,6" json:"price"` Stock int64 `thrift:"stock,7" json:"stock"` Status Status `thrift:"status,8" json:"status"` }
var GetResp_Product_DEFAULT *Product
func NewProduct ¶
func NewProduct() *Product
func (*Product) FastWriteNocopy ¶
func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Product) Field1DeepEqual ¶
func (*Product) Field2DeepEqual ¶
func (*Product) Field3DeepEqual ¶
func (*Product) Field4DeepEqual ¶
func (*Product) Field5DeepEqual ¶
func (p *Product) Field5DeepEqual(src *BookProperty) bool
func (*Product) Field6DeepEqual ¶
func (*Product) Field7DeepEqual ¶
func (*Product) Field8DeepEqual ¶
func (*Product) GetDescription ¶
func (*Product) GetProductId ¶
func (*Product) GetProperty ¶
func (p *Product) GetProperty() (v *BookProperty)
func (*Product) IsSetProperty ¶
func (*Product) SetDescription ¶
func (*Product) SetProductId ¶
func (*Product) SetProperty ¶
func (p *Product) SetProperty(val *BookProperty)
type SearchReq ¶
type SearchReq struct { Name *string `thrift:"name,1" json:"name,omitempty"` Description *string `thrift:"description,2" json:"description,omitempty"` SpuName *string `thrift:"spu_name,3" json:"spu_name,omitempty"` }
var ItemServiceSearchArgs_Req_DEFAULT *SearchReq
func NewSearchReq ¶
func NewSearchReq() *SearchReq
func (*SearchReq) FastWriteNocopy ¶
func (p *SearchReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*SearchReq) Field1DeepEqual ¶
func (*SearchReq) Field2DeepEqual ¶
func (*SearchReq) Field3DeepEqual ¶
func (*SearchReq) GetDescription ¶
func (*SearchReq) GetSpuName ¶
func (*SearchReq) IsSetDescription ¶
func (*SearchReq) IsSetSpuName ¶
func (*SearchReq) SetDescription ¶
func (*SearchReq) SetSpuName ¶
type SearchResp ¶
type SearchResp struct { Products []*Product `thrift:"products,1" json:"products"` BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"` }
var ItemServiceSearchResult_Success_DEFAULT *SearchResp
func NewSearchResp ¶
func NewSearchResp() *SearchResp
func (*SearchResp) BLength ¶
func (p *SearchResp) BLength() int
func (*SearchResp) DeepEqual ¶
func (p *SearchResp) DeepEqual(ano *SearchResp) bool
func (*SearchResp) FastReadField1 ¶
func (p *SearchResp) FastReadField1(buf []byte) (int, error)
func (*SearchResp) FastReadField255 ¶
func (p *SearchResp) FastReadField255(buf []byte) (int, error)
func (*SearchResp) FastWriteNocopy ¶
func (p *SearchResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*SearchResp) Field1DeepEqual ¶
func (p *SearchResp) Field1DeepEqual(src []*Product) bool
func (*SearchResp) Field255DeepEqual ¶
func (p *SearchResp) Field255DeepEqual(src *base.BaseResp) bool
func (*SearchResp) GetBaseResp ¶
func (p *SearchResp) GetBaseResp() (v *base.BaseResp)
func (*SearchResp) GetProducts ¶
func (p *SearchResp) GetProducts() (v []*Product)
func (*SearchResp) IsSetBaseResp ¶
func (p *SearchResp) IsSetBaseResp() bool
func (*SearchResp) ReadField1 ¶
func (p *SearchResp) ReadField1(iprot thrift.TProtocol) error
func (*SearchResp) ReadField255 ¶
func (p *SearchResp) ReadField255(iprot thrift.TProtocol) error
func (*SearchResp) SetBaseResp ¶
func (p *SearchResp) SetBaseResp(val *base.BaseResp)
func (*SearchResp) SetProducts ¶
func (p *SearchResp) SetProducts(val []*Product)
func (*SearchResp) String ¶
func (p *SearchResp) String() string
Click to show internal directories.
Click to hide internal directories.