item

package
v0.0.0-...-2486f02 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 NewAddReq

func NewAddReq() *AddReq

func (*AddReq) BLength

func (p *AddReq) BLength() int

func (*AddReq) DeepEqual

func (p *AddReq) DeepEqual(ano *AddReq) bool

func (*AddReq) FastRead

func (p *AddReq) FastRead(buf []byte) (int, error)

func (*AddReq) FastReadField1

func (p *AddReq) FastReadField1(buf []byte) (int, error)

func (*AddReq) FastReadField2

func (p *AddReq) FastReadField2(buf []byte) (int, error)

func (*AddReq) FastReadField3

func (p *AddReq) FastReadField3(buf []byte) (int, error)

func (*AddReq) FastReadField4

func (p *AddReq) FastReadField4(buf []byte) (int, error)

func (*AddReq) FastReadField5

func (p *AddReq) FastReadField5(buf []byte) (int, error)

func (*AddReq) FastReadField6

func (p *AddReq) FastReadField6(buf []byte) (int, error)

func (*AddReq) FastWrite

func (p *AddReq) FastWrite(buf []byte) int

for compatibility

func (*AddReq) FastWriteNocopy

func (p *AddReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*AddReq) Field1DeepEqual

func (p *AddReq) Field1DeepEqual(src string) bool

func (*AddReq) Field2DeepEqual

func (p *AddReq) Field2DeepEqual(src string) bool

func (*AddReq) Field3DeepEqual

func (p *AddReq) Field3DeepEqual(src string) bool

func (*AddReq) Field4DeepEqual

func (p *AddReq) Field4DeepEqual(src *BookProperty) bool

func (*AddReq) Field5DeepEqual

func (p *AddReq) Field5DeepEqual(src int64) bool

func (*AddReq) Field6DeepEqual

func (p *AddReq) Field6DeepEqual(src int64) bool

func (*AddReq) GetDescription

func (p *AddReq) GetDescription() (v string)

func (*AddReq) GetName

func (p *AddReq) GetName() (v string)

func (*AddReq) GetPic

func (p *AddReq) GetPic() (v string)

func (*AddReq) GetPrice

func (p *AddReq) GetPrice() (v int64)

func (*AddReq) GetProperty

func (p *AddReq) GetProperty() (v *BookProperty)

func (*AddReq) GetStock

func (p *AddReq) GetStock() (v int64)

func (*AddReq) IsSetProperty

func (p *AddReq) IsSetProperty() bool

func (*AddReq) Read

func (p *AddReq) Read(iprot thrift.TProtocol) (err error)

func (*AddReq) ReadField1

func (p *AddReq) ReadField1(iprot thrift.TProtocol) error

func (*AddReq) ReadField2

func (p *AddReq) ReadField2(iprot thrift.TProtocol) error

func (*AddReq) ReadField3

func (p *AddReq) ReadField3(iprot thrift.TProtocol) error

func (*AddReq) ReadField4

func (p *AddReq) ReadField4(iprot thrift.TProtocol) error

func (*AddReq) ReadField5

func (p *AddReq) ReadField5(iprot thrift.TProtocol) error

func (*AddReq) ReadField6

func (p *AddReq) ReadField6(iprot thrift.TProtocol) error

func (*AddReq) SetDescription

func (p *AddReq) SetDescription(val string)

func (*AddReq) SetName

func (p *AddReq) SetName(val string)

func (*AddReq) SetPic

func (p *AddReq) SetPic(val string)

func (*AddReq) SetPrice

func (p *AddReq) SetPrice(val int64)

func (*AddReq) SetProperty

func (p *AddReq) SetProperty(val *BookProperty)

func (*AddReq) SetStock

func (p *AddReq) SetStock(val int64)

func (*AddReq) String

func (p *AddReq) String() string

func (*AddReq) Write

func (p *AddReq) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *AddResp) BLength() int

func (*AddResp) DeepEqual

func (p *AddResp) DeepEqual(ano *AddResp) bool

func (*AddResp) FastRead

func (p *AddResp) FastRead(buf []byte) (int, error)

func (*AddResp) FastReadField1

func (p *AddResp) FastReadField1(buf []byte) (int, error)

func (*AddResp) FastReadField255

func (p *AddResp) FastReadField255(buf []byte) (int, error)

func (*AddResp) FastWrite

func (p *AddResp) FastWrite(buf []byte) int

for compatibility

func (*AddResp) FastWriteNocopy

func (p *AddResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*AddResp) Field1DeepEqual

func (p *AddResp) Field1DeepEqual(src int64) bool

func (*AddResp) Field255DeepEqual

func (p *AddResp) Field255DeepEqual(src *base.BaseResp) bool

func (*AddResp) GetBaseResp

func (p *AddResp) GetBaseResp() (v *base.BaseResp)

func (*AddResp) GetProductId

