order

package
v0.0.0-...-e809d31 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var MallCreateOrderResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallGetOrderResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallGetOrderResponse_Order_DEFAULT *common.Order
View Source
var MallOrderListResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallUpdateOrderResponse_CommonResp_DEFAULT *common.CommonResponse

Functions

This section is empty.

Types

type MallCreateOrderRequest

type MallCreateOrderRequest struct {
	UserId     int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ProductId  int64 `thrift:"product_id,2" frugal:"2,default,i64" json:"product_id"`
	ProductNum int64 `thrift:"product_num,3" frugal:"3,default,i64" json:"product_num"`
	Amount     int64 `thrift:"amount,4" frugal:"4,default,i64" json:"amount"`
}
var OrderServiceCreateOrderArgs_Req_DEFAULT *MallCreateOrderRequest

func NewMallCreateOrderRequest

func NewMallCreateOrderRequest() *MallCreateOrderRequest

func (*MallCreateOrderRequest) BLength

func (p *MallCreateOrderRequest) BLength() int

func (*MallCreateOrderRequest) DeepEqual

func (*MallCreateOrderRequest) FastRead

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

func (*MallCreateOrderRequest) FastReadField1

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

func (*MallCreateOrderRequest) FastReadField2

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

func (*MallCreateOrderRequest) FastReadField3

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

func (*MallCreateOrderRequest) FastReadField4

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

func (*MallCreateOrderRequest) FastWrite

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

for compatibility

func (*MallCreateOrderRequest) FastWriteNocopy

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

func (*MallCreateOrderRequest) Field1DeepEqual

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

func (*MallCreateOrderRequest) Field2DeepEqual

func (p *MallCreateOrderRequest) Field2DeepEqual(src int64) bool

func (*MallCreateOrderRequest) Field3DeepEqual

func (p *MallCreateOrderRequest) Field3DeepEqual(src int64) bool

func (*MallCreateOrderRequest) Field4DeepEqual

func (p *MallCreateOrderRequest) Field4DeepEqual(src int64) bool

func (*MallCreateOrderRequest) GetAmount

func (p *MallCreateOrderRequest) GetAmount() (v int64)

func (*MallCreateOrderRequest) GetProductId

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

func (*MallCreateOrderRequest) GetProductNum

func (p *MallCreateOrderRequest) GetProductNum() (v int64)

func (*MallCreateOrderRequest) GetUserId

func (p *MallCreateOrderRequest) GetUserId() (v int64)

func (*MallCreateOrderRequest) InitDefault

func (p *MallCreateOrderRequest) InitDefault()

func (*MallCreateOrderRequest) Read

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

func (*MallCreateOrderRequest) ReadField1

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

func (*MallCreateOrderRequest) ReadField2

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

func (*MallCreateOrderRequest) ReadField3

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

func (*MallCreateOrderRequest) ReadField4

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

func (*MallCreateOrderRequest) SetAmount

func (p *MallCreateOrderRequest) SetAmount(val int64)

func (*MallCreateOrderRequest) SetProductId

func (p *MallCreateOrderRequest) SetProductId(val int64)

func (*MallCreateOrderRequest) SetProductNum

func (p *MallCreateOrderRequest) SetProductNum(val int64)

func (*MallCreateOrderRequest) SetUserId

func (p *MallCreateOrderRequest) SetUserId(val int64)

func (*MallCreateOrderRequest) String

func (p *MallCreateOrderRequest) String() string

func (*MallCreateOrderRequest) Write

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

type MallCreateOrderResponse

type MallCreateOrderResponse struct {
	CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
	OrderId    int64                  `thrift:"order_id,2" frugal:"2,default,i64" json:"order_id"`
	Amount     int64                  `thrift:"amount,3" frugal:"3,default,i64" json:"amount"`
}
var OrderServiceCreateOrderResult_Success_DEFAULT *MallCreateOrderResponse

func NewMallCreateOrderResponse

func NewMallCreateOrderResponse() *MallCreateOrderResponse

func (*MallCreateOrderResponse) BLength

func (p *MallCreateOrderResponse) BLength() int

func (*MallCreateOrderResponse) DeepEqual

func (*MallCreateOrderResponse) FastRead

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

func (*MallCreateOrderResponse) FastReadField1

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

func (*MallCreateOrderResponse) FastReadField2

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

