Documentation ¶
Index ¶
- Variables
- type Account
- func (p *Account) BLength() int
- func (p *Account) DeepEqual(ano *Account) bool
- func (p *Account) FastRead(buf []byte) (int, error)
- func (p *Account) FastReadField1(buf []byte) (int, error)
- func (p *Account) FastReadField2(buf []byte) (int, error)
- func (p *Account) FastReadField3(buf []byte) (int, error)
- func (p *Account) FastReadField4(buf []byte) (int, error)
- func (p *Account) FastReadField5(buf []byte) (int, error)
- func (p *Account) FastReadField6(buf []byte) (int, error)
- func (p *Account) FastReadField7(buf []byte) (int, error)
- func (p *Account) FastReadField8(buf []byte) (int, error)
- func (p *Account) FastWrite(buf []byte) int
- func (p *Account) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Account) Field1DeepEqual(src int64) bool
- func (p *Account) Field2DeepEqual(src string) bool
- func (p *Account) Field3DeepEqual(src string) bool
- func (p *Account) Field4DeepEqual(src string) bool
- func (p *Account) Field5DeepEqual(src string) bool
- func (p *Account) Field6DeepEqual(src string) bool
- func (p *Account) Field7DeepEqual(src string) bool
- func (p *Account) Field8DeepEqual(src string) bool
- func (p *Account) GetAvatar() (v string)
- func (p *Account) GetEmail() (v string)
- func (p *Account) GetId() (v int64)
- func (p *Account) GetLocation() (v string)
- func (p *Account) GetName() (v string)
- func (p *Account) GetPassword() (v string)
- func (p *Account) GetTelephone() (v string)
- func (p *Account) GetUsername() (v string)
- func (p *Account) InitDefault()
- func (p *Account) Read(iprot thrift.TProtocol) (err error)
- func (p *Account) ReadField1(iprot thrift.TProtocol) error
- func (p *Account) ReadField2(iprot thrift.TProtocol) error
- func (p *Account) ReadField3(iprot thrift.TProtocol) error
- func (p *Account) ReadField4(iprot thrift.TProtocol) error
- func (p *Account) ReadField5(iprot thrift.TProtocol) error
- func (p *Account) ReadField6(iprot thrift.TProtocol) error
- func (p *Account) ReadField7(iprot thrift.TProtocol) error
- func (p *Account) ReadField8(iprot thrift.TProtocol) error
- func (p *Account) SetAvatar(val string)
- func (p *Account) SetEmail(val string)
- func (p *Account) SetId(val int64)
- func (p *Account) SetLocation(val string)
- func (p *Account) SetName(val string)
- func (p *Account) SetPassword(val string)
- func (p *Account) SetTelephone(val string)
- func (p *Account) SetUsername(val string)
- func (p *Account) String() string
- func (p *Account) Write(oprot thrift.TProtocol) (err error)
- type Advertisement
- func (*Advertisement) Descriptor() ([]byte, []int)deprecated
- func (x *Advertisement) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Advertisement) FastWrite(buf []byte) (offset int)
- func (x *Advertisement) GetImage() string
- func (x *Advertisement) GetProductId() int64
- func (*Advertisement) ProtoMessage()
- func (x *Advertisement) ProtoReflect() protoreflect.Message
- func (x *Advertisement) Reset()
- func (x *Advertisement) Size() (n int)
- func (x *Advertisement) String() string
- type ChangeAccountArgs
- func (p *ChangeAccountArgs) BLength() int
- func (p *ChangeAccountArgs) DeepEqual(ano *ChangeAccountArgs) bool
- func (p *ChangeAccountArgs) FastRead(buf []byte) (int, error)
- func (p *ChangeAccountArgs) FastReadField1(buf []byte) (int, error)
- func (p *ChangeAccountArgs) FastWrite(buf []byte) int
- func (p *ChangeAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAccountArgs) Field1DeepEqual(src *ChangeAccountRequest) bool
- func (p *ChangeAccountArgs) GetAccount() (v *ChangeAccountRequest)
- func (p *ChangeAccountArgs) GetFirstArgument() interface{}
- func (p *ChangeAccountArgs) InitDefault()
- func (p *ChangeAccountArgs) IsSetAccount() bool
- func (p *ChangeAccountArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAccountArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ChangeAccountArgs) SetAccount(val *ChangeAccountRequest)
- func (p *ChangeAccountArgs) String() string
- func (p *ChangeAccountArgs) Write(oprot thrift.TProtocol) (err error)
- type ChangeAccountRequest
- func (p *ChangeAccountRequest) BLength() int
- func (p *ChangeAccountRequest) DeepEqual(ano *ChangeAccountRequest) bool
- func (p *ChangeAccountRequest) FastRead(buf []byte) (int, error)
- func (p *ChangeAccountRequest) FastReadField1(buf []byte) (int, error)
- func (p *ChangeAccountRequest) FastWrite(buf []byte) int
- func (p *ChangeAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAccountRequest) Field1DeepEqual(src *Account) bool
- func (p *ChangeAccountRequest) GetAccount() (v *Account)
- func (p *ChangeAccountRequest) InitDefault()
- func (p *ChangeAccountRequest) IsSetAccount() bool
- func (p *ChangeAccountRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAccountRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *ChangeAccountRequest) SetAccount(val *Account)
- func (p *ChangeAccountRequest) String() string
- func (p *ChangeAccountRequest) Write(oprot thrift.TProtocol) (err error)
- type ChangeAccountResponse
- func (p *ChangeAccountResponse) BLength() int
- func (p *ChangeAccountResponse) DeepEqual(ano *ChangeAccountResponse) bool
- func (p *ChangeAccountResponse) FastRead(buf []byte) (int, error)
- func (p *ChangeAccountResponse) FastWrite(buf []byte) int
- func (p *ChangeAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAccountResponse) InitDefault()
- func (p *ChangeAccountResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAccountResponse) String() string
- func (p *ChangeAccountResponse) Write(oprot thrift.TProtocol) (err error)
- type ChangeAccountResult
- func (p *ChangeAccountResult) BLength() int
- func (p *ChangeAccountResult) DeepEqual(ano *ChangeAccountResult) bool
- func (p *ChangeAccountResult) FastRead(buf []byte) (int, error)
- func (p *ChangeAccountResult) FastReadField0(buf []byte) (int, error)
- func (p *ChangeAccountResult) FastWrite(buf []byte) int
- func (p *ChangeAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ChangeAccountResult) Field0DeepEqual(src *ChangeAccountResponse) bool
- func (p *ChangeAccountResult) GetResult() interface{}
- func (p *ChangeAccountResult) GetSuccess() (v *ChangeAccountResponse)
- func (p *ChangeAccountResult) InitDefault()
- func (p *ChangeAccountResult) IsSetSuccess() bool
- func (p *ChangeAccountResult) Read(iprot thrift.TProtocol) (err error)
- func (p *ChangeAccountResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ChangeAccountResult) SetSuccess(x interface{})
- func (p *ChangeAccountResult) String() string
- func (p *ChangeAccountResult) Write(oprot thrift.TProtocol) (err error)
- type ChangeProductRequest
- func (*ChangeProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *ChangeProductRequest) FastWrite(buf []byte) (offset int)
- func (x *ChangeProductRequest) GetProduct() *Product
- func (*ChangeProductRequest) ProtoMessage()
- func (x *ChangeProductRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeProductRequest) Reset()
- func (x *ChangeProductRequest) Size() (n int)
- func (x *ChangeProductRequest) String() string
- type CreateProductArgs
- func (p *CreateProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateProductArgs) FastWrite(buf []byte) (n int)
- func (p *CreateProductArgs) GetFirstArgument() interface{}
- func (p *CreateProductArgs) GetReq() *ChangeProductRequest
- func (p *CreateProductArgs) IsSetReq() bool
- func (p *CreateProductArgs) Marshal(out []byte) ([]byte, error)
- func (p *CreateProductArgs) Size() (n int)
- func (p *CreateProductArgs) Unmarshal(in []byte) error
- type CreateProductResult
- func (p *CreateProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateProductResult) FastWrite(buf []byte) (n int)
- func (p *CreateProductResult) GetResult() interface{}
- func (p *CreateProductResult) GetSuccess() *Empty
- func (p *CreateProductResult) IsSetSuccess() bool
- func (p *CreateProductResult) Marshal(out []byte) ([]byte, error)
- func (p *CreateProductResult) SetSuccess(x interface{})
- func (p *CreateProductResult) Size() (n int)
- func (p *CreateProductResult) Unmarshal(in []byte) error
- type DeliveredStatus
- func (DeliveredStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeliveredStatus) Enum() *DeliveredStatus
- func (DeliveredStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeliveredStatus) Number() protoreflect.EnumNumber
- func (x DeliveredStatus) String() string
- func (DeliveredStatus) Type() protoreflect.EnumType
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)deprecated
- func (x *Empty) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Empty) FastWrite(buf []byte) (offset int)
- func (*Empty) ProtoMessage()
- func (x *Empty) ProtoReflect() protoreflect.Message
- func (x *Empty) Reset()
- func (x *Empty) Size() (n int)
- func (x *Empty) String() string
- type ExecuteSettlementArgs
- func (p *ExecuteSettlementArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ExecuteSettlementArgs) FastWrite(buf []byte) (n int)
- func (p *ExecuteSettlementArgs) GetFirstArgument() interface{}
- func (p *ExecuteSettlementArgs) GetReq() *ExecuteSettlementRequest
- func (p *ExecuteSettlementArgs) IsSetReq() bool
- func (p *ExecuteSettlementArgs) Marshal(out []byte) ([]byte, error)
- func (p *ExecuteSettlementArgs) Size() (n int)
- func (p *ExecuteSettlementArgs) Unmarshal(in []byte) error
- type ExecuteSettlementRequest
- func (*ExecuteSettlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSettlementRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *ExecuteSettlementRequest) FastWrite(buf []byte) (offset int)
- func (x *ExecuteSettlementRequest) GetSettlement() *Settlement
- func (*ExecuteSettlementRequest) ProtoMessage()
- func (x *ExecuteSettlementRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteSettlementRequest) Reset()
- func (x *ExecuteSettlementRequest) Size() (n int)
- func (x *ExecuteSettlementRequest) String() string
- type ExecuteSettlementResponse
- func (*ExecuteSettlementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSettlementResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *ExecuteSettlementResponse) FastWrite(buf []byte) (offset int)
- func (x *ExecuteSettlementResponse) GetPayment() *Payment
- func (*ExecuteSettlementResponse) ProtoMessage()
- func (x *ExecuteSettlementResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteSettlementResponse) Reset()
- func (x *ExecuteSettlementResponse) Size() (n int)
- func (x *ExecuteSettlementResponse) String() string
- type ExecuteSettlementResult
- func (p *ExecuteSettlementResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ExecuteSettlementResult) FastWrite(buf []byte) (n int)
- func (p *ExecuteSettlementResult) GetResult() interface{}
- func (p *ExecuteSettlementResult) GetSuccess() *ExecuteSettlementResponse
- func (p *ExecuteSettlementResult) IsSetSuccess() bool
- func (p *ExecuteSettlementResult) Marshal(out []byte) ([]byte, error)
- func (p *ExecuteSettlementResult) SetSuccess(x interface{})
- func (p *ExecuteSettlementResult) Size() (n int)
- func (p *ExecuteSettlementResult) Unmarshal(in []byte) error
- type GetAccountArgs
- func (p *GetAccountArgs) BLength() int
- func (p *GetAccountArgs) DeepEqual(ano *GetAccountArgs) bool
- func (p *GetAccountArgs) FastRead(buf []byte) (int, error)
- func (p *GetAccountArgs) FastReadField1(buf []byte) (int, error)
- func (p *GetAccountArgs) FastWrite(buf []byte) int
- func (p *GetAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAccountArgs) Field1DeepEqual(src *GetAccountRequest) bool
- func (p *GetAccountArgs) GetFirstArgument() interface{}
- func (p *GetAccountArgs) GetUsernmae() (v *GetAccountRequest)
- func (p *GetAccountArgs) InitDefault()
- func (p *GetAccountArgs) IsSetUsernmae() bool
- func (p *GetAccountArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAccountArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAccountArgs) SetUsernmae(val *GetAccountRequest)
- func (p *GetAccountArgs) String() string
- func (p *GetAccountArgs) Write(oprot thrift.TProtocol) (err error)
- type GetAccountRequest
- func (p *GetAccountRequest) BLength() int
- func (p *GetAccountRequest) DeepEqual(ano *GetAccountRequest) bool
- func (p *GetAccountRequest) FastRead(buf []byte) (int, error)
- func (p *GetAccountRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetAccountRequest) FastWrite(buf []byte) int
- func (p *GetAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAccountRequest) Field1DeepEqual(src string) bool
- func (p *GetAccountRequest) GetUsername() (v string)
- func (p *GetAccountRequest) InitDefault()
- func (p *GetAccountRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAccountRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAccountRequest) SetUsername(val string)
- func (p *GetAccountRequest) String() string
- func (p *GetAccountRequest) Write(oprot thrift.TProtocol) (err error)
- type GetAccountResponse
- func (p *GetAccountResponse) BLength() int
- func (p *GetAccountResponse) DeepEqual(ano *GetAccountResponse) bool
- func (p *GetAccountResponse) FastRead(buf []byte) (int, error)
- func (p *GetAccountResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetAccountResponse) FastWrite(buf []byte) int
- func (p *GetAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAccountResponse) Field1DeepEqual(src *Account) bool
- func (p *GetAccountResponse) GetAccount() (v *Account)
- func (p *GetAccountResponse) InitDefault()
- func (p *GetAccountResponse) IsSetAccount() bool
- func (p *GetAccountResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAccountResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAccountResponse) SetAccount(val *Account)
- func (p *GetAccountResponse) String() string
- func (p *GetAccountResponse) Write(oprot thrift.TProtocol) (err error)
- type GetAccountResult
- func (p *GetAccountResult) BLength() int
- func (p *GetAccountResult) DeepEqual(ano *GetAccountResult) bool
- func (p *GetAccountResult) FastRead(buf []byte) (int, error)
- func (p *GetAccountResult) FastReadField0(buf []byte) (int, error)
- func (p *GetAccountResult) FastWrite(buf []byte) int
- func (p *GetAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAccountResult) Field0DeepEqual(src *GetAccountResponse) bool
- func (p *GetAccountResult) GetResult() interface{}
- func (p *GetAccountResult) GetSuccess() (v *GetAccountResponse)
- func (p *GetAccountResult) InitDefault()
- func (p *GetAccountResult) IsSetSuccess() bool
- func (p *GetAccountResult) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAccountResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetAccountResult) SetSuccess(x interface{})
- func (p *GetAccountResult) String() string
- func (p *GetAccountResult) Write(oprot thrift.TProtocol) (err error)
- type GetAllAdvertisementsArgs
- func (p *GetAllAdvertisementsArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAllAdvertisementsArgs) FastWrite(buf []byte) (n int)
- func (p *GetAllAdvertisementsArgs) GetFirstArgument() interface{}
- func (p *GetAllAdvertisementsArgs) GetReq() *Empty
- func (p *GetAllAdvertisementsArgs) IsSetReq() bool
- func (p *GetAllAdvertisementsArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetAllAdvertisementsArgs) Size() (n int)
- func (p *GetAllAdvertisementsArgs) Unmarshal(in []byte) error
- type GetAllAdvertisementsResponse
- func (*GetAllAdvertisementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllAdvertisementsResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetAllAdvertisementsResponse) FastWrite(buf []byte) (offset int)
- func (x *GetAllAdvertisementsResponse) GetAdvertisements() []*Advertisement
- func (*GetAllAdvertisementsResponse) ProtoMessage()
- func (x *GetAllAdvertisementsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllAdvertisementsResponse) Reset()
- func (x *GetAllAdvertisementsResponse) Size() (n int)
- func (x *GetAllAdvertisementsResponse) String() string
- type GetAllAdvertisementsResult
- func (p *GetAllAdvertisementsResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAllAdvertisementsResult) FastWrite(buf []byte) (n int)
- func (p *GetAllAdvertisementsResult) GetResult() interface{}
- func (p *GetAllAdvertisementsResult) GetSuccess() *GetAllAdvertisementsResponse
- func (p *GetAllAdvertisementsResult) IsSetSuccess() bool
- func (p *GetAllAdvertisementsResult) Marshal(out []byte) ([]byte, error)
- func (p *GetAllAdvertisementsResult) SetSuccess(x interface{})
- func (p *GetAllAdvertisementsResult) Size() (n int)
- func (p *GetAllAdvertisementsResult) Unmarshal(in []byte) error
- type GetAllProductResponse
- func (*GetAllProductResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllProductResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetAllProductResponse) FastWrite(buf []byte) (offset int)
- func (x *GetAllProductResponse) GetProducts() []*Product
- func (*GetAllProductResponse) ProtoMessage()
- func (x *GetAllProductResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllProductResponse) Reset()
- func (x *GetAllProductResponse) Size() (n int)
- func (x *GetAllProductResponse) String() string
- type GetAllProductsArgs
- func (p *GetAllProductsArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAllProductsArgs) FastWrite(buf []byte) (n int)
- func (p *GetAllProductsArgs) GetFirstArgument() interface{}
- func (p *GetAllProductsArgs) GetReq() *Empty
- func (p *GetAllProductsArgs) IsSetReq() bool
- func (p *GetAllProductsArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetAllProductsArgs) Size() (n int)
- func (p *GetAllProductsArgs) Unmarshal(in []byte) error
- type GetAllProductsResult
- func (p *GetAllProductsResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAllProductsResult) FastWrite(buf []byte) (n int)
- func (p *GetAllProductsResult) GetResult() interface{}
- func (p *GetAllProductsResult) GetSuccess() *GetAllProductResponse
- func (p *GetAllProductsResult) IsSetSuccess() bool
- func (p *GetAllProductsResult) Marshal(out []byte) ([]byte, error)
- func (p *GetAllProductsResult) SetSuccess(x interface{})
- func (p *GetAllProductsResult) Size() (n int)
- func (p *GetAllProductsResult) Unmarshal(in []byte) error
- type GetProductArgs
- func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetProductArgs) FastWrite(buf []byte) (n int)
- func (p *GetProductArgs) GetFirstArgument() interface{}
- func (p *GetProductArgs) GetReq() *GetProductRequest
- func (p *GetProductArgs) IsSetReq() bool
- func (p *GetProductArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetProductArgs) Size() (n int)
- func (p *GetProductArgs) Unmarshal(in []byte) error
- type GetProductRequest
- func (*GetProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetProductRequest) FastWrite(buf []byte) (offset int)
- func (x *GetProductRequest) GetId() int64
- func (*GetProductRequest) ProtoMessage()
- func (x *GetProductRequest) ProtoReflect() protoreflect.Message
- func (x *GetProductRequest) Reset()
- func (x *GetProductRequest) Size() (n int)
- func (x *GetProductRequest) String() string
- type GetProductResponse
- func (*GetProductResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProductResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetProductResponse) FastWrite(buf []byte) (offset int)
- func (x *GetProductResponse) GetProduct() *Product
- func (*GetProductResponse) ProtoMessage()
- func (x *GetProductResponse) ProtoReflect() protoreflect.Message
- func (x *GetProductResponse) Reset()
- func (x *GetProductResponse) Size() (n int)
- func (x *GetProductResponse) String() string
- type GetProductResult
- func (p *GetProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetProductResult) FastWrite(buf []byte) (n int)
- func (p *GetProductResult) GetResult() interface{}
- func (p *GetProductResult) GetSuccess() *GetProductResponse
- func (p *GetProductResult) IsSetSuccess() bool
- func (p *GetProductResult) Marshal(out []byte) ([]byte, error)
- func (p *GetProductResult) SetSuccess(x interface{})
- func (p *GetProductResult) Size() (n int)
- func (p *GetProductResult) Unmarshal(in []byte) error
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Item) FastWrite(buf []byte) (offset int)
- func (x *Item) GetAmount() int64
- func (x *Item) GetProductId() int64
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) Size() (n int)
- func (x *Item) String() string
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Payment) FastWrite(buf []byte) (offset int)
- func (x *Payment) GetCreateTime() *timestamppb.Timestamp
- func (x *Payment) GetExpires() int64
- func (x *Payment) GetPayId() string
- func (x *Payment) GetPayState() PaymentState
- func (x *Payment) GetPaymentLink() string
- func (x *Payment) GetTotalPrice() float64
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) Size() (n int)
- func (x *Payment) String() string
- type PaymentState
- func (PaymentState) Descriptor() protoreflect.EnumDescriptor
- func (x PaymentState) Enum() *PaymentState
- func (PaymentState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PaymentState) Number() protoreflect.EnumNumber
- func (x PaymentState) String() string
- func (PaymentState) Type() protoreflect.EnumType
- type Product
- func (*Product) Descriptor() ([]byte, []int)deprecated
- func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Product) FastWrite(buf []byte) (offset int)
- func (x *Product) GetCover() string
- func (x *Product) GetDescription() string
- func (x *Product) GetDetail() string
- func (x *Product) GetId() int64
- func (x *Product) GetPrice() float64
- func (x *Product) GetRate() float32
- func (x *Product) GetSpecifications() []*Specification
- func (x *Product) GetTitle() string
- func (*Product) ProtoMessage()
- func (x *Product) ProtoReflect() protoreflect.Message
- func (x *Product) Reset()
- func (x *Product) Size() (n int)
- func (x *Product) String() string
- type Purchase
- func (*Purchase) Descriptor() ([]byte, []int)deprecated
- func (x *Purchase) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Purchase) FastWrite(buf []byte) (offset int)
- func (x *Purchase) GetDelivery() bool
- func (x *Purchase) GetLocation() string
- func (x *Purchase) GetName() string
- func (x *Purchase) GetTelephone() string
- func (*Purchase) ProtoMessage()
- func (x *Purchase) ProtoReflect() protoreflect.Message
- func (x *Purchase) Reset()
- func (x *Purchase) Size() (n int)
- func (x *Purchase) String() string
- type QueryStockpileArgs
- func (p *QueryStockpileArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryStockpileArgs) FastWrite(buf []byte) (n int)
- func (p *QueryStockpileArgs) GetFirstArgument() interface{}
- func (p *QueryStockpileArgs) GetReq() *QueryStockpileRequest
- func (p *QueryStockpileArgs) IsSetReq() bool
- func (p *QueryStockpileArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryStockpileArgs) Size() (n int)
- func (p *QueryStockpileArgs) Unmarshal(in []byte) error
- type QueryStockpileRequest
- func (*QueryStockpileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStockpileRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *QueryStockpileRequest) FastWrite(buf []byte) (offset int)
- func (x *QueryStockpileRequest) GetProductId() int64
- func (*QueryStockpileRequest) ProtoMessage()
- func (x *QueryStockpileRequest) ProtoReflect() protoreflect.Message
- func (x *QueryStockpileRequest) Reset()
- func (x *QueryStockpileRequest) Size() (n int)
- func (x *QueryStockpileRequest) String() string
- type QueryStockpileResponse
- func (*QueryStockpileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStockpileResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *QueryStockpileResponse) FastWrite(buf []byte) (offset int)
- func (x *QueryStockpileResponse) GetStockpile() *Stockpile
- func (*QueryStockpileResponse) ProtoMessage()
- func (x *QueryStockpileResponse) ProtoReflect() protoreflect.Message
- func (x *QueryStockpileResponse) Reset()
- func (x *QueryStockpileResponse) Size() (n int)
- func (x *QueryStockpileResponse) String() string
- type QueryStockpileResult
- func (p *QueryStockpileResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryStockpileResult) FastWrite(buf []byte) (n int)
- func (p *QueryStockpileResult) GetResult() interface{}
- func (p *QueryStockpileResult) GetSuccess() *QueryStockpileResponse
- func (p *QueryStockpileResult) IsSetSuccess() bool
- func (p *QueryStockpileResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryStockpileResult) SetSuccess(x interface{})
- func (p *QueryStockpileResult) Size() (n int)
- func (p *QueryStockpileResult) Unmarshal(in []byte) error
- type RemoveProductArgs
- func (p *RemoveProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RemoveProductArgs) FastWrite(buf []byte) (n int)
- func (p *RemoveProductArgs) GetFirstArgument() interface{}
- func (p *RemoveProductArgs) GetReq() *RemoveProductRequest
- func (p *RemoveProductArgs) IsSetReq() bool
- func (p *RemoveProductArgs) Marshal(out []byte) ([]byte, error)
- func (p *RemoveProductArgs) Size() (n int)
- func (p *RemoveProductArgs) Unmarshal(in []byte) error
- type RemoveProductRequest
- func (*RemoveProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RemoveProductRequest) FastWrite(buf []byte) (offset int)
- func (x *RemoveProductRequest) GetId() int64
- func (*RemoveProductRequest) ProtoMessage()
- func (x *RemoveProductRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveProductRequest) Reset()
- func (x *RemoveProductRequest) Size() (n int)
- func (x *RemoveProductRequest) String() string
- type RemoveProductResult
- func (p *RemoveProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RemoveProductResult) FastWrite(buf []byte) (n int)
- func (p *RemoveProductResult) GetResult() interface{}
- func (p *RemoveProductResult) GetSuccess() *Empty
- func (p *RemoveProductResult) IsSetSuccess() bool
- func (p *RemoveProductResult) Marshal(out []byte) ([]byte, error)
- func (p *RemoveProductResult) SetSuccess(x interface{})
- func (p *RemoveProductResult) Size() (n int)
- func (p *RemoveProductResult) Unmarshal(in []byte) error
- type SetDeliveredStatusArgs
- func (p *SetDeliveredStatusArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SetDeliveredStatusArgs) FastWrite(buf []byte) (n int)
- func (p *SetDeliveredStatusArgs) GetFirstArgument() interface{}
- func (p *SetDeliveredStatusArgs) GetReq() *SetDeliveredStatusRequest
- func (p *SetDeliveredStatusArgs) IsSetReq() bool
- func (p *SetDeliveredStatusArgs) Marshal(out []byte) ([]byte, error)
- func (p *SetDeliveredStatusArgs) Size() (n int)
- func (p *SetDeliveredStatusArgs) Unmarshal(in []byte) error
- type SetDeliveredStatusRequest
- func (*SetDeliveredStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDeliveredStatusRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SetDeliveredStatusRequest) FastWrite(buf []byte) (offset int)
- func (x *SetDeliveredStatusRequest) GetAmount() int64
- func (x *SetDeliveredStatusRequest) GetProductId() int64
- func (x *SetDeliveredStatusRequest) GetStatus() DeliveredStatus
- func (*SetDeliveredStatusRequest) ProtoMessage()
- func (x *SetDeliveredStatusRequest) ProtoReflect() protoreflect.Message
- func (x *SetDeliveredStatusRequest) Reset()
- func (x *SetDeliveredStatusRequest) Size() (n int)
- func (x *SetDeliveredStatusRequest) String() string
- type SetDeliveredStatusResult
- func (p *SetDeliveredStatusResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SetDeliveredStatusResult) FastWrite(buf []byte) (n int)
- func (p *SetDeliveredStatusResult) GetResult() interface{}
- func (p *SetDeliveredStatusResult) GetSuccess() *Empty
- func (p *SetDeliveredStatusResult) IsSetSuccess() bool
- func (p *SetDeliveredStatusResult) Marshal(out []byte) ([]byte, error)
- func (p *SetDeliveredStatusResult) SetSuccess(x interface{})
- func (p *SetDeliveredStatusResult) Size() (n int)
- func (p *SetDeliveredStatusResult) Unmarshal(in []byte) error
- type Settlement
- func (*Settlement) Descriptor() ([]byte, []int)deprecated
- func (x *Settlement) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Settlement) FastWrite(buf []byte) (offset int)
- func (x *Settlement) GetItems() []*Item
- func (x *Settlement) GetProductMap() map[int64]*Product
- func (x *Settlement) GetPurchase() *Purchase
- func (*Settlement) ProtoMessage()
- func (x *Settlement) ProtoReflect() protoreflect.Message
- func (x *Settlement) Reset()
- func (x *Settlement) Size() (n int)
- func (x *Settlement) String() string
- type Specification
- func (*Specification) Descriptor() ([]byte, []int)deprecated
- func (x *Specification) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Specification) FastWrite(buf []byte) (offset int)
- func (x *Specification) GetItem() string
- func (x *Specification) GetProductId() int64
- func (x *Specification) GetValue() string
- func (*Specification) ProtoMessage()
- func (x *Specification) ProtoReflect() protoreflect.Message
- func (x *Specification) Reset()
- func (x *Specification) Size() (n int)
- func (x *Specification) String() string
- type Stockpile
- func (*Stockpile) Descriptor() ([]byte, []int)deprecated
- func (x *Stockpile) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Stockpile) FastWrite(buf []byte) (offset int)
- func (x *Stockpile) GetAmount() int64
- func (x *Stockpile) GetFrozen() int64
- func (x *Stockpile) GetProduct() *Product
- func (*Stockpile) ProtoMessage()
- func (x *Stockpile) ProtoReflect() protoreflect.Message
- func (x *Stockpile) Reset()
- func (x *Stockpile) Size() (n int)
- func (x *Stockpile) String() string
- type UpdatePaymentStateAlias
- func (*UpdatePaymentStateAlias) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePaymentStateAlias) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdatePaymentStateAlias) FastWrite(buf []byte) (offset int)
- func (x *UpdatePaymentStateAlias) GetAccountId() int64
- func (x *UpdatePaymentStateAlias) GetPayId() string
- func (x *UpdatePaymentStateAlias) GetState() PaymentState
- func (*UpdatePaymentStateAlias) ProtoMessage()
- func (x *UpdatePaymentStateAlias) ProtoReflect() protoreflect.Message
- func (x *UpdatePaymentStateAlias) Reset()
- func (x *UpdatePaymentStateAlias) Size() (n int)
- func (x *UpdatePaymentStateAlias) String() string
- type UpdatePaymentStateAliasArgs
- func (p *UpdatePaymentStateAliasArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdatePaymentStateAliasArgs) FastWrite(buf []byte) (n int)
- func (p *UpdatePaymentStateAliasArgs) GetFirstArgument() interface{}
- func (p *UpdatePaymentStateAliasArgs) GetReq() *UpdatePaymentStateAlias
- func (p *UpdatePaymentStateAliasArgs) IsSetReq() bool
- func (p *UpdatePaymentStateAliasArgs) Marshal(out []byte) ([]byte, error)
- func (p *UpdatePaymentStateAliasArgs) Size() (n int)
- func (p *UpdatePaymentStateAliasArgs) Unmarshal(in []byte) error
- type UpdatePaymentStateAliasResult
- func (p *UpdatePaymentStateAliasResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdatePaymentStateAliasResult) FastWrite(buf []byte) (n int)
- func (p *UpdatePaymentStateAliasResult) GetResult() interface{}
- func (p *UpdatePaymentStateAliasResult) GetSuccess() *Empty
- func (p *UpdatePaymentStateAliasResult) IsSetSuccess() bool
- func (p *UpdatePaymentStateAliasResult) Marshal(out []byte) ([]byte, error)
- func (p *UpdatePaymentStateAliasResult) SetSuccess(x interface{})
- func (p *UpdatePaymentStateAliasResult) Size() (n int)
- func (p *UpdatePaymentStateAliasResult) Unmarshal(in []byte) error
- type UpdatePaymentStateArgs
- func (p *UpdatePaymentStateArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdatePaymentStateArgs) FastWrite(buf []byte) (n int)
- func (p *UpdatePaymentStateArgs) GetFirstArgument() interface{}
- func (p *UpdatePaymentStateArgs) GetReq() *UpdatePaymentStateRequest
- func (p *UpdatePaymentStateArgs) IsSetReq() bool
- func (p *UpdatePaymentStateArgs) Marshal(out []byte) ([]byte, error)
- func (p *UpdatePaymentStateArgs) Size() (n int)
- func (p *UpdatePaymentStateArgs) Unmarshal(in []byte) error
- type UpdatePaymentStateRequest
- func (*UpdatePaymentStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePaymentStateRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdatePaymentStateRequest) FastWrite(buf []byte) (offset int)
- func (x *UpdatePaymentStateRequest) GetPayId() string
- func (x *UpdatePaymentStateRequest) GetState() PaymentState
- func (*UpdatePaymentStateRequest) ProtoMessage()
- func (x *UpdatePaymentStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePaymentStateRequest) Reset()
- func (x *UpdatePaymentStateRequest) Size() (n int)
- func (x *UpdatePaymentStateRequest) String() string
- type UpdatePaymentStateResult
- func (p *UpdatePaymentStateResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdatePaymentStateResult) FastWrite(buf []byte) (n int)
- func (p *UpdatePaymentStateResult) GetResult() interface{}
- func (p *UpdatePaymentStateResult) GetSuccess() *Empty
- func (p *UpdatePaymentStateResult) IsSetSuccess() bool
- func (p *UpdatePaymentStateResult) Marshal(out []byte) ([]byte, error)
- func (p *UpdatePaymentStateResult) SetSuccess(x interface{})
- func (p *UpdatePaymentStateResult) Size() (n int)
- func (p *UpdatePaymentStateResult) Unmarshal(in []byte) error
- type UpdateProductArgs
- func (p *UpdateProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdateProductArgs) FastWrite(buf []byte) (n int)
- func (p *UpdateProductArgs) GetFirstArgument() interface{}
- func (p *UpdateProductArgs) GetReq() *ChangeProductRequest
- func (p *UpdateProductArgs) IsSetReq() bool
- func (p *UpdateProductArgs) Marshal(out []byte) ([]byte, error)
- func (p *UpdateProductArgs) Size() (n int)
- func (p *UpdateProductArgs) Unmarshal(in []byte) error
- type UpdateProductResult
- func (p *UpdateProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdateProductResult) FastWrite(buf []byte) (n int)
- func (p *UpdateProductResult) GetResult() interface{}
- func (p *UpdateProductResult) GetSuccess() *Empty
- func (p *UpdateProductResult) IsSetSuccess() bool
- func (p *UpdateProductResult) Marshal(out []byte) ([]byte, error)
- func (p *UpdateProductResult) SetSuccess(x interface{})
- func (p *UpdateProductResult) Size() (n int)
- func (p *UpdateProductResult) Unmarshal(in []byte) error
- type UpdateStockpileArgs
- func (p *UpdateStockpileArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdateStockpileArgs) FastWrite(buf []byte) (n int)
- func (p *UpdateStockpileArgs) GetFirstArgument() interface{}
- func (p *UpdateStockpileArgs) GetReq() *UpdateStockpileRequest
- func (p *UpdateStockpileArgs) IsSetReq() bool
- func (p *UpdateStockpileArgs) Marshal(out []byte) ([]byte, error)
- func (p *UpdateStockpileArgs) Size() (n int)
- func (p *UpdateStockpileArgs) Unmarshal(in []byte) error
- type UpdateStockpileRequest
- func (*UpdateStockpileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStockpileRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdateStockpileRequest) FastWrite(buf []byte) (offset int)
- func (x *UpdateStockpileRequest) GetAmount() int64
- func (x *UpdateStockpileRequest) GetProductId() int64
- func (*UpdateStockpileRequest) ProtoMessage()
- func (x *UpdateStockpileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStockpileRequest) Reset()
- func (x *UpdateStockpileRequest) Size() (n int)
- func (x *UpdateStockpileRequest) String() string
- type UpdateStockpileResult
- func (p *UpdateStockpileResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UpdateStockpileResult) FastWrite(buf []byte) (n int)
- func (p *UpdateStockpileResult) GetResult() interface{}
- func (p *UpdateStockpileResult) GetSuccess() *Empty
- func (p *UpdateStockpileResult) IsSetSuccess() bool
- func (p *UpdateStockpileResult) Marshal(out []byte) ([]byte, error)
- func (p *UpdateStockpileResult) SetSuccess(x interface{})
- func (p *UpdateStockpileResult) Size() (n int)
- func (p *UpdateStockpileResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( PaymentState_name = map[int32]string{ 0: "WAITING", 1: "CANCEL", 2: "PAYED", 3: "TIMEOUT", 4: "NOT_SUPPORT", } PaymentState_value = map[string]int32{ "WAITING": 0, "CANCEL": 1, "PAYED": 2, "TIMEOUT": 3, "NOT_SUPPORT": 4, } )
Enum value maps for PaymentState.
var ( UpdatePaymentStateAliasResult_Success_DEFAULT *Empty ExecuteSettlementArgs_Req_DEFAULT *ExecuteSettlementRequest ExecuteSettlementResult_Success_DEFAULT *ExecuteSettlementResponse UpdatePaymentStateArgs_Req_DEFAULT *UpdatePaymentStateRequest UpdatePaymentStateResult_Success_DEFAULT *Empty UpdatePaymentStateAliasArgs_Req_DEFAULT *UpdatePaymentStateAlias )
var ( DeliveredStatus_name = map[int32]string{ 0: "DECREASE", 1: "INCREASE", 2: "FROZEN", 3: "THAWED", } DeliveredStatus_value = map[string]int32{ "DECREASE": 0, "INCREASE": 1, "FROZEN": 2, "THAWED": 3, } )
Enum value maps for DeliveredStatus.
var ( QueryStockpileResult_Success_DEFAULT *QueryStockpileResponse GetAllAdvertisementsArgs_Req_DEFAULT *Empty GetAllAdvertisementsResult_Success_DEFAULT *GetAllAdvertisementsResponse GetProductResult_Success_DEFAULT *GetProductResponse GetAllProductsResult_Success_DEFAULT *GetAllProductResponse CreateProductResult_Success_DEFAULT *Empty SetDeliveredStatusResult_Success_DEFAULT *Empty GetAllProductsArgs_Req_DEFAULT *Empty GetProductArgs_Req_DEFAULT *GetProductRequest CreateProductArgs_Req_DEFAULT *ChangeProductRequest QueryStockpileArgs_Req_DEFAULT *QueryStockpileRequest SetDeliveredStatusArgs_Req_DEFAULT *SetDeliveredStatusRequest RemoveProductResult_Success_DEFAULT *Empty UpdateStockpileResult_Success_DEFAULT *Empty UpdateProductResult_Success_DEFAULT *Empty UpdateProductArgs_Req_DEFAULT *ChangeProductRequest RemoveProductArgs_Req_DEFAULT *RemoveProductRequest UpdateStockpileArgs_Req_DEFAULT *UpdateStockpileRequest )
var File_idl_warehouse_proto protoreflect.FileDescriptor
var File_payment_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` Password string `thrift:"password,3" frugal:"3,default,string" json:"password"` Name string `thrift:"name,4" frugal:"4,default,string" json:"name"` Avatar string `thrift:"avatar,5" frugal:"5,default,string" json:"avatar"` Telephone string `thrift:"telephone,6" frugal:"6,default,string" json:"telephone"` Email string `thrift:"email,7" frugal:"7,default,string" json:"email"` Location string `thrift:"location,8" frugal:"8,default,string" json:"location"` }
var ChangeAccountRequest_Account_DEFAULT *Account
var GetAccountResponse_Account_DEFAULT *Account
func NewAccount ¶
func NewAccount() *Account
func (*Account) FastWriteNocopy ¶
func (p *Account) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Account) Field1DeepEqual ¶
func (*Account) Field2DeepEqual ¶
func (*Account) Field3DeepEqual ¶
func (*Account) Field4DeepEqual ¶
func (*Account) Field5DeepEqual ¶
func (*Account) Field6DeepEqual ¶
func (*Account) Field7DeepEqual ¶
func (*Account) Field8DeepEqual ¶
func (*Account) GetLocation ¶
func (*Account) GetPassword ¶
func (*Account) GetTelephone ¶
func (*Account) GetUsername ¶
func (*Account) InitDefault ¶
func (p *Account) InitDefault()
func (*Account) SetLocation ¶
func (*Account) SetPassword ¶
func (*Account) SetTelephone ¶
func (*Account) SetUsername ¶
type Advertisement ¶
type Advertisement struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` // contains filtered or unexported fields }
Advertisement 广告对象模型
func (*Advertisement) Descriptor
deprecated
func (*Advertisement) Descriptor() ([]byte, []int)
Deprecated: Use Advertisement.ProtoReflect.Descriptor instead.
func (*Advertisement) FastWrite ¶
func (x *Advertisement) FastWrite(buf []byte) (offset int)
func (*Advertisement) GetImage ¶
func (x *Advertisement) GetImage() string
func (*Advertisement) GetProductId ¶
func (x *Advertisement) GetProductId() int64
func (*Advertisement) ProtoMessage ¶
func (*Advertisement) ProtoMessage()
func (*Advertisement) ProtoReflect ¶
func (x *Advertisement) ProtoReflect() protoreflect.Message
func (*Advertisement) Reset ¶
func (x *Advertisement) Reset()
func (*Advertisement) Size ¶
func (x *Advertisement) Size() (n int)
func (*Advertisement) String ¶
func (x *Advertisement) String() string
type ChangeAccountArgs ¶
type ChangeAccountArgs struct {
Account *ChangeAccountRequest `thrift:"account,1" frugal:"1,default,ChangeAccountRequest" json:"account"`
}
func NewAccountChangeAccountArgs ¶
func NewAccountChangeAccountArgs() *ChangeAccountArgs
func (*ChangeAccountArgs) BLength ¶
func (p *ChangeAccountArgs) BLength() int
func (*ChangeAccountArgs) DeepEqual ¶
func (p *ChangeAccountArgs) DeepEqual(ano *ChangeAccountArgs) bool
func (*ChangeAccountArgs) FastReadField1 ¶
func (p *ChangeAccountArgs) FastReadField1(buf []byte) (int, error)
func (*ChangeAccountArgs) FastWrite ¶
func (p *ChangeAccountArgs) FastWrite(buf []byte) int
for compatibility
func (*ChangeAccountArgs) FastWriteNocopy ¶
func (p *ChangeAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAccountArgs) Field1DeepEqual ¶
func (p *ChangeAccountArgs) Field1DeepEqual(src *ChangeAccountRequest) bool
func (*ChangeAccountArgs) GetAccount ¶
func (p *ChangeAccountArgs) GetAccount() (v *ChangeAccountRequest)
func (*ChangeAccountArgs) GetFirstArgument ¶
func (p *ChangeAccountArgs) GetFirstArgument() interface{}
func (*ChangeAccountArgs) InitDefault ¶
func (p *ChangeAccountArgs) InitDefault()
func (*ChangeAccountArgs) IsSetAccount ¶
func (p *ChangeAccountArgs) IsSetAccount() bool
func (*ChangeAccountArgs) Read ¶
func (p *ChangeAccountArgs) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAccountArgs) ReadField1 ¶
func (p *ChangeAccountArgs) ReadField1(iprot thrift.TProtocol) error
func (*ChangeAccountArgs) SetAccount ¶
func (p *ChangeAccountArgs) SetAccount(val *ChangeAccountRequest)
func (*ChangeAccountArgs) String ¶
func (p *ChangeAccountArgs) String() string
type ChangeAccountRequest ¶
type ChangeAccountRequest struct {
Account *Account `thrift:"account,1" frugal:"1,default,Account" json:"account"`
}
var AccountChangeAccountArgs_Account_DEFAULT *ChangeAccountRequest
func NewChangeAccountRequest ¶
func NewChangeAccountRequest() *ChangeAccountRequest
func (*ChangeAccountRequest) BLength ¶
func (p *ChangeAccountRequest) BLength() int
func (*ChangeAccountRequest) DeepEqual ¶
func (p *ChangeAccountRequest) DeepEqual(ano *ChangeAccountRequest) bool
func (*ChangeAccountRequest) FastRead ¶
func (p *ChangeAccountRequest) FastRead(buf []byte) (int, error)
func (*ChangeAccountRequest) FastReadField1 ¶
func (p *ChangeAccountRequest) FastReadField1(buf []byte) (int, error)
func (*ChangeAccountRequest) FastWrite ¶
func (p *ChangeAccountRequest) FastWrite(buf []byte) int
for compatibility
func (*ChangeAccountRequest) FastWriteNocopy ¶
func (p *ChangeAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAccountRequest) Field1DeepEqual ¶
func (p *ChangeAccountRequest) Field1DeepEqual(src *Account) bool
func (*ChangeAccountRequest) GetAccount ¶
func (p *ChangeAccountRequest) GetAccount() (v *Account)
func (*ChangeAccountRequest) InitDefault ¶
func (p *ChangeAccountRequest) InitDefault()
func (*ChangeAccountRequest) IsSetAccount ¶
func (p *ChangeAccountRequest) IsSetAccount() bool
func (*ChangeAccountRequest) Read ¶
func (p *ChangeAccountRequest) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAccountRequest) ReadField1 ¶
func (p *ChangeAccountRequest) ReadField1(iprot thrift.TProtocol) error
func (*ChangeAccountRequest) SetAccount ¶
func (p *ChangeAccountRequest) SetAccount(val *Account)
func (*ChangeAccountRequest) String ¶
func (p *ChangeAccountRequest) String() string
type ChangeAccountResponse ¶
type ChangeAccountResponse struct { }
var AccountChangeAccountResult_Success_DEFAULT *ChangeAccountResponse
func NewChangeAccountResponse ¶
func NewChangeAccountResponse() *ChangeAccountResponse
func (*ChangeAccountResponse) BLength ¶
func (p *ChangeAccountResponse) BLength() int
func (*ChangeAccountResponse) DeepEqual ¶
func (p *ChangeAccountResponse) DeepEqual(ano *ChangeAccountResponse) bool
func (*ChangeAccountResponse) FastRead ¶
func (p *ChangeAccountResponse) FastRead(buf []byte) (int, error)
func (*ChangeAccountResponse) FastWrite ¶
func (p *ChangeAccountResponse) FastWrite(buf []byte) int
for compatibility
func (*ChangeAccountResponse) FastWriteNocopy ¶
func (p *ChangeAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAccountResponse) InitDefault ¶
func (p *ChangeAccountResponse) InitDefault()
func (*ChangeAccountResponse) Read ¶
func (p *ChangeAccountResponse) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAccountResponse) String ¶
func (p *ChangeAccountResponse) String() string
type ChangeAccountResult ¶
type ChangeAccountResult struct {
Success *ChangeAccountResponse `thrift:"success,0,optional" frugal:"0,optional,ChangeAccountResponse" json:"success,omitempty"`
}
func NewAccountChangeAccountResult ¶
func NewAccountChangeAccountResult() *ChangeAccountResult
func (*ChangeAccountResult) BLength ¶
func (p *ChangeAccountResult) BLength() int
func (*ChangeAccountResult) DeepEqual ¶
func (p *ChangeAccountResult) DeepEqual(ano *ChangeAccountResult) bool
func (*ChangeAccountResult) FastRead ¶
func (p *ChangeAccountResult) FastRead(buf []byte) (int, error)
func (*ChangeAccountResult) FastReadField0 ¶
func (p *ChangeAccountResult) FastReadField0(buf []byte) (int, error)
func (*ChangeAccountResult) FastWrite ¶
func (p *ChangeAccountResult) FastWrite(buf []byte) int
for compatibility
func (*ChangeAccountResult) FastWriteNocopy ¶
func (p *ChangeAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ChangeAccountResult) Field0DeepEqual ¶
func (p *ChangeAccountResult) Field0DeepEqual(src *ChangeAccountResponse) bool
func (*ChangeAccountResult) GetResult ¶
func (p *ChangeAccountResult) GetResult() interface{}
func (*ChangeAccountResult) GetSuccess ¶
func (p *ChangeAccountResult) GetSuccess() (v *ChangeAccountResponse)
func (*ChangeAccountResult) InitDefault ¶
func (p *ChangeAccountResult) InitDefault()
func (*ChangeAccountResult) IsSetSuccess ¶
func (p *ChangeAccountResult) IsSetSuccess() bool
func (*ChangeAccountResult) Read ¶
func (p *ChangeAccountResult) Read(iprot thrift.TProtocol) (err error)
func (*ChangeAccountResult) ReadField0 ¶
func (p *ChangeAccountResult) ReadField0(iprot thrift.TProtocol) error
func (*ChangeAccountResult) SetSuccess ¶
func (p *ChangeAccountResult) SetSuccess(x interface{})
func (*ChangeAccountResult) String ¶
func (p *ChangeAccountResult) String() string
type ChangeProductRequest ¶
type ChangeProductRequest struct { Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
func (*ChangeProductRequest) Descriptor
deprecated
func (*ChangeProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeProductRequest.ProtoReflect.Descriptor instead.
func (*ChangeProductRequest) FastWrite ¶
func (x *ChangeProductRequest) FastWrite(buf []byte) (offset int)
func (*ChangeProductRequest) GetProduct ¶
func (x *ChangeProductRequest) GetProduct() *Product
func (*ChangeProductRequest) ProtoMessage ¶
func (*ChangeProductRequest) ProtoMessage()
func (*ChangeProductRequest) ProtoReflect ¶
func (x *ChangeProductRequest) ProtoReflect() protoreflect.Message
func (*ChangeProductRequest) Reset ¶
func (x *ChangeProductRequest) Reset()
func (*ChangeProductRequest) Size ¶
func (x *ChangeProductRequest) Size() (n int)
func (*ChangeProductRequest) String ¶
func (x *ChangeProductRequest) String() string
type CreateProductArgs ¶
type CreateProductArgs struct {
Req *ChangeProductRequest
}
func (*CreateProductArgs) FastWrite ¶
func (p *CreateProductArgs) FastWrite(buf []byte) (n int)
func (*CreateProductArgs) GetFirstArgument ¶
func (p *CreateProductArgs) GetFirstArgument() interface{}
func (*CreateProductArgs) GetReq ¶
func (p *CreateProductArgs) GetReq() *ChangeProductRequest
func (*CreateProductArgs) IsSetReq ¶
func (p *CreateProductArgs) IsSetReq() bool
func (*CreateProductArgs) Size ¶
func (p *CreateProductArgs) Size() (n int)
func (*CreateProductArgs) Unmarshal ¶
func (p *CreateProductArgs) Unmarshal(in []byte) error
type CreateProductResult ¶
type CreateProductResult struct {
Success *Empty
}
func (*CreateProductResult) FastWrite ¶
func (p *CreateProductResult) FastWrite(buf []byte) (n int)
func (*CreateProductResult) GetResult ¶
func (p *CreateProductResult) GetResult() interface{}
func (*CreateProductResult) GetSuccess ¶
func (p *CreateProductResult) GetSuccess() *Empty
func (*CreateProductResult) IsSetSuccess ¶
func (p *CreateProductResult) IsSetSuccess() bool
func (*CreateProductResult) Marshal ¶
func (p *CreateProductResult) Marshal(out []byte) ([]byte, error)
func (*CreateProductResult) SetSuccess ¶
func (p *CreateProductResult) SetSuccess(x interface{})
func (*CreateProductResult) Size ¶
func (p *CreateProductResult) Size() (n int)
func (*CreateProductResult) Unmarshal ¶
func (p *CreateProductResult) Unmarshal(in []byte) error
type DeliveredStatus ¶
type DeliveredStatus int32
DeliveredStatus 待交付商品的状态
const ( DeliveredStatus_DECREASE DeliveredStatus = 0 DeliveredStatus_INCREASE DeliveredStatus = 1 DeliveredStatus_FROZEN DeliveredStatus = 2 DeliveredStatus_THAWED DeliveredStatus = 3 )
func (DeliveredStatus) Descriptor ¶
func (DeliveredStatus) Descriptor() protoreflect.EnumDescriptor
func (DeliveredStatus) Enum ¶
func (x DeliveredStatus) Enum() *DeliveredStatus
func (DeliveredStatus) EnumDescriptor
deprecated
func (DeliveredStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeliveredStatus.Descriptor instead.
func (DeliveredStatus) Number ¶
func (x DeliveredStatus) Number() protoreflect.EnumNumber
func (DeliveredStatus) String ¶
func (x DeliveredStatus) String() string
func (DeliveredStatus) Type ¶
func (DeliveredStatus) Type() protoreflect.EnumType
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type ExecuteSettlementArgs ¶
type ExecuteSettlementArgs struct {
Req *ExecuteSettlementRequest
}
func (*ExecuteSettlementArgs) FastWrite ¶
func (p *ExecuteSettlementArgs) FastWrite(buf []byte) (n int)
func (*ExecuteSettlementArgs) GetFirstArgument ¶
func (p *ExecuteSettlementArgs) GetFirstArgument() interface{}
func (*ExecuteSettlementArgs) GetReq ¶
func (p *ExecuteSettlementArgs) GetReq() *ExecuteSettlementRequest
func (*ExecuteSettlementArgs) IsSetReq ¶
func (p *ExecuteSettlementArgs) IsSetReq() bool
func (*ExecuteSettlementArgs) Marshal ¶
func (p *ExecuteSettlementArgs) Marshal(out []byte) ([]byte, error)
func (*ExecuteSettlementArgs) Size ¶
func (p *ExecuteSettlementArgs) Size() (n int)
func (*ExecuteSettlementArgs) Unmarshal ¶
func (p *ExecuteSettlementArgs) Unmarshal(in []byte) error
type ExecuteSettlementRequest ¶
type ExecuteSettlementRequest struct { Settlement *Settlement `protobuf:"bytes,1,opt,name=settlement,proto3" json:"settlement,omitempty"` // contains filtered or unexported fields }
func (*ExecuteSettlementRequest) Descriptor
deprecated
func (*ExecuteSettlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSettlementRequest.ProtoReflect.Descriptor instead.
func (*ExecuteSettlementRequest) FastWrite ¶
func (x *ExecuteSettlementRequest) FastWrite(buf []byte) (offset int)
func (*ExecuteSettlementRequest) GetSettlement ¶
func (x *ExecuteSettlementRequest) GetSettlement() *Settlement
func (*ExecuteSettlementRequest) ProtoMessage ¶
func (*ExecuteSettlementRequest) ProtoMessage()
func (*ExecuteSettlementRequest) ProtoReflect ¶
func (x *ExecuteSettlementRequest) ProtoReflect() protoreflect.Message
func (*ExecuteSettlementRequest) Reset ¶
func (x *ExecuteSettlementRequest) Reset()
func (*ExecuteSettlementRequest) Size ¶
func (x *ExecuteSettlementRequest) Size() (n int)
func (*ExecuteSettlementRequest) String ¶
func (x *ExecuteSettlementRequest) String() string
type ExecuteSettlementResponse ¶
type ExecuteSettlementResponse struct { Payment *Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"` // contains filtered or unexported fields }
func (*ExecuteSettlementResponse) Descriptor
deprecated
func (*ExecuteSettlementResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSettlementResponse.ProtoReflect.Descriptor instead.
func (*ExecuteSettlementResponse) FastWrite ¶
func (x *ExecuteSettlementResponse) FastWrite(buf []byte) (offset int)
func (*ExecuteSettlementResponse) GetPayment ¶
func (x *ExecuteSettlementResponse) GetPayment() *Payment
func (*ExecuteSettlementResponse) ProtoMessage ¶
func (*ExecuteSettlementResponse) ProtoMessage()
func (*ExecuteSettlementResponse) ProtoReflect ¶
func (x *ExecuteSettlementResponse) ProtoReflect() protoreflect.Message
func (*ExecuteSettlementResponse) Reset ¶
func (x *ExecuteSettlementResponse) Reset()
func (*ExecuteSettlementResponse) Size ¶
func (x *ExecuteSettlementResponse) Size() (n int)
func (*ExecuteSettlementResponse) String ¶
func (x *ExecuteSettlementResponse) String() string
type ExecuteSettlementResult ¶
type ExecuteSettlementResult struct {
Success *ExecuteSettlementResponse
}
func (*ExecuteSettlementResult) FastWrite ¶
func (p *ExecuteSettlementResult) FastWrite(buf []byte) (n int)
func (*ExecuteSettlementResult) GetResult ¶
func (p *ExecuteSettlementResult) GetResult() interface{}
func (*ExecuteSettlementResult) GetSuccess ¶
func (p *ExecuteSettlementResult) GetSuccess() *ExecuteSettlementResponse
func (*ExecuteSettlementResult) IsSetSuccess ¶
func (p *ExecuteSettlementResult) IsSetSuccess() bool
func (*ExecuteSettlementResult) Marshal ¶
func (p *ExecuteSettlementResult) Marshal(out []byte) ([]byte, error)
func (*ExecuteSettlementResult) SetSuccess ¶
func (p *ExecuteSettlementResult) SetSuccess(x interface{})
func (*ExecuteSettlementResult) Size ¶
func (p *ExecuteSettlementResult) Size() (n int)
func (*ExecuteSettlementResult) Unmarshal ¶
func (p *ExecuteSettlementResult) Unmarshal(in []byte) error
type GetAccountArgs ¶
type GetAccountArgs struct {
Username *GetAccountRequest `thrift:"usernmae,1" frugal:"1,default,GetAccountRequest" json:"username"`
}
func NewGetAccountArgs ¶
func NewGetAccountArgs() *GetAccountArgs
func (*GetAccountArgs) BLength ¶
func (p *GetAccountArgs) BLength() int
func (*GetAccountArgs) DeepEqual ¶
func (p *GetAccountArgs) DeepEqual(ano *GetAccountArgs) bool
func (*GetAccountArgs) FastReadField1 ¶
func (p *GetAccountArgs) FastReadField1(buf []byte) (int, error)
func (*GetAccountArgs) FastWrite ¶
func (p *GetAccountArgs) FastWrite(buf []byte) int
for compatibility
func (*GetAccountArgs) FastWriteNocopy ¶
func (p *GetAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAccountArgs) Field1DeepEqual ¶
func (p *GetAccountArgs) Field1DeepEqual(src *GetAccountRequest) bool
func (*GetAccountArgs) GetFirstArgument ¶
func (p *GetAccountArgs) GetFirstArgument() interface{}
func (*GetAccountArgs) GetUsernmae ¶
func (p *GetAccountArgs) GetUsernmae() (v *GetAccountRequest)
func (*GetAccountArgs) InitDefault ¶
func (p *GetAccountArgs) InitDefault()
func (*GetAccountArgs) IsSetUsernmae ¶
func (p *GetAccountArgs) IsSetUsernmae() bool
func (*GetAccountArgs) ReadField1 ¶
func (p *GetAccountArgs) ReadField1(iprot thrift.TProtocol) error
func (*GetAccountArgs) SetUsernmae ¶
func (p *GetAccountArgs) SetUsernmae(val *GetAccountRequest)
func (*GetAccountArgs) String ¶
func (p *GetAccountArgs) String() string
type GetAccountRequest ¶
type GetAccountRequest struct {
Username string `thrift:"username,1" frugal:"1,default,string" json:"username"`
}
var GetAccountArgs_Usernmae_DEFAULT *GetAccountRequest
func NewGetAccountRequest ¶
func NewGetAccountRequest() *GetAccountRequest
func (*GetAccountRequest) BLength ¶
func (p *GetAccountRequest) BLength() int
func (*GetAccountRequest) DeepEqual ¶
func (p *GetAccountRequest) DeepEqual(ano *GetAccountRequest) bool
func (*GetAccountRequest) FastReadField1 ¶
func (p *GetAccountRequest) FastReadField1(buf []byte) (int, error)
func (*GetAccountRequest) FastWrite ¶
func (p *GetAccountRequest) FastWrite(buf []byte) int
for compatibility
func (*GetAccountRequest) FastWriteNocopy ¶
func (p *GetAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAccountRequest) Field1DeepEqual ¶
func (p *GetAccountRequest) Field1DeepEqual(src string) bool
func (*GetAccountRequest) GetUsername ¶
func (p *GetAccountRequest) GetUsername() (v string)
func (*GetAccountRequest) InitDefault ¶
func (p *GetAccountRequest) InitDefault()
func (*GetAccountRequest) Read ¶
func (p *GetAccountRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetAccountRequest) ReadField1 ¶
func (p *GetAccountRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetAccountRequest) SetUsername ¶
func (p *GetAccountRequest) SetUsername(val string)
func (*GetAccountRequest) String ¶
func (p *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct {
Account *Account `thrift:"account,1" frugal:"1,default,Account" json:"account"`
}
var AccountApiGetAccountResult_Success_DEFAULT *GetAccountResponse
func NewGetAccountResponse ¶
func NewGetAccountResponse() *GetAccountResponse
func (*GetAccountResponse) BLength ¶
func (p *GetAccountResponse) BLength() int
func (*GetAccountResponse) DeepEqual ¶
func (p *GetAccountResponse) DeepEqual(ano *GetAccountResponse) bool
func (*GetAccountResponse) FastRead ¶
func (p *GetAccountResponse) FastRead(buf []byte) (int, error)
func (*GetAccountResponse) FastReadField1 ¶
func (p *GetAccountResponse) FastReadField1(buf []byte) (int, error)
func (*GetAccountResponse) FastWrite ¶
func (p *GetAccountResponse) FastWrite(buf []byte) int
for compatibility
func (*GetAccountResponse) FastWriteNocopy ¶
func (p *GetAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAccountResponse) Field1DeepEqual ¶
func (p *GetAccountResponse) Field1DeepEqual(src *Account) bool
func (*GetAccountResponse) GetAccount ¶
func (p *GetAccountResponse) GetAccount() (v *Account)
func (*GetAccountResponse) InitDefault ¶
func (p *GetAccountResponse) InitDefault()
func (*GetAccountResponse) IsSetAccount ¶
func (p *GetAccountResponse) IsSetAccount() bool
func (*GetAccountResponse) Read ¶
func (p *GetAccountResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetAccountResponse) ReadField1 ¶
func (p *GetAccountResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetAccountResponse) SetAccount ¶
func (p *GetAccountResponse) SetAccount(val *Account)
func (*GetAccountResponse) String ¶
func (p *GetAccountResponse) String() string
type GetAccountResult ¶
type GetAccountResult struct {
Success *GetAccountResponse `thrift:"success,0,optional" frugal:"0,optional,GetAccountResponse" json:"success,omitempty"`
}
func NewGetAccountResult ¶
func NewGetAccountResult() *GetAccountResult
func (*GetAccountResult) BLength ¶
func (p *GetAccountResult) BLength() int
func (*GetAccountResult) DeepEqual ¶
func (p *GetAccountResult) DeepEqual(ano *GetAccountResult) bool
func (*GetAccountResult) FastReadField0 ¶
func (p *GetAccountResult) FastReadField0(buf []byte) (int, error)
func (*GetAccountResult) FastWrite ¶
func (p *GetAccountResult) FastWrite(buf []byte) int
for compatibility
func (*GetAccountResult) FastWriteNocopy ¶
func (p *GetAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAccountResult) Field0DeepEqual ¶
func (p *GetAccountResult) Field0DeepEqual(src *GetAccountResponse) bool
func (*GetAccountResult) GetResult ¶
func (p *GetAccountResult) GetResult() interface{}
func (*GetAccountResult) GetSuccess ¶
func (p *GetAccountResult) GetSuccess() (v *GetAccountResponse)
func (*GetAccountResult) InitDefault ¶
func (p *GetAccountResult) InitDefault()
func (*GetAccountResult) IsSetSuccess ¶
func (p *GetAccountResult) IsSetSuccess() bool
func (*GetAccountResult) ReadField0 ¶
func (p *GetAccountResult) ReadField0(iprot thrift.TProtocol) error
func (*GetAccountResult) SetSuccess ¶
func (p *GetAccountResult) SetSuccess(x interface{})
func (*GetAccountResult) String ¶
func (p *GetAccountResult) String() string
type GetAllAdvertisementsArgs ¶
type GetAllAdvertisementsArgs struct {
Req *Empty
}
func (*GetAllAdvertisementsArgs) FastWrite ¶
func (p *GetAllAdvertisementsArgs) FastWrite(buf []byte) (n int)
func (*GetAllAdvertisementsArgs) GetFirstArgument ¶
func (p *GetAllAdvertisementsArgs) GetFirstArgument() interface{}
func (*GetAllAdvertisementsArgs) GetReq ¶
func (p *GetAllAdvertisementsArgs) GetReq() *Empty
func (*GetAllAdvertisementsArgs) IsSetReq ¶
func (p *GetAllAdvertisementsArgs) IsSetReq() bool
func (*GetAllAdvertisementsArgs) Marshal ¶
func (p *GetAllAdvertisementsArgs) Marshal(out []byte) ([]byte, error)
func (*GetAllAdvertisementsArgs) Size ¶
func (p *GetAllAdvertisementsArgs) Size() (n int)
func (*GetAllAdvertisementsArgs) Unmarshal ¶
func (p *GetAllAdvertisementsArgs) Unmarshal(in []byte) error
type GetAllAdvertisementsResponse ¶
type GetAllAdvertisementsResponse struct { Advertisements []*Advertisement `protobuf:"bytes,1,rep,name=advertisements,proto3" json:"advertisements,omitempty"` // contains filtered or unexported fields }
func (*GetAllAdvertisementsResponse) Descriptor
deprecated
func (*GetAllAdvertisementsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAdvertisementsResponse.ProtoReflect.Descriptor instead.
func (*GetAllAdvertisementsResponse) FastWrite ¶
func (x *GetAllAdvertisementsResponse) FastWrite(buf []byte) (offset int)
func (*GetAllAdvertisementsResponse) GetAdvertisements ¶
func (x *GetAllAdvertisementsResponse) GetAdvertisements() []*Advertisement
func (*GetAllAdvertisementsResponse) ProtoMessage ¶
func (*GetAllAdvertisementsResponse) ProtoMessage()
func (*GetAllAdvertisementsResponse) ProtoReflect ¶
func (x *GetAllAdvertisementsResponse) ProtoReflect() protoreflect.Message
func (*GetAllAdvertisementsResponse) Reset ¶
func (x *GetAllAdvertisementsResponse) Reset()
func (*GetAllAdvertisementsResponse) Size ¶
func (x *GetAllAdvertisementsResponse) Size() (n int)
func (*GetAllAdvertisementsResponse) String ¶
func (x *GetAllAdvertisementsResponse) String() string
type GetAllAdvertisementsResult ¶
type GetAllAdvertisementsResult struct {
Success *GetAllAdvertisementsResponse
}
func (*GetAllAdvertisementsResult) FastWrite ¶
func (p *GetAllAdvertisementsResult) FastWrite(buf []byte) (n int)
func (*GetAllAdvertisementsResult) GetResult ¶
func (p *GetAllAdvertisementsResult) GetResult() interface{}
func (*GetAllAdvertisementsResult) GetSuccess ¶
func (p *GetAllAdvertisementsResult) GetSuccess() *GetAllAdvertisementsResponse
func (*GetAllAdvertisementsResult) IsSetSuccess ¶
func (p *GetAllAdvertisementsResult) IsSetSuccess() bool
func (*GetAllAdvertisementsResult) Marshal ¶
func (p *GetAllAdvertisementsResult) Marshal(out []byte) ([]byte, error)
func (*GetAllAdvertisementsResult) SetSuccess ¶
func (p *GetAllAdvertisementsResult) SetSuccess(x interface{})
func (*GetAllAdvertisementsResult) Size ¶
func (p *GetAllAdvertisementsResult) Size() (n int)
func (*GetAllAdvertisementsResult) Unmarshal ¶
func (p *GetAllAdvertisementsResult) Unmarshal(in []byte) error
type GetAllProductResponse ¶
type GetAllProductResponse struct { Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` // contains filtered or unexported fields }
func (*GetAllProductResponse) Descriptor
deprecated
func (*GetAllProductResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllProductResponse.ProtoReflect.Descriptor instead.
func (*GetAllProductResponse) FastWrite ¶
func (x *GetAllProductResponse) FastWrite(buf []byte) (offset int)
func (*GetAllProductResponse) GetProducts ¶
func (x *GetAllProductResponse) GetProducts() []*Product
func (*GetAllProductResponse) ProtoMessage ¶
func (*GetAllProductResponse) ProtoMessage()
func (*GetAllProductResponse) ProtoReflect ¶
func (x *GetAllProductResponse) ProtoReflect() protoreflect.Message
func (*GetAllProductResponse) Reset ¶
func (x *GetAllProductResponse) Reset()
func (*GetAllProductResponse) Size ¶
func (x *GetAllProductResponse) Size() (n int)
func (*GetAllProductResponse) String ¶
func (x *GetAllProductResponse) String() string
type GetAllProductsArgs ¶
type GetAllProductsArgs struct {
Req *Empty
}
func (*GetAllProductsArgs) FastWrite ¶
func (p *GetAllProductsArgs) FastWrite(buf []byte) (n int)
func (*GetAllProductsArgs) GetFirstArgument ¶
func (p *GetAllProductsArgs) GetFirstArgument() interface{}
func (*GetAllProductsArgs) GetReq ¶
func (p *GetAllProductsArgs) GetReq() *Empty
func (*GetAllProductsArgs) IsSetReq ¶
func (p *GetAllProductsArgs) IsSetReq() bool
func (*GetAllProductsArgs) Marshal ¶
func (p *GetAllProductsArgs) Marshal(out []byte) ([]byte, error)
func (*GetAllProductsArgs) Size ¶
func (p *GetAllProductsArgs) Size() (n int)
func (*GetAllProductsArgs) Unmarshal ¶
func (p *GetAllProductsArgs) Unmarshal(in []byte) error
type GetAllProductsResult ¶
type GetAllProductsResult struct {
Success *GetAllProductResponse
}
func (*GetAllProductsResult) FastWrite ¶
func (p *GetAllProductsResult) FastWrite(buf []byte) (n int)
func (*GetAllProductsResult) GetResult ¶
func (p *GetAllProductsResult) GetResult() interface{}
func (*GetAllProductsResult) GetSuccess ¶
func (p *GetAllProductsResult) GetSuccess() *GetAllProductResponse
func (*GetAllProductsResult) IsSetSuccess ¶
func (p *GetAllProductsResult) IsSetSuccess() bool
func (*GetAllProductsResult) Marshal ¶
func (p *GetAllProductsResult) Marshal(out []byte) ([]byte, error)
func (*GetAllProductsResult) SetSuccess ¶
func (p *GetAllProductsResult) SetSuccess(x interface{})
func (*GetAllProductsResult) Size ¶
func (p *GetAllProductsResult) Size() (n int)
func (*GetAllProductsResult) Unmarshal ¶
func (p *GetAllProductsResult) Unmarshal(in []byte) error
type GetProductArgs ¶
type GetProductArgs struct {
Req *GetProductRequest
}
func (*GetProductArgs) FastWrite ¶
func (p *GetProductArgs) FastWrite(buf []byte) (n int)
func (*GetProductArgs) GetFirstArgument ¶
func (p *GetProductArgs) GetFirstArgument() interface{}
func (*GetProductArgs) GetReq ¶
func (p *GetProductArgs) GetReq() *GetProductRequest
func (*GetProductArgs) IsSetReq ¶
func (p *GetProductArgs) IsSetReq() bool
func (*GetProductArgs) Size ¶
func (p *GetProductArgs) Size() (n int)
func (*GetProductArgs) Unmarshal ¶
func (p *GetProductArgs) Unmarshal(in []byte) error
type GetProductRequest ¶
type GetProductRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProductRequest) Descriptor
deprecated
func (*GetProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.
func (*GetProductRequest) FastWrite ¶
func (x *GetProductRequest) FastWrite(buf []byte) (offset int)
func (*GetProductRequest) GetId ¶
func (x *GetProductRequest) GetId() int64
func (*GetProductRequest) ProtoMessage ¶
func (*GetProductRequest) ProtoMessage()
func (*GetProductRequest) ProtoReflect ¶
func (x *GetProductRequest) ProtoReflect() protoreflect.Message
func (*GetProductRequest) Reset ¶
func (x *GetProductRequest) Reset()
func (*GetProductRequest) Size ¶
func (x *GetProductRequest) Size() (n int)
func (*GetProductRequest) String ¶
func (x *GetProductRequest) String() string
type GetProductResponse ¶
type GetProductResponse struct { Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
func (*GetProductResponse) Descriptor
deprecated
func (*GetProductResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProductResponse.ProtoReflect.Descriptor instead.
func (*GetProductResponse) FastWrite ¶
func (x *GetProductResponse) FastWrite(buf []byte) (offset int)
func (*GetProductResponse) GetProduct ¶
func (x *GetProductResponse) GetProduct() *Product
func (*GetProductResponse) ProtoMessage ¶
func (*GetProductResponse) ProtoMessage()
func (*GetProductResponse) ProtoReflect ¶
func (x *GetProductResponse) ProtoReflect() protoreflect.Message
func (*GetProductResponse) Reset ¶
func (x *GetProductResponse) Reset()
func (*GetProductResponse) Size ¶
func (x *GetProductResponse) Size() (n int)
func (*GetProductResponse) String ¶
func (x *GetProductResponse) String() string
type GetProductResult ¶
type GetProductResult struct {
Success *GetProductResponse
}
func (*GetProductResult) FastWrite ¶
func (p *GetProductResult) FastWrite(buf []byte) (n int)
func (*GetProductResult) GetResult ¶
func (p *GetProductResult) GetResult() interface{}
func (*GetProductResult) GetSuccess ¶
func (p *GetProductResult) GetSuccess() *GetProductResponse
func (*GetProductResult) IsSetSuccess ¶
func (p *GetProductResult) IsSetSuccess() bool
func (*GetProductResult) SetSuccess ¶
func (p *GetProductResult) SetSuccess(x interface{})
func (*GetProductResult) Size ¶
func (p *GetProductResult) Size() (n int)
func (*GetProductResult) Unmarshal ¶
func (p *GetProductResult) Unmarshal(in []byte) error
type Item ¶
type Item struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetProductId ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Payment ¶
type Payment struct { CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=createTime,proto3" json:"createTime,omitempty"` PayId string `protobuf:"bytes,2,opt,name=payId,proto3" json:"payId,omitempty"` TotalPrice float64 `protobuf:"fixed64,3,opt,name=totalPrice,proto3" json:"totalPrice,omitempty"` Expires int64 `protobuf:"varint,4,opt,name=expires,proto3" json:"expires,omitempty"` PaymentLink string `protobuf:"bytes,5,opt,name=paymentLink,proto3" json:"paymentLink,omitempty"` PayState PaymentState `protobuf:"varint,6,opt,name=payState,proto3,enum=payment.PaymentState" json:"payState,omitempty"` // contains filtered or unexported fields }
func (*Payment) Descriptor
deprecated
func (*Payment) GetCreateTime ¶
func (x *Payment) GetCreateTime() *timestamppb.Timestamp
func (*Payment) GetExpires ¶
func (*Payment) GetPayState ¶
func (x *Payment) GetPayState() PaymentState
func (*Payment) GetPaymentLink ¶
func (*Payment) GetTotalPrice ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
type PaymentState ¶
type PaymentState int32
支付状态
const ( PaymentState_WAITING PaymentState = 0 PaymentState_CANCEL PaymentState = 1 PaymentState_PAYED PaymentState = 2 PaymentState_TIMEOUT PaymentState = 3 PaymentState_NOT_SUPPORT PaymentState = 4 )
func (PaymentState) Descriptor ¶
func (PaymentState) Descriptor() protoreflect.EnumDescriptor
func (PaymentState) Enum ¶
func (x PaymentState) Enum() *PaymentState
func (PaymentState) EnumDescriptor
deprecated
func (PaymentState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PaymentState.Descriptor instead.
func (PaymentState) Number ¶
func (x PaymentState) Number() protoreflect.EnumNumber
func (PaymentState) String ¶
func (x PaymentState) String() string
func (PaymentState) Type ¶
func (PaymentState) Type() protoreflect.EnumType
type Product ¶
type Product struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" valid:"required"` Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty" valid:"required"` Rate float32 `protobuf:"fixed32,3,opt,name=rate,proto3" json:"rate,omitempty" valid:"range(0|10)"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"` Detail string `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"` Specifications []*Specification `protobuf:"bytes,7,rep,name=specifications,proto3" json:"specifications,omitempty"` Id int64 `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Product 商品对象
func (*Product) Descriptor
deprecated
func (*Product) GetDescription ¶
func (*Product) GetSpecifications ¶
func (x *Product) GetSpecifications() []*Specification
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) ProtoReflect ¶
func (x *Product) ProtoReflect() protoreflect.Message
type Purchase ¶
type Purchase struct { Delivery bool `protobuf:"varint,1,opt,name=delivery,proto3" json:"delivery,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Telephone string `protobuf:"bytes,3,opt,name=telephone,proto3" json:"telephone,omitempty"` Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Purchase) Descriptor
deprecated
func (*Purchase) GetDelivery ¶
func (*Purchase) GetLocation ¶
func (*Purchase) GetTelephone ¶
func (*Purchase) ProtoMessage ¶
func (*Purchase) ProtoMessage()
func (*Purchase) ProtoReflect ¶
func (x *Purchase) ProtoReflect() protoreflect.Message
type QueryStockpileArgs ¶
type QueryStockpileArgs struct {
Req *QueryStockpileRequest
}
func (*QueryStockpileArgs) FastWrite ¶
func (p *QueryStockpileArgs) FastWrite(buf []byte) (n int)
func (*QueryStockpileArgs) GetFirstArgument ¶
func (p *QueryStockpileArgs) GetFirstArgument() interface{}
func (*QueryStockpileArgs) GetReq ¶
func (p *QueryStockpileArgs) GetReq() *QueryStockpileRequest
func (*QueryStockpileArgs) IsSetReq ¶
func (p *QueryStockpileArgs) IsSetReq() bool
func (*QueryStockpileArgs) Marshal ¶
func (p *QueryStockpileArgs) Marshal(out []byte) ([]byte, error)
func (*QueryStockpileArgs) Size ¶
func (p *QueryStockpileArgs) Size() (n int)
func (*QueryStockpileArgs) Unmarshal ¶
func (p *QueryStockpileArgs) Unmarshal(in []byte) error
type QueryStockpileRequest ¶
type QueryStockpileRequest struct { ProductId int64 `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"` // contains filtered or unexported fields }
func (*QueryStockpileRequest) Descriptor
deprecated
func (*QueryStockpileRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryStockpileRequest.ProtoReflect.Descriptor instead.
func (*QueryStockpileRequest) FastWrite ¶
func (x *QueryStockpileRequest) FastWrite(buf []byte) (offset int)
func (*QueryStockpileRequest) GetProductId ¶
func (x *QueryStockpileRequest) GetProductId() int64
func (*QueryStockpileRequest) ProtoMessage ¶
func (*QueryStockpileRequest) ProtoMessage()
func (*QueryStockpileRequest) ProtoReflect ¶
func (x *QueryStockpileRequest) ProtoReflect() protoreflect.Message
func (*QueryStockpileRequest) Reset ¶
func (x *QueryStockpileRequest) Reset()
func (*QueryStockpileRequest) Size ¶
func (x *QueryStockpileRequest) Size() (n int)
func (*QueryStockpileRequest) String ¶
func (x *QueryStockpileRequest) String() string
type QueryStockpileResponse ¶
type QueryStockpileResponse struct { Stockpile *Stockpile `protobuf:"bytes,1,opt,name=stockpile,proto3" json:"stockpile,omitempty"` // contains filtered or unexported fields }
func (*QueryStockpileResponse) Descriptor
deprecated
func (*QueryStockpileResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryStockpileResponse.ProtoReflect.Descriptor instead.
func (*QueryStockpileResponse) FastWrite ¶
func (x *QueryStockpileResponse) FastWrite(buf []byte) (offset int)
func (*QueryStockpileResponse) GetStockpile ¶
func (x *QueryStockpileResponse) GetStockpile() *Stockpile
func (*QueryStockpileResponse) ProtoMessage ¶
func (*QueryStockpileResponse) ProtoMessage()
func (*QueryStockpileResponse) ProtoReflect ¶
func (x *QueryStockpileResponse) ProtoReflect() protoreflect.Message
func (*QueryStockpileResponse) Reset ¶
func (x *QueryStockpileResponse) Reset()
func (*QueryStockpileResponse) Size ¶
func (x *QueryStockpileResponse) Size() (n int)
func (*QueryStockpileResponse) String ¶
func (x *QueryStockpileResponse) String() string
type QueryStockpileResult ¶
type QueryStockpileResult struct {
Success *QueryStockpileResponse
}
func (*QueryStockpileResult) FastWrite ¶
func (p *QueryStockpileResult) FastWrite(buf []byte) (n int)
func (*QueryStockpileResult) GetResult ¶
func (p *QueryStockpileResult) GetResult() interface{}
func (*QueryStockpileResult) GetSuccess ¶
func (p *QueryStockpileResult) GetSuccess() *QueryStockpileResponse
func (*QueryStockpileResult) IsSetSuccess ¶
func (p *QueryStockpileResult) IsSetSuccess() bool
func (*QueryStockpileResult) Marshal ¶
func (p *QueryStockpileResult) Marshal(out []byte) ([]byte, error)
func (*QueryStockpileResult) SetSuccess ¶
func (p *QueryStockpileResult) SetSuccess(x interface{})
func (*QueryStockpileResult) Size ¶
func (p *QueryStockpileResult) Size() (n int)
func (*QueryStockpileResult) Unmarshal ¶
func (p *QueryStockpileResult) Unmarshal(in []byte) error
type RemoveProductArgs ¶
type RemoveProductArgs struct {
Req *RemoveProductRequest
}
func (*RemoveProductArgs) FastWrite ¶
func (p *RemoveProductArgs) FastWrite(buf []byte) (n int)
func (*RemoveProductArgs) GetFirstArgument ¶
func (p *RemoveProductArgs) GetFirstArgument() interface{}
func (*RemoveProductArgs) GetReq ¶
func (p *RemoveProductArgs) GetReq() *RemoveProductRequest
func (*RemoveProductArgs) IsSetReq ¶
func (p *RemoveProductArgs) IsSetReq() bool
func (*RemoveProductArgs) Size ¶
func (p *RemoveProductArgs) Size() (n int)
func (*RemoveProductArgs) Unmarshal ¶
func (p *RemoveProductArgs) Unmarshal(in []byte) error
type RemoveProductRequest ¶
type RemoveProductRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveProductRequest) Descriptor
deprecated
func (*RemoveProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveProductRequest.ProtoReflect.Descriptor instead.
func (*RemoveProductRequest) FastWrite ¶
func (x *RemoveProductRequest) FastWrite(buf []byte) (offset int)
func (*RemoveProductRequest) GetId ¶
func (x *RemoveProductRequest) GetId() int64
func (*RemoveProductRequest) ProtoMessage ¶
func (*RemoveProductRequest) ProtoMessage()
func (*RemoveProductRequest) ProtoReflect ¶
func (x *RemoveProductRequest) ProtoReflect() protoreflect.Message
func (*RemoveProductRequest) Reset ¶
func (x *RemoveProductRequest) Reset()
func (*RemoveProductRequest) Size ¶
func (x *RemoveProductRequest) Size() (n int)
func (*RemoveProductRequest) String ¶
func (x *RemoveProductRequest) String() string
type RemoveProductResult ¶
type RemoveProductResult struct {
Success *Empty
}
func (*RemoveProductResult) FastWrite ¶
func (p *RemoveProductResult) FastWrite(buf []byte) (n int)
func (*RemoveProductResult) GetResult ¶
func (p *RemoveProductResult) GetResult() interface{}
func (*RemoveProductResult) GetSuccess ¶
func (p *RemoveProductResult) GetSuccess() *Empty
func (*RemoveProductResult) IsSetSuccess ¶
func (p *RemoveProductResult) IsSetSuccess() bool
func (*RemoveProductResult) Marshal ¶
func (p *RemoveProductResult) Marshal(out []byte) ([]byte, error)
func (*RemoveProductResult) SetSuccess ¶
func (p *RemoveProductResult) SetSuccess(x interface{})
func (*RemoveProductResult) Size ¶
func (p *RemoveProductResult) Size() (n int)
func (*RemoveProductResult) Unmarshal ¶
func (p *RemoveProductResult) Unmarshal(in []byte) error
type SetDeliveredStatusArgs ¶
type SetDeliveredStatusArgs struct {
Req *SetDeliveredStatusRequest
}
func (*SetDeliveredStatusArgs) FastWrite ¶
func (p *SetDeliveredStatusArgs) FastWrite(buf []byte) (n int)
func (*SetDeliveredStatusArgs) GetFirstArgument ¶
func (p *SetDeliveredStatusArgs) GetFirstArgument() interface{}
func (*SetDeliveredStatusArgs) GetReq ¶
func (p *SetDeliveredStatusArgs) GetReq() *SetDeliveredStatusRequest
func (*SetDeliveredStatusArgs) IsSetReq ¶
func (p *SetDeliveredStatusArgs) IsSetReq() bool
func (*SetDeliveredStatusArgs) Marshal ¶
func (p *SetDeliveredStatusArgs) Marshal(out []byte) ([]byte, error)
func (*SetDeliveredStatusArgs) Size ¶
func (p *SetDeliveredStatusArgs) Size() (n int)
func (*SetDeliveredStatusArgs) Unmarshal ¶
func (p *SetDeliveredStatusArgs) Unmarshal(in []byte) error
type SetDeliveredStatusRequest ¶
type SetDeliveredStatusRequest struct { ProductId int64 `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Status DeliveredStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warehouse.DeliveredStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SetDeliveredStatusRequest) Descriptor
deprecated
func (*SetDeliveredStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDeliveredStatusRequest.ProtoReflect.Descriptor instead.
func (*SetDeliveredStatusRequest) FastWrite ¶
func (x *SetDeliveredStatusRequest) FastWrite(buf []byte) (offset int)
func (*SetDeliveredStatusRequest) GetAmount ¶
func (x *SetDeliveredStatusRequest) GetAmount() int64
func (*SetDeliveredStatusRequest) GetProductId ¶
func (x *SetDeliveredStatusRequest) GetProductId() int64
func (*SetDeliveredStatusRequest) GetStatus ¶
func (x *SetDeliveredStatusRequest) GetStatus() DeliveredStatus
func (*SetDeliveredStatusRequest) ProtoMessage ¶
func (*SetDeliveredStatusRequest) ProtoMessage()
func (*SetDeliveredStatusRequest) ProtoReflect ¶
func (x *SetDeliveredStatusRequest) ProtoReflect() protoreflect.Message
func (*SetDeliveredStatusRequest) Reset ¶
func (x *SetDeliveredStatusRequest) Reset()
func (*SetDeliveredStatusRequest) Size ¶
func (x *SetDeliveredStatusRequest) Size() (n int)
func (*SetDeliveredStatusRequest) String ¶
func (x *SetDeliveredStatusRequest) String() string
type SetDeliveredStatusResult ¶
type SetDeliveredStatusResult struct {
Success *Empty
}
func (*SetDeliveredStatusResult) FastWrite ¶
func (p *SetDeliveredStatusResult) FastWrite(buf []byte) (n int)
func (*SetDeliveredStatusResult) GetResult ¶
func (p *SetDeliveredStatusResult) GetResult() interface{}
func (*SetDeliveredStatusResult) GetSuccess ¶
func (p *SetDeliveredStatusResult) GetSuccess() *Empty
func (*SetDeliveredStatusResult) IsSetSuccess ¶
func (p *SetDeliveredStatusResult) IsSetSuccess() bool
func (*SetDeliveredStatusResult) Marshal ¶
func (p *SetDeliveredStatusResult) Marshal(out []byte) ([]byte, error)
func (*SetDeliveredStatusResult) SetSuccess ¶
func (p *SetDeliveredStatusResult) SetSuccess(x interface{})
func (*SetDeliveredStatusResult) Size ¶
func (p *SetDeliveredStatusResult) Size() (n int)
func (*SetDeliveredStatusResult) Unmarshal ¶
func (p *SetDeliveredStatusResult) Unmarshal(in []byte) error
type Settlement ¶
type Settlement struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Purchase *Purchase `protobuf:"bytes,2,opt,name=purchase,proto3" json:"purchase,omitempty" valid:"required"` ProductMap map[int64]*Product `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Settlement 支付结算单
func (*Settlement) Descriptor
deprecated
func (*Settlement) Descriptor() ([]byte, []int)
Deprecated: Use Settlement.ProtoReflect.Descriptor instead.
func (*Settlement) FastWrite ¶
func (x *Settlement) FastWrite(buf []byte) (offset int)
func (*Settlement) GetItems ¶
func (x *Settlement) GetItems() []*Item
func (*Settlement) GetProductMap ¶
func (x *Settlement) GetProductMap() map[int64]*Product
func (*Settlement) GetPurchase ¶
func (x *Settlement) GetPurchase() *Purchase
func (*Settlement) ProtoMessage ¶
func (*Settlement) ProtoMessage()
func (*Settlement) ProtoReflect ¶
func (x *Settlement) ProtoReflect() protoreflect.Message
func (*Settlement) Reset ¶
func (x *Settlement) Reset()
func (*Settlement) Size ¶
func (x *Settlement) Size() (n int)
func (*Settlement) String ¶
func (x *Settlement) String() string
type Specification ¶
type Specification struct { Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ProductId int64 `protobuf:"varint,3,opt,name=productId,proto3" json:"productId,omitempty"` // contains filtered or unexported fields }
Specification 商品规格
func (*Specification) Descriptor
deprecated
func (*Specification) Descriptor() ([]byte, []int)
Deprecated: Use Specification.ProtoReflect.Descriptor instead.
func (*Specification) FastWrite ¶
func (x *Specification) FastWrite(buf []byte) (offset int)
func (*Specification) GetItem ¶
func (x *Specification) GetItem() string
func (*Specification) GetProductId ¶
func (x *Specification) GetProductId() int64
func (*Specification) GetValue ¶
func (x *Specification) GetValue() string
func (*Specification) ProtoMessage ¶
func (*Specification) ProtoMessage()
func (*Specification) ProtoReflect ¶
func (x *Specification) ProtoReflect() protoreflect.Message
func (*Specification) Reset ¶
func (x *Specification) Reset()
func (*Specification) Size ¶
func (x *Specification) Size() (n int)
func (*Specification) String ¶
func (x *Specification) String() string
type Stockpile ¶
type Stockpile struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` Frozen int64 `protobuf:"varint,2,opt,name=frozen,proto3" json:"frozen,omitempty"` Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
Stockpile 商品库存
func (*Stockpile) Descriptor
deprecated
func (*Stockpile) GetProduct ¶
func (*Stockpile) ProtoMessage ¶
func (*Stockpile) ProtoMessage()
func (*Stockpile) ProtoReflect ¶
func (x *Stockpile) ProtoReflect() protoreflect.Message
type UpdatePaymentStateAlias ¶
type UpdatePaymentStateAlias struct { PayId string `protobuf:"bytes,1,opt,name=payId,proto3" json:"payId,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=accountId,proto3" json:"accountId,omitempty"` State PaymentState `protobuf:"varint,3,opt,name=state,proto3,enum=payment.PaymentState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdatePaymentStateAlias) Descriptor
deprecated
func (*UpdatePaymentStateAlias) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePaymentStateAlias.ProtoReflect.Descriptor instead.
func (*UpdatePaymentStateAlias) FastWrite ¶
func (x *UpdatePaymentStateAlias) FastWrite(buf []byte) (offset int)
func (*UpdatePaymentStateAlias) GetAccountId ¶
func (x *UpdatePaymentStateAlias) GetAccountId() int64
func (*UpdatePaymentStateAlias) GetPayId ¶
func (x *UpdatePaymentStateAlias) GetPayId() string
func (*UpdatePaymentStateAlias) GetState ¶
func (x *UpdatePaymentStateAlias) GetState() PaymentState
func (*UpdatePaymentStateAlias) ProtoMessage ¶
func (*UpdatePaymentStateAlias) ProtoMessage()
func (*UpdatePaymentStateAlias) ProtoReflect ¶
func (x *UpdatePaymentStateAlias) ProtoReflect() protoreflect.Message
func (*UpdatePaymentStateAlias) Reset ¶
func (x *UpdatePaymentStateAlias) Reset()
func (*UpdatePaymentStateAlias) Size ¶
func (x *UpdatePaymentStateAlias) Size() (n int)
func (*UpdatePaymentStateAlias) String ¶
func (x *UpdatePaymentStateAlias) String() string
type UpdatePaymentStateAliasArgs ¶
type UpdatePaymentStateAliasArgs struct {
Req *UpdatePaymentStateAlias
}
func (*UpdatePaymentStateAliasArgs) FastWrite ¶
func (p *UpdatePaymentStateAliasArgs) FastWrite(buf []byte) (n int)
func (*UpdatePaymentStateAliasArgs) GetFirstArgument ¶
func (p *UpdatePaymentStateAliasArgs) GetFirstArgument() interface{}
func (*UpdatePaymentStateAliasArgs) GetReq ¶
func (p *UpdatePaymentStateAliasArgs) GetReq() *UpdatePaymentStateAlias
func (*UpdatePaymentStateAliasArgs) IsSetReq ¶
func (p *UpdatePaymentStateAliasArgs) IsSetReq() bool
func (*UpdatePaymentStateAliasArgs) Marshal ¶
func (p *UpdatePaymentStateAliasArgs) Marshal(out []byte) ([]byte, error)
func (*UpdatePaymentStateAliasArgs) Size ¶
func (p *UpdatePaymentStateAliasArgs) Size() (n int)
func (*UpdatePaymentStateAliasArgs) Unmarshal ¶
func (p *UpdatePaymentStateAliasArgs) Unmarshal(in []byte) error
type UpdatePaymentStateAliasResult ¶
type UpdatePaymentStateAliasResult struct {
Success *Empty
}
func (*UpdatePaymentStateAliasResult) FastWrite ¶
func (p *UpdatePaymentStateAliasResult) FastWrite(buf []byte) (n int)
func (*UpdatePaymentStateAliasResult) GetResult ¶
func (p *UpdatePaymentStateAliasResult) GetResult() interface{}
func (*UpdatePaymentStateAliasResult) GetSuccess ¶
func (p *UpdatePaymentStateAliasResult) GetSuccess() *Empty
func (*UpdatePaymentStateAliasResult) IsSetSuccess ¶
func (p *UpdatePaymentStateAliasResult) IsSetSuccess() bool
func (*UpdatePaymentStateAliasResult) Marshal ¶
func (p *UpdatePaymentStateAliasResult) Marshal(out []byte) ([]byte, error)
func (*UpdatePaymentStateAliasResult) SetSuccess ¶
func (p *UpdatePaymentStateAliasResult) SetSuccess(x interface{})
func (*UpdatePaymentStateAliasResult) Size ¶
func (p *UpdatePaymentStateAliasResult) Size() (n int)
func (*UpdatePaymentStateAliasResult) Unmarshal ¶
func (p *UpdatePaymentStateAliasResult) Unmarshal(in []byte) error
type UpdatePaymentStateArgs ¶
type UpdatePaymentStateArgs struct {
Req *UpdatePaymentStateRequest
}
func (*UpdatePaymentStateArgs) FastWrite ¶
func (p *UpdatePaymentStateArgs) FastWrite(buf []byte) (n int)
func (*UpdatePaymentStateArgs) GetFirstArgument ¶
func (p *UpdatePaymentStateArgs) GetFirstArgument() interface{}
func (*UpdatePaymentStateArgs) GetReq ¶
func (p *UpdatePaymentStateArgs) GetReq() *UpdatePaymentStateRequest
func (*UpdatePaymentStateArgs) IsSetReq ¶
func (p *UpdatePaymentStateArgs) IsSetReq() bool
func (*UpdatePaymentStateArgs) Marshal ¶
func (p *UpdatePaymentStateArgs) Marshal(out []byte) ([]byte, error)
func (*UpdatePaymentStateArgs) Size ¶
func (p *UpdatePaymentStateArgs) Size() (n int)
func (*UpdatePaymentStateArgs) Unmarshal ¶
func (p *UpdatePaymentStateArgs) Unmarshal(in []byte) error
type UpdatePaymentStateRequest ¶
type UpdatePaymentStateRequest struct { PayId string `protobuf:"bytes,1,opt,name=payId,proto3" json:"payId,omitempty"` State PaymentState `protobuf:"varint,2,opt,name=state,proto3,enum=payment.PaymentState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdatePaymentStateRequest) Descriptor
deprecated
func (*UpdatePaymentStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePaymentStateRequest.ProtoReflect.Descriptor instead.
func (*UpdatePaymentStateRequest) FastWrite ¶
func (x *UpdatePaymentStateRequest) FastWrite(buf []byte) (offset int)
func (*UpdatePaymentStateRequest) GetPayId ¶
func (x *UpdatePaymentStateRequest) GetPayId() string
func (*UpdatePaymentStateRequest) GetState ¶
func (x *UpdatePaymentStateRequest) GetState() PaymentState
func (*UpdatePaymentStateRequest) ProtoMessage ¶
func (*UpdatePaymentStateRequest) ProtoMessage()
func (*UpdatePaymentStateRequest) ProtoReflect ¶
func (x *UpdatePaymentStateRequest) ProtoReflect() protoreflect.Message
func (*UpdatePaymentStateRequest) Reset ¶
func (x *UpdatePaymentStateRequest) Reset()
func (*UpdatePaymentStateRequest) Size ¶
func (x *UpdatePaymentStateRequest) Size() (n int)
func (*UpdatePaymentStateRequest) String ¶
func (x *UpdatePaymentStateRequest) String() string
type UpdatePaymentStateResult ¶
type UpdatePaymentStateResult struct {
Success *Empty
}
func (*UpdatePaymentStateResult) FastWrite ¶
func (p *UpdatePaymentStateResult) FastWrite(buf []byte) (n int)
func (*UpdatePaymentStateResult) GetResult ¶
func (p *UpdatePaymentStateResult) GetResult() interface{}
func (*UpdatePaymentStateResult) GetSuccess ¶
func (p *UpdatePaymentStateResult) GetSuccess() *Empty
func (*UpdatePaymentStateResult) IsSetSuccess ¶
func (p *UpdatePaymentStateResult) IsSetSuccess() bool
func (*UpdatePaymentStateResult) Marshal ¶
func (p *UpdatePaymentStateResult) Marshal(out []byte) ([]byte, error)
func (*UpdatePaymentStateResult) SetSuccess ¶
func (p *UpdatePaymentStateResult) SetSuccess(x interface{})
func (*UpdatePaymentStateResult) Size ¶
func (p *UpdatePaymentStateResult) Size() (n int)
func (*UpdatePaymentStateResult) Unmarshal ¶
func (p *UpdatePaymentStateResult) Unmarshal(in []byte) error
type UpdateProductArgs ¶
type UpdateProductArgs struct {
Req *ChangeProductRequest
}
func (*UpdateProductArgs) FastWrite ¶
func (p *UpdateProductArgs) FastWrite(buf []byte) (n int)
func (*UpdateProductArgs) GetFirstArgument ¶
func (p *UpdateProductArgs) GetFirstArgument() interface{}
func (*UpdateProductArgs) GetReq ¶
func (p *UpdateProductArgs) GetReq() *ChangeProductRequest
func (*UpdateProductArgs) IsSetReq ¶
func (p *UpdateProductArgs) IsSetReq() bool
func (*UpdateProductArgs) Size ¶
func (p *UpdateProductArgs) Size() (n int)
func (*UpdateProductArgs) Unmarshal ¶
func (p *UpdateProductArgs) Unmarshal(in []byte) error
type UpdateProductResult ¶
type UpdateProductResult struct {
Success *Empty
}
func (*UpdateProductResult) FastWrite ¶
func (p *UpdateProductResult) FastWrite(buf []byte) (n int)
func (*UpdateProductResult) GetResult ¶
func (p *UpdateProductResult) GetResult() interface{}
func (*UpdateProductResult) GetSuccess ¶
func (p *UpdateProductResult) GetSuccess() *Empty
func (*UpdateProductResult) IsSetSuccess ¶
func (p *UpdateProductResult) IsSetSuccess() bool
func (*UpdateProductResult) Marshal ¶
func (p *UpdateProductResult) Marshal(out []byte) ([]byte, error)
func (*UpdateProductResult) SetSuccess ¶
func (p *UpdateProductResult) SetSuccess(x interface{})
func (*UpdateProductResult) Size ¶
func (p *UpdateProductResult) Size() (n int)
func (*UpdateProductResult) Unmarshal ¶
func (p *UpdateProductResult) Unmarshal(in []byte) error
type UpdateStockpileArgs ¶
type UpdateStockpileArgs struct {
Req *UpdateStockpileRequest
}
func (*UpdateStockpileArgs) FastWrite ¶
func (p *UpdateStockpileArgs) FastWrite(buf []byte) (n int)
func (*UpdateStockpileArgs) GetFirstArgument ¶
func (p *UpdateStockpileArgs) GetFirstArgument() interface{}
func (*UpdateStockpileArgs) GetReq ¶
func (p *UpdateStockpileArgs) GetReq() *UpdateStockpileRequest
func (*UpdateStockpileArgs) IsSetReq ¶
func (p *UpdateStockpileArgs) IsSetReq() bool
func (*UpdateStockpileArgs) Marshal ¶
func (p *UpdateStockpileArgs) Marshal(out []byte) ([]byte, error)
func (*UpdateStockpileArgs) Size ¶
func (p *UpdateStockpileArgs) Size() (n int)
func (*UpdateStockpileArgs) Unmarshal ¶
func (p *UpdateStockpileArgs) Unmarshal(in []byte) error
type UpdateStockpileRequest ¶
type UpdateStockpileRequest struct { ProductId int64 `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*UpdateStockpileRequest) Descriptor
deprecated
func (*UpdateStockpileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStockpileRequest.ProtoReflect.Descriptor instead.
func (*UpdateStockpileRequest) FastWrite ¶
func (x *UpdateStockpileRequest) FastWrite(buf []byte) (offset int)
func (*UpdateStockpileRequest) GetAmount ¶
func (x *UpdateStockpileRequest) GetAmount() int64
func (*UpdateStockpileRequest) GetProductId ¶
func (x *UpdateStockpileRequest) GetProductId() int64
func (*UpdateStockpileRequest) ProtoMessage ¶
func (*UpdateStockpileRequest) ProtoMessage()
func (*UpdateStockpileRequest) ProtoReflect ¶
func (x *UpdateStockpileRequest) ProtoReflect() protoreflect.Message
func (*UpdateStockpileRequest) Reset ¶
func (x *UpdateStockpileRequest) Reset()
func (*UpdateStockpileRequest) Size ¶
func (x *UpdateStockpileRequest) Size() (n int)
func (*UpdateStockpileRequest) String ¶
func (x *UpdateStockpileRequest) String() string
type UpdateStockpileResult ¶
type UpdateStockpileResult struct {
Success *Empty
}
func (*UpdateStockpileResult) FastWrite ¶
func (p *UpdateStockpileResult) FastWrite(buf []byte) (n int)
func (*UpdateStockpileResult) GetResult ¶
func (p *UpdateStockpileResult) GetResult() interface{}
func (*UpdateStockpileResult) GetSuccess ¶
func (p *UpdateStockpileResult) GetSuccess() *Empty
func (*UpdateStockpileResult) IsSetSuccess ¶
func (p *UpdateStockpileResult) IsSetSuccess() bool
func (*UpdateStockpileResult) Marshal ¶
func (p *UpdateStockpileResult) Marshal(out []byte) ([]byte, error)
func (*UpdateStockpileResult) SetSuccess ¶
func (p *UpdateStockpileResult) SetSuccess(x interface{})
func (*UpdateStockpileResult) Size ¶
func (p *UpdateStockpileResult) Size() (n int)
func (*UpdateStockpileResult) Unmarshal ¶
func (p *UpdateStockpileResult) Unmarshal(in []byte) error