func (p *AddResp) GetProductId() (v int64)

func (*AddResp) IsSetBaseResp

func (p *AddResp) IsSetBaseResp() bool

func (*AddResp) Read

func (p *AddResp) Read(iprot thrift.TProtocol) (err error)

func (*AddResp) ReadField1

func (p *AddResp) ReadField1(iprot thrift.TProtocol) error

func (*AddResp) ReadField255

func (p *AddResp) ReadField255(iprot thrift.TProtocol) error

func (*AddResp) SetBaseResp

func (p *AddResp) SetBaseResp(val *base.BaseResp)

func (*AddResp) SetProductId

func (p *AddResp) SetProductId(val int64)

func (*AddResp) String

func (p *AddResp) String() string

func (*AddResp) Write

func (p *AddResp) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *BookProperty) FastRead(buf []byte) (int, error)

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) FastWrite

func (p *BookProperty) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *BookProperty) Read(iprot thrift.TProtocol) (err error)

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

func (*BookProperty) Write

func (p *BookProperty) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *DecrStockReq) FastRead(buf []byte) (int, error)

func (*DecrStockReq) FastReadField1

func (p *DecrStockReq) FastReadField1(buf []byte) (int, error)

func (*DecrStockReq) FastReadField2

func (p *DecrStockReq) FastReadField2(buf []byte) (int, error)

func (*DecrStockReq) FastWrite

func (p *DecrStockReq) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *DecrStockReq) Read(iprot thrift.TProtocol) (err error)

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

func (*DecrStockReq) Write

func (p *DecrStockReq) Write(oprot thrift.TProtocol) (err error)

type DecrStockResp

type DecrStockResp struct {
	BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"`
}
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) FastRead

func (p *DecrStockResp) FastRead(buf []byte) (int, error)

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) Read

func (p *DecrStockResp) Read(iprot thrift.TProtocol) (err error)

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

func (*DecrStockResp) Write

func (p *DecrStockResp) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *DeleteReq) BLength() int

func (*DeleteReq) DeepEqual

func (p *DeleteReq) DeepEqual(ano *DeleteReq) bool

func (*DeleteReq) FastRead

func (p *DeleteReq) FastRead(buf []byte) (int, error)

func (*DeleteReq) FastReadField1

func (p *DeleteReq) FastReadField1(buf []byte) (int, error)

func (*DeleteReq) FastWrite

func (p *DeleteReq) FastWrite(buf []byte) int

for compatibility

func (*DeleteReq) FastWriteNocopy

func (p *DeleteReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DeleteReq) Field1DeepEqual

func (p *DeleteReq) Field1DeepEqual(src int64) bool

func (*DeleteReq) GetProductId

func (p *DeleteReq) GetProductId() (v int64)

func (*DeleteReq) Read

func (p *DeleteReq) Read(iprot thrift.TProtocol) (err error)

func (*DeleteReq) ReadField1

func (p *DeleteReq) ReadField1(iprot thrift.TProtocol) error

func (*DeleteReq) SetProductId

func (p *DeleteReq) SetProductId(val int64)

func (*DeleteReq) String

func (p *DeleteReq) String() string

func (*DeleteReq) Write

func (p *DeleteReq) Write(oprot thrift.TProtocol) (err error)

type DeleteResp

type DeleteResp struct {
	BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"`
}
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) FastRead

func (p *DeleteResp) FastRead(buf []byte) (int, error)

func (*DeleteResp) FastReadField255

func (p *DeleteResp) FastReadField255(buf []byte) (int, error)

func (*DeleteResp) FastWrite

func (p *DeleteResp) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *DeleteResp) Read(iprot thrift.TProtocol) (err error)

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

func (*DeleteResp) Write

func (p *DeleteResp) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *EditReq) BLength() int

func (*EditReq) DeepEqual

func (p *EditReq) DeepEqual(ano *EditReq) bool

func (*EditReq) FastRead

func (p *EditReq) FastRead(buf []byte) (int, error)

func (*EditReq) FastReadField1

func (p *EditReq) FastReadField1(buf []byte) (int, error)

func (*EditReq) FastReadField2

func (p *EditReq) FastReadField2(buf []byte) (int, error)

func (*EditReq) FastReadField3

func (p *EditReq) FastReadField3(buf []byte) (int, error)

func (*EditReq) FastReadField4

func (p *EditReq) FastReadField4(buf []byte) (int, error)

func (*EditReq) FastReadField5

func (p *EditReq) FastReadField5(buf []byte) (int, error)

func (*EditReq) FastReadField6

func (p *EditReq) FastReadField6(buf []byte) (int, error)

func (*EditReq) FastReadField7

func (p *EditReq) FastReadField7(buf []byte) (int, error)

func (*EditReq) FastWrite

func (p *EditReq) FastWrite(buf []byte) int