func (*MallCreateOrderResponse) FastReadField3

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

func (*MallCreateOrderResponse) FastWrite

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

for compatibility

func (*MallCreateOrderResponse) FastWriteNocopy

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

func (*MallCreateOrderResponse) Field1DeepEqual

func (p *MallCreateOrderResponse) Field1DeepEqual(src *common.CommonResponse) bool

func (*MallCreateOrderResponse) Field2DeepEqual

func (p *MallCreateOrderResponse) Field2DeepEqual(src int64) bool

func (*MallCreateOrderResponse) Field3DeepEqual

func (p *MallCreateOrderResponse) Field3DeepEqual(src int64) bool

func (*MallCreateOrderResponse) GetAmount

func (p *MallCreateOrderResponse) GetAmount() (v int64)

func (*MallCreateOrderResponse) GetCommonResp

func (p *MallCreateOrderResponse) GetCommonResp() (v *common.CommonResponse)

func (*MallCreateOrderResponse) GetOrderId

func (p *MallCreateOrderResponse) GetOrderId() (v int64)

func (*MallCreateOrderResponse) InitDefault

func (p *MallCreateOrderResponse) InitDefault()

func (*MallCreateOrderResponse) IsSetCommonResp

func (p *MallCreateOrderResponse) IsSetCommonResp() bool

func (*MallCreateOrderResponse) Read

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

func (*MallCreateOrderResponse) ReadField1

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

func (*MallCreateOrderResponse) ReadField2

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

func (*MallCreateOrderResponse) ReadField3

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

func (*MallCreateOrderResponse) SetAmount

func (p *MallCreateOrderResponse) SetAmount(val int64)

func (*MallCreateOrderResponse) SetCommonResp

func (p *MallCreateOrderResponse) SetCommonResp(val *common.CommonResponse)

func (*MallCreateOrderResponse) SetOrderId

func (p *MallCreateOrderResponse) SetOrderId(val int64)

func (*MallCreateOrderResponse) String

func (p *MallCreateOrderResponse) String() string

func (*MallCreateOrderResponse) Write

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

type MallGetOrderRequest

type MallGetOrderRequest struct {
	OrderId int64 `thrift:"order_id,1" frugal:"1,default,i64" json:"order_id"`
	UserId  int64 `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"`
}
var OrderServiceGetOrderArgs_Req_DEFAULT *MallGetOrderRequest

func NewMallGetOrderRequest

func NewMallGetOrderRequest() *MallGetOrderRequest

func (*MallGetOrderRequest) BLength

func (p *MallGetOrderRequest) BLength() int

func (*MallGetOrderRequest) DeepEqual

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

func (*MallGetOrderRequest) FastRead

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

func (*MallGetOrderRequest) FastReadField1

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

func (*MallGetOrderRequest) FastReadField2

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

func (*MallGetOrderRequest) FastWrite

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

for compatibility

func (*MallGetOrderRequest) FastWriteNocopy

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

func (*MallGetOrderRequest) Field1DeepEqual

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

func (*MallGetOrderRequest) Field2DeepEqual

func (p *MallGetOrderRequest) Field2DeepEqual(src int64) bool

func (*MallGetOrderRequest) GetOrderId

func (p *MallGetOrderRequest) GetOrderId() (v int64)

func (*MallGetOrderRequest) GetUserId

func (p *MallGetOrderRequest) GetUserId() (v int64)

func (*MallGetOrderRequest) InitDefault

func (p *MallGetOrderRequest) InitDefault()

func (*MallGetOrderRequest) Read

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

func (*MallGetOrderRequest) ReadField1

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

func (*MallGetOrderRequest) ReadField2

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

func (*MallGetOrderRequest) SetOrderId

func (p *MallGetOrderRequest) SetOrderId(val int64)

func (*MallGetOrderRequest) SetUserId

func (p *MallGetOrderRequest) SetUserId(val int64)

func (*MallGetOrderRequest) String

func (p *MallGetOrderRequest) String() string

func (*MallGetOrderRequest) Write

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

type MallGetOrderResponse

type MallGetOrderResponse struct {
	CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
	Order      *common.Order          `thrift:"order,2" frugal:"2,default,common.Order" json:"order"`
}
var OrderServiceGetOrderResult_Success_DEFAULT *MallGetOrderResponse

func NewMallGetOrderResponse

func NewMallGetOrderResponse() *MallGetOrderResponse

func (*MallGetOrderResponse) BLength

func (p *MallGetOrderResponse) BLength() int

func (*MallGetOrderResponse) DeepEqual

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

func (*MallGetOrderResponse) FastRead

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

func (*MallGetOrderResponse) FastReadField1

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

func (*MallGetOrderResponse) FastReadField2

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

func (*MallGetOrderResponse) FastWrite

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

for compatibility

func (*MallGetOrderResponse) FastWriteNocopy

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

func (*MallGetOrderResponse) Field1DeepEqual

func (p *MallGetOrderResponse) Field1DeepEqual(src *common.CommonResponse) bool

func (*MallGetOrderResponse) Field2DeepEqual

func (p *MallGetOrderResponse) Field2DeepEqual(src *common.Order) bool

func (*MallGetOrderResponse) GetCommonResp

func (p *MallGetOrderResponse) GetCommonResp() (v *common.CommonResponse)

func (*MallGetOrderResponse) GetOrder

func (p *MallGetOrderResponse) GetOrder() (v *common.Order)

func (*MallGetOrderResponse) InitDefault

func (p *MallGetOrderResponse) InitDefault()

func (*MallGetOrderResponse) IsSetCommonResp

func (p *MallGetOrderResponse) IsSetCommonResp() bool

func (*MallGetOrderResponse) IsSetOrder

func (p *MallGetOrderResponse) IsSetOrder() bool

func (*MallGetOrderResponse) Read

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

func (*MallGetOrderResponse) ReadField1

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

func (*MallGetOrderResponse) ReadField2

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

func (*MallGetOrderResponse) SetCommonResp

func (p *MallGetOrderResponse) SetCommonResp(val *common.CommonResponse)

func (*MallGetOrderResponse) SetOrder

func (p *MallGetOrderResponse) SetOrder(val *common.Order)

func (*MallGetOrderResponse) String

func (p *MallGetOrderResponse) String() string

func (*MallGetOrderResponse) Write

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

type MallOrderListRequset

type MallOrderListRequset struct {
	UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
}
var OrderServiceOrderListArgs_Req_DEFAULT *MallOrderListRequset

func NewMallOrderListRequset

func NewMallOrderListRequset() *MallOrderListRequset

func (*MallOrderListRequset) BLength

func (p *MallOrderListRequset) BLength() int

func (*MallOrderListRequset) DeepEqual

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

func (*MallOrderListRequset) FastRead

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

func (*MallOrderListRequset) FastReadField1

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

func (*MallOrderListRequset) FastWrite

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

for compatibility

func (*MallOrderListRequset) FastWriteNocopy

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

func (*MallOrderListRequset) Field1DeepEqual

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

func (*MallOrderListRequset) GetUserId

func (p *MallOrderListRequset) GetUserId() (v int64)

func (*MallOrderListRequset) InitDefault

func (p *MallOrderListRequset) InitDefault()

func (*MallOrderListRequset) Read

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

func (*MallOrderListRequset) ReadField1

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

func (*MallOrderListRequset) SetUserId

func (p *MallOrderListRequset) SetUserId(val int64)

func (*MallOrderListRequset) String

func (p *MallOrderListRequset) String() string

func (*MallOrderListRequset) Write

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

type MallOrderListResponse

type MallOrderListResponse struct {
	CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
	Orders     []*common.Order        `thrift:"orders,2" frugal:"2,default,list<common.Order>" json:"orders"`
}
var OrderServiceOrderListResult_Success_DEFAULT *MallOrderListResponse

func NewMallOrderListResponse

func NewMallOrderListResponse() *MallOrderListResponse

func (*MallOrderListResponse) BLength

func (p *MallOrderListResponse) BLength() int

func (*MallOrderListResponse) DeepEqual

func (*MallOrderListResponse) FastRead

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

func (*MallOrderListResponse) FastReadField1

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

func (*MallOrderListResponse) FastReadField2

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

func (*MallOrderListResponse) FastWrite

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

for compatibility

func (*MallOrderListResponse) FastWriteNocopy

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

func (*MallOrderListResponse) Field1DeepEqual

func (p *MallOrderListResponse) Field1DeepEqual(src *common.CommonResponse) bool

func (*MallOrderListResponse) Field2DeepEqual

func (p *MallOrderListResponse) Field2DeepEqual(src []*common.Order) bool