for compatibility

func (*EditReq) FastWriteNocopy

func (p *EditReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*EditReq) Field1DeepEqual

func (p *EditReq) Field1DeepEqual(src int64) bool

func (*EditReq) Field2DeepEqual

func (p *EditReq) Field2DeepEqual(src *string) bool

func (*EditReq) Field3DeepEqual

func (p *EditReq) Field3DeepEqual(src *string) bool

func (*EditReq) Field4DeepEqual

func (p *EditReq) Field4DeepEqual(src *string) bool

func (*EditReq) Field5DeepEqual

func (p *EditReq) Field5DeepEqual(src *BookProperty) bool

func (*EditReq) Field6DeepEqual

func (p *EditReq) Field6DeepEqual(src *int64) bool

func (*EditReq) Field7DeepEqual

func (p *EditReq) Field7DeepEqual(src *int64) bool

func (*EditReq) GetDescription

func (p *EditReq) GetDescription() (v string)

func (*EditReq) GetName

func (p *EditReq) GetName() (v string)

func (*EditReq) GetPic

func (p *EditReq) GetPic() (v string)

func (*EditReq) GetPrice

func (p *EditReq) GetPrice() (v int64)

func (*EditReq) GetProductId

func (p *EditReq) GetProductId() (v int64)

func (*EditReq) GetProperty

func (p *EditReq) GetProperty() (v *BookProperty)

func (*EditReq) GetStock

func (p *EditReq) GetStock() (v int64)

func (*EditReq) IsSetDescription

func (p *EditReq) IsSetDescription() bool

func (*EditReq) IsSetName

func (p *EditReq) IsSetName() bool

func (*EditReq) IsSetPic

func (p *EditReq) IsSetPic() bool

func (*EditReq) IsSetPrice

func (p *EditReq) IsSetPrice() bool

func (*EditReq) IsSetProperty

func (p *EditReq) IsSetProperty() bool

func (*EditReq) IsSetStock

func (p *EditReq) IsSetStock() bool

func (*EditReq) Read

func (p *EditReq) Read(iprot thrift.TProtocol) (err error)

func (*EditReq) ReadField1

func (p *EditReq) ReadField1(iprot thrift.TProtocol) error

func (*EditReq) ReadField2

func (p *EditReq) ReadField2(iprot thrift.TProtocol) error

func (*EditReq) ReadField3

func (p *EditReq) ReadField3(iprot thrift.TProtocol) error

func (*EditReq) ReadField4

func (p *EditReq) ReadField4(iprot thrift.TProtocol) error

func (*EditReq) ReadField5

func (p *EditReq) ReadField5(iprot thrift.TProtocol) error

func (*EditReq) ReadField6

func (p *EditReq) ReadField6(iprot thrift.TProtocol) error

func (*EditReq) ReadField7

func (p *EditReq) ReadField7(iprot thrift.TProtocol) error

func (*EditReq) SetDescription

func (p *EditReq) SetDescription(val *string)

func (*EditReq) SetName

func (p *EditReq) SetName(val *string)

func (*EditReq) SetPic

func (p *EditReq) SetPic(val *string)

func (*EditReq) SetPrice

func (p *EditReq) SetPrice(val *int64)

func (*EditReq) SetProductId

func (p *EditReq) SetProductId(val int64)

func (*EditReq) SetProperty

func (p *EditReq) SetProperty(val *BookProperty)

func (*EditReq) SetStock

func (p *EditReq) SetStock(val *int64)

func (*EditReq) String

func (p *EditReq) String() string

func (*EditReq) Write

func (p *EditReq) Write(oprot thrift.TProtocol) (err error)

type EditResp

type EditResp struct {
	BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"`
}
var ItemServiceEditResult_Success_DEFAULT *EditResp

func NewEditResp

func NewEditResp() *EditResp

func (*EditResp) BLength

func (p *EditResp) BLength() int

func (*EditResp) DeepEqual

func (p *EditResp) DeepEqual(ano *EditResp) bool

func (*EditResp) FastRead

func (p *EditResp) FastRead(buf []byte) (int, error)

func (*EditResp) FastReadField255

func (p *EditResp) FastReadField255(buf []byte) (int, error)

func (*EditResp) FastWrite

func (p *EditResp) FastWrite(buf []byte) int

for compatibility

func (*EditResp) FastWriteNocopy

func (p *EditResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*EditResp) Field255DeepEqual

func (p *EditResp) Field255DeepEqual(src *base.BaseResp) bool

func (*EditResp) GetBaseResp

func (p *EditResp) GetBaseResp() (v *base.BaseResp)

func (*EditResp) IsSetBaseResp

func (p *EditResp) IsSetBaseResp() bool

func (*EditResp) Read

func (p *EditResp) Read(iprot thrift.TProtocol) (err error)

func (*EditResp) ReadField255

func (p *EditResp) ReadField255(iprot thrift.TProtocol) error

func (*EditResp) SetBaseResp

func (p *EditResp) SetBaseResp(val *base.BaseResp)

func (*EditResp) String

func (p *EditResp) String() string

func (*EditResp) Write

func (p *EditResp) Write(oprot thrift.TProtocol) (err error)

type GetReq

type GetReq struct {
	ProductId int64 `thrift:"product_id,1,required" json:"product_id"`
}
var ItemServiceGetArgs_Req_DEFAULT *GetReq

func NewGetReq

func NewGetReq() *GetReq

func (*GetReq) BLength

func (p *GetReq) BLength() int

func (*GetReq) DeepEqual

func (p *GetReq) DeepEqual(ano *GetReq) bool

func (*GetReq) FastRead

func (p *GetReq) FastRead(buf []byte) (int, error)

func (*GetReq) FastReadField1

func (p *GetReq) FastReadField1(buf []byte) (int, error)

func (*GetReq) FastWrite

func (p *GetReq) FastWrite(buf []byte) int

for compatibility

func (*GetReq) FastWriteNocopy

func (p *GetReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetReq) Field1DeepEqual

func (p *GetReq) Field1DeepEqual(src int64) bool

func (*GetReq) GetProductId

func (p *GetReq) GetProductId() (v int64)

func (*GetReq) Read

func (p *GetReq) Read(iprot thrift.TProtocol) (err error)

func (*GetReq) ReadField1

func (p *GetReq) ReadField1(iprot thrift.TProtocol) error

func (*GetReq) SetProductId

func (p *GetReq) SetProductId(val int64)

func (*GetReq) String

func (p *GetReq) String() string

func (*GetReq) Write

func (p *GetReq) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *GetResp) BLength() int

func (*GetResp) DeepEqual

func (p *GetResp) DeepEqual(ano *GetResp) bool

func (*GetResp) FastRead

func (p *GetResp) FastRead(buf []byte) (int, error)

func (*GetResp) FastReadField1

func (p *GetResp) FastReadField1(buf []byte) (int, error)

func (*GetResp) FastReadField255

func (p *GetResp) FastReadField255(buf []byte) (int, error)

func (*GetResp) FastWrite

func (p *GetResp) FastWrite(buf []byte) int

for compatibility

func (*GetResp) FastWriteNocopy

func (p *GetResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetResp) Field1DeepEqual

func (p *GetResp) Field1DeepEqual(src *Product) bool

func (*GetResp) Field255DeepEqual

func (p *GetResp) Field255DeepEqual(src *base.BaseResp) bool

func (*GetResp) GetBaseResp

func (p *GetResp) GetBaseResp() (v *base.BaseResp)

func (*GetResp) GetProduct

func (p *GetResp) GetProduct() (v *Product)

func (*GetResp) IsSetBaseResp

func (p *GetResp) IsSetBaseResp() bool

func (*GetResp) IsSetProduct

func (p *GetResp) IsSetProduct() bool

func (*GetResp) Read

func (p *GetResp) Read(iprot thrift.TProtocol) (err error)

func (*GetResp) ReadField1

func (p *GetResp) ReadField1(iprot thrift.TProtocol) error

func (*GetResp) ReadField255

func (p *GetResp) ReadField255(iprot thrift.TProtocol) error

func (*GetResp) SetBaseResp

func (p *GetResp) SetBaseResp(val *base.BaseResp)

func (*GetResp) SetProduct

func (p *GetResp) SetProduct(val *Product)

func (*GetResp) String

func (p *GetResp) String() string

func (*GetResp) Write

func (p *GetResp) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceAddArgs) Write

func (p *ItemServiceAddArgs) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceAddResult) Write

func (p *ItemServiceAddResult) Write(oprot thrift.TProtocol) (err error)

type ItemServiceClient

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

func NewItemServiceClient

func NewItemServiceClient(c thrift.TClient) *ItemServiceClient

func NewItemServiceClientProtocol

func NewItemServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ItemServiceClient

func (*ItemServiceClient) Add

func (p *ItemServiceClient) Add(ctx context.Context, req *AddReq) (r *AddResp, err error)

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) Edit

func (p *ItemServiceClient) Edit(ctx context.Context, req *EditReq) (r *EditResp, err error)

func (*ItemServiceClient) Get

func (p *ItemServiceClient) Get(ctx context.Context, req *GetReq) (r *GetResp, err error)

func (*ItemServiceClient) List