func (*MallOrderListResponse) GetCommonResp

func (p *MallOrderListResponse) GetCommonResp() (v *common.CommonResponse)

func (*MallOrderListResponse) GetOrders

func (p *MallOrderListResponse) GetOrders() (v []*common.Order)

func (*MallOrderListResponse) InitDefault

func (p *MallOrderListResponse) InitDefault()

func (*MallOrderListResponse) IsSetCommonResp

func (p *MallOrderListResponse) IsSetCommonResp() bool

func (*MallOrderListResponse) Read

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

func (*MallOrderListResponse) ReadField1

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

func (*MallOrderListResponse) ReadField2

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

func (*MallOrderListResponse) SetCommonResp

func (p *MallOrderListResponse) SetCommonResp(val *common.CommonResponse)

func (*MallOrderListResponse) SetOrders

func (p *MallOrderListResponse) SetOrders(val []*common.Order)

func (*MallOrderListResponse) String

func (p *MallOrderListResponse) String() string

func (*MallOrderListResponse) Write

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

type MallUpdateOrderRequest

type MallUpdateOrderRequest struct {
	OrderId int64 `thrift:"order_id,1" frugal:"1,default,i64" json:"order_id"`
	Status  int8  `thrift:"status,2" frugal:"2,default,i8" json:"status"`
}
var OrderServiceUpdateOrderArgs_Req_DEFAULT *MallUpdateOrderRequest

func NewMallUpdateOrderRequest

func NewMallUpdateOrderRequest() *MallUpdateOrderRequest

func (*MallUpdateOrderRequest) BLength

func (p *MallUpdateOrderRequest) BLength() int

func (*MallUpdateOrderRequest) DeepEqual

func (*MallUpdateOrderRequest) FastRead

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

func (*MallUpdateOrderRequest) FastReadField1

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

func (*MallUpdateOrderRequest) FastReadField2

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

func (*MallUpdateOrderRequest) FastWrite

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

for compatibility

func (*MallUpdateOrderRequest) FastWriteNocopy

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

func (*MallUpdateOrderRequest) Field1DeepEqual

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

func (*MallUpdateOrderRequest) Field2DeepEqual

func (p *MallUpdateOrderRequest) Field2DeepEqual(src int8) bool

func (*MallUpdateOrderRequest) GetOrderId

func (p *MallUpdateOrderRequest) GetOrderId() (v int64)

func (*MallUpdateOrderRequest) GetStatus

func (p *MallUpdateOrderRequest) GetStatus() (v int8)

func (*MallUpdateOrderRequest) InitDefault

func (p *MallUpdateOrderRequest) InitDefault()

func (*MallUpdateOrderRequest) Read

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

func (*MallUpdateOrderRequest) ReadField1

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

func (*MallUpdateOrderRequest) ReadField2

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

func (*MallUpdateOrderRequest) SetOrderId

func (p *MallUpdateOrderRequest) SetOrderId(val int64)

func (*MallUpdateOrderRequest) SetStatus

func (p *MallUpdateOrderRequest) SetStatus(val int8)

func (*MallUpdateOrderRequest) String

func (p *MallUpdateOrderRequest) String() string

func (*MallUpdateOrderRequest) Write

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

type MallUpdateOrderResponse

type MallUpdateOrderResponse struct {
	CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
}
var OrderServiceUpdateOrderResult_Success_DEFAULT *MallUpdateOrderResponse

func NewMallUpdateOrderResponse

func NewMallUpdateOrderResponse() *MallUpdateOrderResponse

func (*MallUpdateOrderResponse) BLength

func (p *MallUpdateOrderResponse) BLength() int

func (*MallUpdateOrderResponse) DeepEqual

func (*MallUpdateOrderResponse) FastRead

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

func (*MallUpdateOrderResponse) FastReadField1

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

func (*MallUpdateOrderResponse) FastWrite

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

for compatibility

func (*MallUpdateOrderResponse) FastWriteNocopy

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

func (*MallUpdateOrderResponse) Field1DeepEqual

func (p *MallUpdateOrderResponse) Field1DeepEqual(src *common.CommonResponse) bool

func (*MallUpdateOrderResponse) GetCommonResp

func (p *MallUpdateOrderResponse) GetCommonResp() (v *common.CommonResponse)

func (*MallUpdateOrderResponse) InitDefault