func (p *ItemServiceClient) List(ctx context.Context, req *ListReq) (r *ListResp, 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 (*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

func (*ItemServiceDecrStockArgs) Write

func (p *ItemServiceDecrStockArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceDecrStockResult) Write

func (p *ItemServiceDecrStockResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*ItemServiceDecrStockRevertArgs) IsSetReq

func (p *ItemServiceDecrStockRevertArgs) IsSetReq() bool

func (*ItemServiceDecrStockRevertArgs) Read

func (*ItemServiceDecrStockRevertArgs) ReadField1

func (*ItemServiceDecrStockRevertArgs) SetReq

func (*ItemServiceDecrStockRevertArgs) String

func (*ItemServiceDecrStockRevertArgs) Write

func (p *ItemServiceDecrStockRevertArgs) Write(oprot thrift.TProtocol) (err error)

type ItemServiceDecrStockRevertResult

type ItemServiceDecrStockRevertResult struct {
	Success *DecrStockResp `thrift:"success,0" json:"success,omitempty"`
}

func NewItemServiceDecrStockRevertResult

func NewItemServiceDecrStockRevertResult() *ItemServiceDecrStockRevertResult

func (*ItemServiceDecrStockRevertResult) BLength

func (*ItemServiceDecrStockRevertResult) DeepEqual

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 (*ItemServiceDecrStockRevertResult) ReadField0

func (*ItemServiceDecrStockRevertResult) SetSuccess

func (p *ItemServiceDecrStockRevertResult) SetSuccess(x interface{})

func (*ItemServiceDecrStockRevertResult) String

func (*ItemServiceDecrStockRevertResult) Write

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 (*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

func (*ItemServiceDeleteArgs) Write

func (p *ItemServiceDeleteArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceDeleteResult) Write

func (p *ItemServiceDeleteResult) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceEditArgs) Write

func (p *ItemServiceEditArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceEditResult) Write

func (p *ItemServiceEditResult) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceGetArgs) Write

func (p *ItemServiceGetArgs) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceGetResult) Write

func (p *ItemServiceGetResult) Write(oprot thrift.TProtocol) (err error)

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

func (*ItemServiceListArgs) Write

func (p *ItemServiceListArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceListResult) Write

func (p *ItemServiceListResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceMGet2CArgs) Write

func (p *ItemServiceMGet2CArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceMGet2CResult) Write

func (p *ItemServiceMGet2CResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceOfflineArgs) Write

func (p *ItemServiceOfflineArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceOfflineResult) Write

func (p *ItemServiceOfflineResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceOnlineArgs) Write

func (p *ItemServiceOnlineArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceOnlineResult) Write

func (p *ItemServiceOnlineResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceSearchArgs) Write

func (p *ItemServiceSearchArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*ItemServiceSearchResult) Write

func (p *ItemServiceSearchResult) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *ListReq) BLength() int

func (*ListReq) DeepEqual

func (p *ListReq) DeepEqual(ano *ListReq) bool

func (*ListReq) FastRead

func (p *ListReq) FastRead(buf []byte) (int, error)

func (*ListReq) FastReadField1

func (p *ListReq) FastReadField1(buf []byte) (int, error)

func (*ListReq) FastReadField2

func (p *ListReq) FastReadField2(buf []byte) (int, error)

func (*ListReq) FastReadField3

func (p *ListReq) FastReadField3(buf []byte) (int, error)

func (*ListReq) FastWrite

func (p *ListReq) FastWrite(buf []byte) int

for compatibility

func (*ListReq) FastWriteNocopy

func (p *ListReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ListReq) Field1DeepEqual

func (p *ListReq) Field1DeepEqual(src *string) bool

func (*ListReq) Field2DeepEqual

func (p *ListReq) Field2DeepEqual(src *string) bool

func (*ListReq) Field3DeepEqual

func (p *ListReq) Field3DeepEqual(src *Status) bool

func (*ListReq) GetName

func (p *ListReq) GetName() (v string)

func (*ListReq) GetSpuName

func (p *ListReq) GetSpuName() (v string)

func (*ListReq) GetStatus

func (p *ListReq) GetStatus() (v Status)

func (*ListReq) IsSetName

func (p *ListReq) IsSetName() bool

func (*ListReq) IsSetSpuName

func (p *ListReq) IsSetSpuName() bool

func (*ListReq) IsSetStatus

func (p *ListReq) IsSetStatus() bool

func (*ListReq) Read

func (p *ListReq) Read(iprot thrift.TProtocol) (err error)

func (*ListReq) ReadField1

func (p *ListReq) ReadField1(iprot thrift.TProtocol) error

func (*ListReq) ReadField2

func (p *ListReq) ReadField2(iprot thrift.TProtocol) error

func (*ListReq) ReadField3

func (p *ListReq) ReadField3(iprot thrift.TProtocol) error

func (*ListReq) SetName

func (p *ListReq) SetName(val *string)

func (*ListReq) SetSpuName

func (p *ListReq) SetSpuName(val *string)

func (*ListReq) SetStatus

func (p *ListReq) SetStatus(val *Status)

func (*ListReq) String

func (p *ListReq) String() string

func (*ListReq) Write

func (p *ListReq) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *ListResp) BLength() int

func (*ListResp) DeepEqual

func (p *ListResp) DeepEqual(ano *ListResp) bool

func (*ListResp) FastRead

func (p *ListResp) FastRead(buf []byte) (int, error)

func (*ListResp) FastReadField1

func (p *ListResp) FastReadField1(buf []byte) (int, error)

func (*ListResp) FastReadField255

func (p *ListResp) FastReadField255(buf []byte) (int, error)

func (*ListResp) FastWrite

func (p *ListResp) FastWrite(buf []byte) int

for compatibility

func (*ListResp) FastWriteNocopy

func (p *ListResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ListResp) Field1DeepEqual

func (p *ListResp) Field1DeepEqual(src []*Product) bool

func (*ListResp) Field255DeepEqual

func (p *ListResp) Field255DeepEqual(src *base.BaseResp) bool

func (*ListResp) GetBaseResp

func (p *ListResp) GetBaseResp() (v *base.BaseResp)

func (*ListResp) GetProducts

func (p *ListResp) GetProducts() (v []*Product)

func (*ListResp) IsSetBaseResp

func (p *ListResp) IsSetBaseResp() bool

func (*ListResp) Read

func (p *ListResp) Read(iprot thrift.TProtocol) (err error)

func (*ListResp) ReadField1

func (p *ListResp) ReadField1(iprot thrift.TProtocol) error

func (*ListResp) ReadField255

func (p *ListResp) ReadField255(iprot thrift.TProtocol) error

func (*ListResp) SetBaseResp

func (p *ListResp) SetBaseResp(val *base.BaseResp)

func (*ListResp) SetProducts

func (p *ListResp) SetProducts(val []*Product)

func (*ListResp) String

func (p *ListResp) String() string

func (*ListResp) Write

func (p *ListResp) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *MGet2CReq) BLength() int

func (*MGet2CReq) DeepEqual

func (p *MGet2CReq) DeepEqual(ano *MGet2CReq) bool

func (*MGet2CReq) FastRead

func (p *MGet2CReq) FastRead(buf []byte) (int, error)

func (*MGet2CReq) FastReadField1

func (p *MGet2CReq) FastReadField1(buf []byte) (int, error)

func (*MGet2CReq) FastWrite

func (p *MGet2CReq) FastWrite(buf []byte) int

for compatibility

func (*MGet2CReq) FastWriteNocopy

func (p *MGet2CReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MGet2CReq) Field1DeepEqual

func (p *MGet2CReq) Field1DeepEqual(src []int64) bool

func (*MGet2CReq) GetProductIds

func (p *MGet2CReq) GetProductIds() (v []int64)

func (*MGet2CReq) Read

func (p *MGet2CReq) Read(iprot thrift.TProtocol) (err error)

func (*MGet2CReq) ReadField1

func (p *MGet2CReq) ReadField1(iprot thrift.TProtocol) error

func (*MGet2CReq) SetProductIds

func (p *MGet2CReq) SetProductIds(val []int64)

func (*MGet2CReq) String

func (p *MGet2CReq) String() string

func (*MGet2CReq) Write

func (p *MGet2CReq) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *MGet2CResp) FastRead(buf []byte) (int, error)

func (*MGet2CResp) FastReadField1

func (p *MGet2CResp) FastReadField1(buf []byte) (int, error)

func (*MGet2CResp) FastReadField255

func (p *MGet2CResp) FastReadField255(buf []byte) (int, error)

func (*MGet2CResp) FastWrite

func (p *MGet2CResp) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *MGet2CResp) Read(iprot thrift.TProtocol) (err error)

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

func (*MGet2CResp) Write

func (p *MGet2CResp) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *OfflineReq) FastRead(buf []byte) (int, error)

func (*OfflineReq) FastReadField1

func (p *OfflineReq) FastReadField1(buf []byte) (int, error)

func (*OfflineReq) FastWrite

func (p *OfflineReq) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *OfflineReq) Read(iprot thrift.TProtocol) (err error)

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

func (*OfflineReq) Write

func (p *OfflineReq) Write(oprot thrift.TProtocol) (err error)

type OfflineResp

type OfflineResp struct {
	BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"`
}
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) FastRead

func (p *OfflineResp) FastRead(buf []byte) (int, error)

func (*OfflineResp) FastReadField255

func (p *OfflineResp) FastReadField255(buf []byte) (int, error)

func (*OfflineResp) FastWrite

func (p *OfflineResp) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *OfflineResp) Read(iprot thrift.TProtocol) (err error)

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

func (*OfflineResp) Write

func (p *OfflineResp) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *OnlineReq) BLength() int

func (*OnlineReq) DeepEqual