func (p *MallUpdateOrderResponse) InitDefault()

func (*MallUpdateOrderResponse) IsSetCommonResp

func (p *MallUpdateOrderResponse) IsSetCommonResp() bool

func (*MallUpdateOrderResponse) Read

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

func (*MallUpdateOrderResponse) ReadField1

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

func (*MallUpdateOrderResponse) SetCommonResp

func (p *MallUpdateOrderResponse) SetCommonResp(val *common.CommonResponse)

func (*MallUpdateOrderResponse) String

func (p *MallUpdateOrderResponse) String() string

func (*MallUpdateOrderResponse) Write

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

type OrderService

type OrderService interface {
	CreateOrder(ctx context.Context, req *MallCreateOrderRequest) (r *MallCreateOrderResponse, err error)

	UpdateOrder(ctx context.Context, req *MallUpdateOrderRequest) (r *MallUpdateOrderResponse, err error)

	OrderList(ctx context.Context, req *MallOrderListRequset) (r *MallOrderListResponse, err error)

	GetOrder(ctx context.Context, req *MallGetOrderRequest) (r *MallGetOrderResponse, err error)
}

type OrderServiceClient

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

func NewOrderServiceClient

func NewOrderServiceClient(c thrift.TClient) *OrderServiceClient

func NewOrderServiceClientProtocol

func NewOrderServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *OrderServiceClient

func (*OrderServiceClient) Client_

func (p *OrderServiceClient) Client_() thrift.TClient

func (*OrderServiceClient) CreateOrder

func (*OrderServiceClient) GetOrder

func (*OrderServiceClient) OrderList

func (*OrderServiceClient) UpdateOrder

type OrderServiceCreateOrderArgs

type OrderServiceCreateOrderArgs struct {
	Req *MallCreateOrderRequest `thrift:"req,1" frugal:"1,default,MallCreateOrderRequest" json:"req"`
}

func NewOrderServiceCreateOrderArgs

func NewOrderServiceCreateOrderArgs() *OrderServiceCreateOrderArgs

func (*OrderServiceCreateOrderArgs) BLength

func (p *OrderServiceCreateOrderArgs) BLength() int

func (*OrderServiceCreateOrderArgs) DeepEqual

func (*OrderServiceCreateOrderArgs) FastRead

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

func (*OrderServiceCreateOrderArgs) FastReadField1

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

func (*OrderServiceCreateOrderArgs) FastWrite

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

for compatibility

func (*OrderServiceCreateOrderArgs) FastWriteNocopy

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

func (*OrderServiceCreateOrderArgs) Field1DeepEqual

func (p *OrderServiceCreateOrderArgs) Field1DeepEqual(src *MallCreateOrderRequest) bool

func (*OrderServiceCreateOrderArgs) GetFirstArgument

func (p *OrderServiceCreateOrderArgs) GetFirstArgument() interface{}

func (*OrderServiceCreateOrderArgs) GetReq

func (*OrderServiceCreateOrderArgs) InitDefault

func (p *OrderServiceCreateOrderArgs) InitDefault()

func (*OrderServiceCreateOrderArgs) IsSetReq

func (p *OrderServiceCreateOrderArgs) IsSetReq() bool

func (*OrderServiceCreateOrderArgs) Read

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

func (*OrderServiceCreateOrderArgs) ReadField1

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

func (*OrderServiceCreateOrderArgs) SetReq

func (*OrderServiceCreateOrderArgs) String

func (p *OrderServiceCreateOrderArgs) String() string

func (*OrderServiceCreateOrderArgs) Write

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

type OrderServiceCreateOrderResult

type OrderServiceCreateOrderResult struct {
	Success *MallCreateOrderResponse `thrift:"success,0,optional" frugal:"0,optional,MallCreateOrderResponse" json:"success,omitempty"`
}

func NewOrderServiceCreateOrderResult

func NewOrderServiceCreateOrderResult() *OrderServiceCreateOrderResult

func (*OrderServiceCreateOrderResult) BLength

func (p *OrderServiceCreateOrderResult) BLength() int

func (*OrderServiceCreateOrderResult) DeepEqual

func (*OrderServiceCreateOrderResult) FastRead

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

func (*OrderServiceCreateOrderResult) FastReadField0

func (p *OrderServiceCreateOrderResult) FastReadField0(buf []byte) (int, error)