func (p *OnlineReq) DeepEqual(ano *OnlineReq) bool

func (*OnlineReq) FastRead

func (p *OnlineReq) FastRead(buf []byte) (int, error)

func (*OnlineReq) FastReadField1

func (p *OnlineReq) FastReadField1(buf []byte) (int, error)

func (*OnlineReq) FastWrite

func (p *OnlineReq) FastWrite(buf []byte) int

for compatibility

func (*OnlineReq) FastWriteNocopy

func (p *OnlineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*OnlineReq) Field1DeepEqual

func (p *OnlineReq) Field1DeepEqual(src int64) bool

func (*OnlineReq) GetProductId

func (p *OnlineReq) GetProductId() (v int64)

func (*OnlineReq) Read

func (p *OnlineReq) Read(iprot thrift.TProtocol) (err error)

func (*OnlineReq) ReadField1

func (p *OnlineReq) ReadField1(iprot thrift.TProtocol) error

func (*OnlineReq) SetProductId

func (p *OnlineReq) SetProductId(val int64)

func (*OnlineReq) String

func (p *OnlineReq) String() string

func (*OnlineReq) Write

func (p *OnlineReq) Write(oprot thrift.TProtocol) (err error)

type OnlineResp

type OnlineResp struct {
	BaseResp *base.BaseResp `thrift:"BaseResp,255" json:"BaseResp"`
}
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) FastRead

func (p *OnlineResp) FastRead(buf []byte) (int, error)

func (*OnlineResp) FastReadField255

func (p *OnlineResp) FastReadField255(buf []byte) (int, error)

func (*OnlineResp) FastWrite

func (p *OnlineResp) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *OnlineResp) Read(iprot thrift.TProtocol) (err error)

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

func (*OnlineResp) Write

func (p *OnlineResp) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *Product) BLength() int

func (*Product) DeepEqual

func (p *Product) DeepEqual(ano *Product) bool

func (*Product) FastRead

func (p *Product) FastRead(buf []byte) (int, error)

func (*Product) FastReadField1

func (p *Product) FastReadField1(buf []byte) (int, error)

func (*Product) FastReadField2

func (p *Product) FastReadField2(buf []byte) (int, error)

func (*Product) FastReadField3

func (p *Product) FastReadField3(buf []byte) (int, error)

func (*Product) FastReadField4

func (p *Product) FastReadField4(buf []byte) (int, error)

func (*Product) FastReadField5

func (p *Product) FastReadField5(buf []byte) (int, error)

func (*Product) FastReadField6

func (p *Product) FastReadField6(buf []byte) (int, error)

func (*Product) FastReadField7

func (p *Product) FastReadField7(buf []byte) (int, error)

func (*Product) FastReadField8

func (p *Product) FastReadField8(buf []byte) (int, error)

func (*Product) FastWrite

func (p *Product) FastWrite(buf []byte) int

for compatibility

func (*Product) FastWriteNocopy

func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Product) Field1DeepEqual

func (p *Product) Field1DeepEqual(src int64) bool

func (*Product) Field2DeepEqual

func (p *Product) Field2DeepEqual(src string) bool

func (*Product) Field3DeepEqual

func (p *Product) Field3DeepEqual(src string) bool

func (*Product) Field4DeepEqual

func (p *Product) Field4DeepEqual(src string) bool

func (*Product) Field5DeepEqual

func (p *Product) Field5DeepEqual(src *BookProperty) bool

func (*Product) Field6DeepEqual

func (p *Product) Field6DeepEqual(src int64) bool

func (*Product) Field7DeepEqual

func (p *Product) Field7DeepEqual(src int64) bool

func (*Product) Field8DeepEqual

func (p *Product) Field8DeepEqual(src Status) bool

func (*Product) GetDescription

func (p *Product) GetDescription() (v string)

func (*Product) GetName

func (p *Product) GetName() (v string)

func (*Product) GetPic

func (p *Product) GetPic() (v string)

func (*Product) GetPrice

func (p *Product) GetPrice() (v int64)

func (*Product) GetProductId

func (p *Product) GetProductId() (v int64)

func (*Product) GetProperty

func (p *Product) GetProperty() (v *BookProperty)

func (*Product) GetStatus

func (p *Product) GetStatus() (v Status)

func (*Product) GetStock

func (p *Product) GetStock() (v int64)

func (*Product) IsSetProperty

func (p *Product) IsSetProperty() bool

func (*Product) Read

func (p *Product) Read(iprot thrift.TProtocol) (err error)

func (*Product) ReadField1

func (p *Product) ReadField1(iprot thrift.TProtocol) error

func (*Product) ReadField2

func (p *Product) ReadField2(iprot thrift.TProtocol) error

func (*Product) ReadField3

func (p *Product) ReadField3(iprot thrift.TProtocol) error

func (*Product) ReadField4