func (*OrderServiceCreateOrderResult) FastWrite

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

for compatibility

func (*OrderServiceCreateOrderResult) FastWriteNocopy

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

func (*OrderServiceCreateOrderResult) Field0DeepEqual

func (*OrderServiceCreateOrderResult) GetResult

func (p *OrderServiceCreateOrderResult) GetResult() interface{}

func (*OrderServiceCreateOrderResult) GetSuccess

func (*OrderServiceCreateOrderResult) InitDefault

func (p *OrderServiceCreateOrderResult) InitDefault()

func (*OrderServiceCreateOrderResult) IsSetSuccess

func (p *OrderServiceCreateOrderResult) IsSetSuccess() bool

func (*OrderServiceCreateOrderResult) Read

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

func (*OrderServiceCreateOrderResult) ReadField0

func (p *OrderServiceCreateOrderResult) ReadField0(iprot thrift.TProtocol) error

func (*OrderServiceCreateOrderResult) SetSuccess

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

func (*OrderServiceCreateOrderResult) String

func (*OrderServiceCreateOrderResult) Write

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

type OrderServiceGetOrderArgs

type OrderServiceGetOrderArgs struct {
	Req *MallGetOrderRequest `thrift:"req,1" frugal:"1,default,MallGetOrderRequest" json:"req"`
}

func NewOrderServiceGetOrderArgs

func NewOrderServiceGetOrderArgs() *OrderServiceGetOrderArgs

func (*OrderServiceGetOrderArgs) BLength

func (p *OrderServiceGetOrderArgs) BLength() int

func (*OrderServiceGetOrderArgs) DeepEqual

func (*OrderServiceGetOrderArgs) FastRead

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

func (*OrderServiceGetOrderArgs) FastReadField1

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

func (*OrderServiceGetOrderArgs) FastWrite

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

for compatibility

func (*OrderServiceGetOrderArgs) FastWriteNocopy

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

func (*OrderServiceGetOrderArgs) Field1DeepEqual

func (p *OrderServiceGetOrderArgs) Field1DeepEqual(src *MallGetOrderRequest) bool

func (*OrderServiceGetOrderArgs) GetFirstArgument

func (p *OrderServiceGetOrderArgs) GetFirstArgument() interface{}

func (*OrderServiceGetOrderArgs) GetReq

func (*OrderServiceGetOrderArgs) InitDefault

func (p *OrderServiceGetOrderArgs) InitDefault()

func (*OrderServiceGetOrderArgs) IsSetReq

func (p *OrderServiceGetOrderArgs) IsSetReq() bool

func (*OrderServiceGetOrderArgs) Read

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

func (*OrderServiceGetOrderArgs) ReadField1

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

func (*OrderServiceGetOrderArgs) SetReq

func (*OrderServiceGetOrderArgs) String

func (p *OrderServiceGetOrderArgs) String() string

func (*OrderServiceGetOrderArgs) Write

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

type OrderServiceGetOrderResult

type OrderServiceGetOrderResult struct {
	Success *MallGetOrderResponse `thrift:"success,0,optional" frugal:"0,optional,MallGetOrderResponse" json:"success,omitempty"`
}

func NewOrderServiceGetOrderResult

func NewOrderServiceGetOrderResult() *OrderServiceGetOrderResult

func (*OrderServiceGetOrderResult) BLength

func (p *OrderServiceGetOrderResult) BLength() int

func (*OrderServiceGetOrderResult) DeepEqual

func (*OrderServiceGetOrderResult) FastRead

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

func (*OrderServiceGetOrderResult) FastReadField0

func (p *OrderServiceGetOrderResult) FastReadField0(buf []byte) (int, error)

func (*OrderServiceGetOrderResult) FastWrite

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

for compatibility

func (*OrderServiceGetOrderResult) FastWriteNocopy

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

func (*OrderServiceGetOrderResult) Field0DeepEqual

func (p *OrderServiceGetOrderResult) Field0DeepEqual(src *MallGetOrderResponse) bool

func (*OrderServiceGetOrderResult) GetResult

func (p *OrderServiceGetOrderResult) GetResult() interface{}

func (*OrderServiceGetOrderResult) GetSuccess

func (p *OrderServiceGetOrderResult) GetSuccess() (v *MallGetOrderResponse)

func (*OrderServiceGetOrderResult) InitDefault

func (p *OrderServiceGetOrderResult) InitDefault()

func (*OrderServiceGetOrderResult) IsSetSuccess

func (p *OrderServiceGetOrderResult) IsSetSuccess() bool

func (*OrderServiceGetOrderResult) Read

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

func (*OrderServiceGetOrderResult) ReadField0

func (p *OrderServiceGetOrderResult) ReadField0(iprot thrift.TProtocol) error

func (*OrderServiceGetOrderResult) SetSuccess

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

func (*OrderServiceGetOrderResult) String

func (p *OrderServiceGetOrderResult) String() string

func (*OrderServiceGetOrderResult) Write

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

type OrderServiceOrderListArgs

type OrderServiceOrderListArgs struct {
	Req *MallOrderListRequset `thrift:"req,1" frugal:"1,default,MallOrderListRequset" json:"req"`
}

func NewOrderServiceOrderListArgs

func NewOrderServiceOrderListArgs() *OrderServiceOrderListArgs

func (*OrderServiceOrderListArgs) BLength

func (p *OrderServiceOrderListArgs) BLength() int

func (*OrderServiceOrderListArgs) DeepEqual

func (*OrderServiceOrderListArgs) FastRead

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

func (*OrderServiceOrderListArgs) FastReadField1

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

func (*OrderServiceOrderListArgs) FastWrite

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

for compatibility

func (*OrderServiceOrderListArgs) FastWriteNocopy

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

func (*OrderServiceOrderListArgs) Field1DeepEqual

func (p *OrderServiceOrderListArgs) Field1DeepEqual(src *MallOrderListRequset) bool

func (*OrderServiceOrderListArgs) GetFirstArgument

func (p *OrderServiceOrderListArgs) GetFirstArgument() interface{}

func (*OrderServiceOrderListArgs) GetReq

func (*OrderServiceOrderListArgs) InitDefault

func (p *OrderServiceOrderListArgs) InitDefault()

func (*OrderServiceOrderListArgs) IsSetReq

func (p *OrderServiceOrderListArgs) IsSetReq() bool

func (*OrderServiceOrderListArgs) Read

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

func (*OrderServiceOrderListArgs) ReadField1

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

func (*OrderServiceOrderListArgs) SetReq

func (*OrderServiceOrderListArgs) String

func (p *OrderServiceOrderListArgs) String() string

func (*OrderServiceOrderListArgs) Write

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

type OrderServiceOrderListResult

type OrderServiceOrderListResult struct {
	Success *MallOrderListResponse `thrift:"success,0,optional" frugal:"0,optional,MallOrderListResponse" json:"success,omitempty"`
}

func NewOrderServiceOrderListResult

func NewOrderServiceOrderListResult() *OrderServiceOrderListResult

func (*OrderServiceOrderListResult) BLength

func (p *OrderServiceOrderListResult) BLength() int

func (*OrderServiceOrderListResult) DeepEqual

func (*OrderServiceOrderListResult) FastRead

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

func (*OrderServiceOrderListResult) FastReadField0

func (p *OrderServiceOrderListResult) FastReadField0(buf []byte) (int, error)

func (*OrderServiceOrderListResult) FastWrite

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

for compatibility

func (*OrderServiceOrderListResult) FastWriteNocopy

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

func (*OrderServiceOrderListResult) Field0DeepEqual

func (p *OrderServiceOrderListResult) Field0DeepEqual(src *MallOrderListResponse) bool

func (*OrderServiceOrderListResult) GetResult

func (p *OrderServiceOrderListResult) GetResult() interface{}

func (*OrderServiceOrderListResult) GetSuccess

func (*OrderServiceOrderListResult) InitDefault

func (p *OrderServiceOrderListResult) InitDefault()

func (*OrderServiceOrderListResult) IsSetSuccess

func (p *OrderServiceOrderListResult) IsSetSuccess() bool

func (*OrderServiceOrderListResult) Read

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

func (*OrderServiceOrderListResult) ReadField0

func (p *OrderServiceOrderListResult) ReadField0(iprot thrift.TProtocol) error

func (*OrderServiceOrderListResult) SetSuccess

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

func (*OrderServiceOrderListResult) String

func (p *OrderServiceOrderListResult) String() string

func (*OrderServiceOrderListResult) Write

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

type OrderServiceProcessor

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

func NewOrderServiceProcessor