func (p *Product) ReadField4(iprot thrift.TProtocol) error

func (*Product) ReadField5

func (p *Product) ReadField5(iprot thrift.TProtocol) error

func (*Product) ReadField6

func (p *Product) ReadField6(iprot thrift.TProtocol) error

func (*Product) ReadField7

func (p *Product) ReadField7(iprot thrift.TProtocol) error

func (*Product) ReadField8

func (p *Product) ReadField8(iprot thrift.TProtocol) error

func (*Product) SetDescription

func (p *Product) SetDescription(val string)

func (*Product) SetName

func (p *Product) SetName(val string)

func (*Product) SetPic

func (p *Product) SetPic(val string)

func (*Product) SetPrice

func (p *Product) SetPrice(val int64)

func (*Product) SetProductId

func (p *Product) SetProductId(val int64)

func (*Product) SetProperty

func (p *Product) SetProperty(val *BookProperty)

func (*Product) SetStatus

func (p *Product) SetStatus(val Status)

func (*Product) SetStock

func (p *Product) SetStock(val int64)

func (*Product) String

func (p *Product) String() string

func (*Product) Write

func (p *Product) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *SearchReq) BLength() int

func (*SearchReq) DeepEqual

func (p *SearchReq) DeepEqual(ano *SearchReq) bool

func (*SearchReq) FastRead

func (p *SearchReq) FastRead(buf []byte) (int, error)

func (*SearchReq) FastReadField1

func (p *SearchReq) FastReadField1(buf []byte) (int, error)

func (*SearchReq) FastReadField2

func (p *SearchReq) FastReadField2(buf []byte) (int, error)

func (*SearchReq) FastReadField3

func (p *SearchReq) FastReadField3(buf []byte) (int, error)

func (*SearchReq) FastWrite

func (p *SearchReq) FastWrite(buf []byte) int

for compatibility

func (*SearchReq) FastWriteNocopy

func (p *SearchReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SearchReq) Field1DeepEqual

func (p *SearchReq) Field1DeepEqual(src *string) bool

func (*SearchReq) Field2DeepEqual

func (p *SearchReq) Field2DeepEqual(src *string) bool

func (*SearchReq) Field3DeepEqual

func (p *SearchReq) Field3DeepEqual(src *string) bool

func (*SearchReq) GetDescription

func (p *SearchReq) GetDescription() (v string)

func (*SearchReq) GetName

func (p *SearchReq) GetName() (v string)

func (*SearchReq) GetSpuName

func (p *SearchReq) GetSpuName() (v string)

func (*SearchReq) IsSetDescription

func (p *SearchReq) IsSetDescription() bool

func (*SearchReq) IsSetName

func (p *SearchReq) IsSetName() bool

func (*SearchReq) IsSetSpuName

func (p *SearchReq) IsSetSpuName() bool

func (*SearchReq) Read

func (p *SearchReq) Read(iprot thrift.TProtocol) (err error)

func (*SearchReq) ReadField1

func (p *SearchReq) ReadField1(iprot thrift.TProtocol) error

func (*SearchReq) ReadField2

func (p *SearchReq) ReadField2(iprot thrift.TProtocol) error

func (*SearchReq) ReadField3

func (p *SearchReq) ReadField3(iprot thrift.TProtocol) error

func (*SearchReq) SetDescription

func (p *SearchReq) SetDescription(val *string)

func (*SearchReq) SetName

func (p *SearchReq) SetName(val *string)

func (*SearchReq) SetSpuName

func (p *SearchReq) SetSpuName(val *string)

func (*SearchReq) String

func (p *SearchReq) String() string

func (*SearchReq) Write

func (p *SearchReq) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *SearchResp) FastRead(buf []byte) (int, error)

func (*SearchResp) FastReadField1

func (p *SearchResp) FastReadField1(buf []byte) (int, error)

func (*SearchResp) FastReadField255

func (p *SearchResp) FastReadField255(buf []byte) (int, error)

func (*SearchResp) FastWrite

func (p *SearchResp) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *SearchResp) Read(iprot thrift.TProtocol) (err error)

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

func (*SearchResp) Write

func (p *SearchResp) Write(oprot thrift.TProtocol) (err error)

type Status

type Status int64
const (
	Status_Online  Status = 0
	Status_Offline Status = 1
	Status_Delete  Status = 2
)
var ListReq_Status_DEFAULT Status

func StatusFromString

func StatusFromString(s string) (Status, error)

func StatusPtr

func StatusPtr(v Status) *Status

func (*Status) Scan

func (p *Status) Scan(value interface{}) (err error)

func (Status) String

func (p Status) String() string

func (*Status) Value

func (p *Status) Value() (driver.Value, error)

Directories

Path Synopsis
Code generated by Kitex v0.4.3.
Code generated by Kitex v0.4.3.

Jump to

Keyboard shortcuts

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