func NewOrderServiceProcessor(handler OrderService) *OrderServiceProcessor

func (*OrderServiceProcessor) AddToProcessorMap

func (p *OrderServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*OrderServiceProcessor) GetProcessorFunction

func (p *OrderServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*OrderServiceProcessor) Process

func (p *OrderServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*OrderServiceProcessor) ProcessorMap

func (p *OrderServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type OrderServiceUpdateOrderArgs

type OrderServiceUpdateOrderArgs struct {
	Req *MallUpdateOrderRequest `thrift:"req,1" frugal:"1,default,MallUpdateOrderRequest" json:"req"`
}

func NewOrderServiceUpdateOrderArgs

func NewOrderServiceUpdateOrderArgs() *OrderServiceUpdateOrderArgs

func (*OrderServiceUpdateOrderArgs) BLength

func (p *OrderServiceUpdateOrderArgs) BLength() int

func (*OrderServiceUpdateOrderArgs) DeepEqual

func (*OrderServiceUpdateOrderArgs) FastRead

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

func (*OrderServiceUpdateOrderArgs) FastReadField1

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

func (*OrderServiceUpdateOrderArgs) FastWrite

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

for compatibility

func (*OrderServiceUpdateOrderArgs) FastWriteNocopy

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

func (*OrderServiceUpdateOrderArgs) Field1DeepEqual

func (p *OrderServiceUpdateOrderArgs) Field1DeepEqual(src *MallUpdateOrderRequest) bool

func (*OrderServiceUpdateOrderArgs) GetFirstArgument

func (p *OrderServiceUpdateOrderArgs) GetFirstArgument() interface{}

func (*OrderServiceUpdateOrderArgs) GetReq

func (*OrderServiceUpdateOrderArgs) InitDefault

func (p *OrderServiceUpdateOrderArgs) InitDefault()

func (*OrderServiceUpdateOrderArgs) IsSetReq

func (p *OrderServiceUpdateOrderArgs) IsSetReq() bool

func (*OrderServiceUpdateOrderArgs) Read

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

func (*OrderServiceUpdateOrderArgs) ReadField1

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

func (*OrderServiceUpdateOrderArgs) SetReq

func (*OrderServiceUpdateOrderArgs) String

func (p *OrderServiceUpdateOrderArgs) String() string

func (*OrderServiceUpdateOrderArgs) Write

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

type OrderServiceUpdateOrderResult

type OrderServiceUpdateOrderResult struct {
	Success *MallUpdateOrderResponse `thrift:"success,0,optional" frugal:"0,optional,MallUpdateOrderResponse" json:"success,omitempty"`
}

func NewOrderServiceUpdateOrderResult

func NewOrderServiceUpdateOrderResult() *OrderServiceUpdateOrderResult

func (*OrderServiceUpdateOrderResult) BLength

func (p *OrderServiceUpdateOrderResult) BLength() int

func (*OrderServiceUpdateOrderResult) DeepEqual

func (*OrderServiceUpdateOrderResult) FastRead

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

func (*OrderServiceUpdateOrderResult) FastReadField0

func (p *OrderServiceUpdateOrderResult) FastReadField0(buf []byte) (int, error)

func (*OrderServiceUpdateOrderResult) FastWrite

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

for compatibility

func (*OrderServiceUpdateOrderResult) FastWriteNocopy

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

func (*OrderServiceUpdateOrderResult) Field0DeepEqual

func (*OrderServiceUpdateOrderResult) GetResult

func (p *OrderServiceUpdateOrderResult) GetResult() interface{}

func (*OrderServiceUpdateOrderResult) GetSuccess

func (*OrderServiceUpdateOrderResult) InitDefault

func (p *OrderServiceUpdateOrderResult) InitDefault()

func (*OrderServiceUpdateOrderResult) IsSetSuccess

func (p *OrderServiceUpdateOrderResult) IsSetSuccess() bool

func (*OrderServiceUpdateOrderResult) Read

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

func (*OrderServiceUpdateOrderResult) ReadField0

func (p *OrderServiceUpdateOrderResult) ReadField0(iprot thrift.TProtocol) error

func (*OrderServiceUpdateOrderResult) SetSuccess

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

func (*OrderServiceUpdateOrderResult) String

func (*OrderServiceUpdateOrderResult) Write

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

Directories

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

Jump to

Keyboard shortcuts

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