cart

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 MallAddProductToCartResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallDelCartProductResponse_CommonResp_DEFAULT *common.CommonResponse
View Source
var MallGetCartResponse_Cart_DEFAULT *common.Cart
View Source
var MallGetCartResponse_CommonResp_DEFAULT *common.CommonResponse

Functions

This section is empty.

Types

type CartService

type CartService interface {
	AddProductToCart(ctx context.Context, req *MallAddProductToCartRequest) (r *MallAddProductToCartResponse, err error)

	GetCart(ctx context.Context, req *MallGetCartRequest) (r *MallGetCartResponse, err error)

	DelCartProduct(ctx context.Context, req *MallDelCartProductRequest) (r *MallDelCartProductResponse, err error)
}

type CartServiceAddProductToCartArgs

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

func NewCartServiceAddProductToCartArgs

func NewCartServiceAddProductToCartArgs() *CartServiceAddProductToCartArgs

func (*CartServiceAddProductToCartArgs) BLength

func (p *CartServiceAddProductToCartArgs) BLength() int

func (*CartServiceAddProductToCartArgs) DeepEqual

func (*CartServiceAddProductToCartArgs) FastRead

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

func (*CartServiceAddProductToCartArgs) FastReadField1

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

func (*CartServiceAddProductToCartArgs) FastWrite

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

for compatibility

func (*CartServiceAddProductToCartArgs) FastWriteNocopy

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

func (*CartServiceAddProductToCartArgs) Field1DeepEqual

func (*CartServiceAddProductToCartArgs) GetFirstArgument

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

func (*CartServiceAddProductToCartArgs) GetReq

func (*CartServiceAddProductToCartArgs) InitDefault

func (p *CartServiceAddProductToCartArgs) InitDefault()

func (*CartServiceAddProductToCartArgs) IsSetReq

func (p *CartServiceAddProductToCartArgs) IsSetReq() bool

func (*CartServiceAddProductToCartArgs) Read

func (*CartServiceAddProductToCartArgs) ReadField1

func (*CartServiceAddProductToCartArgs) SetReq

func (*CartServiceAddProductToCartArgs) String

func (*CartServiceAddProductToCartArgs) Write

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

type CartServiceAddProductToCartResult

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

func NewCartServiceAddProductToCartResult

func NewCartServiceAddProductToCartResult() *CartServiceAddProductToCartResult

func (*CartServiceAddProductToCartResult) BLength

func (*CartServiceAddProductToCartResult) DeepEqual

func (*CartServiceAddProductToCartResult) FastRead

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

func (*CartServiceAddProductToCartResult) FastReadField0

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

func (*CartServiceAddProductToCartResult) FastWrite

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

for compatibility

func (*CartServiceAddProductToCartResult) FastWriteNocopy

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

func (*CartServiceAddProductToCartResult) Field0DeepEqual

func (*CartServiceAddProductToCartResult) GetResult

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

func (*CartServiceAddProductToCartResult) GetSuccess

func (*CartServiceAddProductToCartResult) InitDefault

func (p *CartServiceAddProductToCartResult) InitDefault()

func (*CartServiceAddProductToCartResult) IsSetSuccess

func (p *CartServiceAddProductToCartResult) IsSetSuccess() bool

func (*CartServiceAddProductToCartResult) Read

func (*CartServiceAddProductToCartResult) ReadField0

func (*CartServiceAddProductToCartResult) SetSuccess

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

func (*CartServiceAddProductToCartResult) String

func (*CartServiceAddProductToCartResult) Write

type CartServiceClient

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

func NewCartServiceClient

func NewCartServiceClient(c thrift.TClient) *CartServiceClient

func NewCartServiceClientProtocol

func NewCartServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CartServiceClient

func (*CartServiceClient) AddProductToCart

func (*CartServiceClient) Client_

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

func (*CartServiceClient) DelCartProduct

func (*CartServiceClient) GetCart

type CartServiceDelCartProductArgs

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

func NewCartServiceDelCartProductArgs

func NewCartServiceDelCartProductArgs() *CartServiceDelCartProductArgs

func (*CartServiceDelCartProductArgs) BLength

func (p *CartServiceDelCartProductArgs) BLength() int

func (*CartServiceDelCartProductArgs) DeepEqual

func (*CartServiceDelCartProductArgs) FastRead

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

func (*CartServiceDelCartProductArgs) FastReadField1

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

func (*CartServiceDelCartProductArgs) FastWrite

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

for compatibility

func (*CartServiceDelCartProductArgs) FastWriteNocopy

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

func (*CartServiceDelCartProductArgs) Field1DeepEqual

func (*CartServiceDelCartProductArgs) GetFirstArgument

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

func (*CartServiceDelCartProductArgs) GetReq

func (*CartServiceDelCartProductArgs) InitDefault

func (p *CartServiceDelCartProductArgs) InitDefault()

func (*CartServiceDelCartProductArgs) IsSetReq

func (p *CartServiceDelCartProductArgs) IsSetReq() bool

func (*CartServiceDelCartProductArgs) Read

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

func (*CartServiceDelCartProductArgs) ReadField1

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

func (*CartServiceDelCartProductArgs) SetReq

func (*CartServiceDelCartProductArgs) String

func (*CartServiceDelCartProductArgs) Write

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

type CartServiceDelCartProductResult

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

func NewCartServiceDelCartProductResult

func NewCartServiceDelCartProductResult() *CartServiceDelCartProductResult

func (*CartServiceDelCartProductResult) BLength

func (p *CartServiceDelCartProductResult) BLength() int

func (*CartServiceDelCartProductResult) DeepEqual

func (*CartServiceDelCartProductResult) FastRead

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

func (*CartServiceDelCartProductResult) FastReadField0

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

func (*CartServiceDelCartProductResult) FastWrite

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

for compatibility

func (*CartServiceDelCartProductResult) FastWriteNocopy

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

func (*CartServiceDelCartProductResult) Field0DeepEqual

func (*CartServiceDelCartProductResult) GetResult

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

func (*CartServiceDelCartProductResult) GetSuccess

func (*CartServiceDelCartProductResult) InitDefault

func (p *CartServiceDelCartProductResult) InitDefault()

func (*CartServiceDelCartProductResult) IsSetSuccess

func (p *CartServiceDelCartProductResult) IsSetSuccess() bool

func (*CartServiceDelCartProductResult) Read

func (*CartServiceDelCartProductResult) ReadField0

func (*CartServiceDelCartProductResult) SetSuccess

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

func (*CartServiceDelCartProductResult) String

func (*CartServiceDelCartProductResult) Write

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

type CartServiceGetCartArgs

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

func NewCartServiceGetCartArgs

func NewCartServiceGetCartArgs() *CartServiceGetCartArgs

func (*CartServiceGetCartArgs) BLength

func (p *CartServiceGetCartArgs) BLength() int

func (*CartServiceGetCartArgs) DeepEqual

func (*CartServiceGetCartArgs) FastRead

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

func (*CartServiceGetCartArgs) FastReadField1

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

func (*CartServiceGetCartArgs) FastWrite

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

for compatibility

func (*CartServiceGetCartArgs) FastWriteNocopy

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

func (*CartServiceGetCartArgs) Field1DeepEqual

func (p *CartServiceGetCartArgs) Field1DeepEqual(src *MallGetCartRequest) bool

func (*CartServiceGetCartArgs) GetFirstArgument

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

func (*CartServiceGetCartArgs) GetReq

func (p *CartServiceGetCartArgs) GetReq() (v *MallGetCartRequest)

func (*CartServiceGetCartArgs) InitDefault

func (p *CartServiceGetCartArgs) InitDefault()

func (*CartServiceGetCartArgs) IsSetReq

func (p *CartServiceGetCartArgs) IsSetReq() bool

func (*CartServiceGetCartArgs) Read

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

func (*CartServiceGetCartArgs) ReadField1

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

func (*CartServiceGetCartArgs) SetReq

func (*CartServiceGetCartArgs) String

func (p *CartServiceGetCartArgs) String() string

func (*CartServiceGetCartArgs) Write

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

type CartServiceGetCartResult

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

func NewCartServiceGetCartResult

func NewCartServiceGetCartResult() *CartServiceGetCartResult

func (*CartServiceGetCartResult) BLength

func (p *CartServiceGetCartResult) BLength() int

func (*CartServiceGetCartResult) DeepEqual

func (*CartServiceGetCartResult) FastRead

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

func (*CartServiceGetCartResult) FastReadField0

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

func (*CartServiceGetCartResult) FastWrite

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

for compatibility

func (*CartServiceGetCartResult) FastWriteNocopy

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

func (*CartServiceGetCartResult) Field0DeepEqual

func (p *CartServiceGetCartResult) Field0DeepEqual(src *MallGetCartResponse) bool

func (*CartServiceGetCartResult) GetResult

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

func (*CartServiceGetCartResult) GetSuccess

func (p *CartServiceGetCartResult) GetSuccess() (v *MallGetCartResponse)

func (*CartServiceGetCartResult) InitDefault

func (p *CartServiceGetCartResult) InitDefault()

func (*CartServiceGetCartResult) IsSetSuccess

func (p *CartServiceGetCartResult) IsSetSuccess() bool

func (*CartServiceGetCartResult) Read

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

func (*CartServiceGetCartResult) ReadField0

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

func (*CartServiceGetCartResult) SetSuccess

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

func (*CartServiceGetCartResult) String

func (p *CartServiceGetCartResult) String() string

func (*CartServiceGetCartResult) Write

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

type CartServiceProcessor

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

func NewCartServiceProcessor

func NewCartServiceProcessor(handler CartService) *CartServiceProcessor

func (*CartServiceProcessor) AddToProcessorMap

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

func (*CartServiceProcessor) GetProcessorFunction

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

func (*CartServiceProcessor) Process

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

func (*CartServiceProcessor) ProcessorMap

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

type MallAddProductToCartRequest

type MallAddProductToCartRequest 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"`
}
var CartServiceAddProductToCartArgs_Req_DEFAULT *MallAddProductToCartRequest

func NewMallAddProductToCartRequest

func NewMallAddProductToCartRequest() *MallAddProductToCartRequest

func (*MallAddProductToCartRequest) BLength

func (p *MallAddProductToCartRequest) BLength() int

func (*MallAddProductToCartRequest) DeepEqual

func (*MallAddProductToCartRequest) FastRead

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

func (*MallAddProductToCartRequest) FastReadField1

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

func (*MallAddProductToCartRequest) FastReadField2

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

func (*MallAddProductToCartRequest) FastReadField3

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

func (*MallAddProductToCartRequest) FastWrite

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

for compatibility

func (*MallAddProductToCartRequest) FastWriteNocopy

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

func (*MallAddProductToCartRequest) Field1DeepEqual

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

func (*MallAddProductToCartRequest) Field2DeepEqual

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

func (*MallAddProductToCartRequest) Field3DeepEqual

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

func (*MallAddProductToCartRequest) GetProductId

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

func (*MallAddProductToCartRequest) GetProductNum

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

func (*MallAddProductToCartRequest) GetUserId

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

func (*MallAddProductToCartRequest) InitDefault

func (p *MallAddProductToCartRequest) InitDefault()

func (*MallAddProductToCartRequest) Read

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

func (*MallAddProductToCartRequest) ReadField1

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

func (*MallAddProductToCartRequest) ReadField2

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

func (*MallAddProductToCartRequest) ReadField3

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

func (*MallAddProductToCartRequest) SetProductId

func (p *MallAddProductToCartRequest) SetProductId(val int64)

func (*MallAddProductToCartRequest) SetProductNum

func (p *MallAddProductToCartRequest) SetProductNum(val int64)

func (*MallAddProductToCartRequest) SetUserId

func (p *MallAddProductToCartRequest) SetUserId(val int64)

func (*MallAddProductToCartRequest) String

func (p *MallAddProductToCartRequest) String() string

func (*MallAddProductToCartRequest) Write

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

type MallAddProductToCartResponse

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

func NewMallAddProductToCartResponse

func NewMallAddProductToCartResponse() *MallAddProductToCartResponse

func (*MallAddProductToCartResponse) BLength

func (p *MallAddProductToCartResponse) BLength() int

func (*MallAddProductToCartResponse) DeepEqual

func (*MallAddProductToCartResponse) FastRead

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

func (*MallAddProductToCartResponse) FastReadField1

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

func (*MallAddProductToCartResponse) FastWrite

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

for compatibility

func (*MallAddProductToCartResponse) FastWriteNocopy

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

func (*MallAddProductToCartResponse) Field1DeepEqual

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

func (*MallAddProductToCartResponse) GetCommonResp

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

func (*MallAddProductToCartResponse) InitDefault

func (p *MallAddProductToCartResponse) InitDefault()

func (*MallAddProductToCartResponse) IsSetCommonResp

func (p *MallAddProductToCartResponse) IsSetCommonResp() bool

func (*MallAddProductToCartResponse) Read

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

func (*MallAddProductToCartResponse) ReadField1

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

func (*MallAddProductToCartResponse) SetCommonResp

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

func (*MallAddProductToCartResponse) String

func (*MallAddProductToCartResponse) Write

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

type MallDelCartProductRequest

type MallDelCartProductRequest struct {
	UserId    int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	ProductId int64 `thrift:"product_id,2" frugal:"2,default,i64" json:"product_id"`
}
var CartServiceDelCartProductArgs_Req_DEFAULT *MallDelCartProductRequest

func NewMallDelCartProductRequest

func NewMallDelCartProductRequest() *MallDelCartProductRequest

func (*MallDelCartProductRequest) BLength

func (p *MallDelCartProductRequest) BLength() int

func (*MallDelCartProductRequest) DeepEqual

func (*MallDelCartProductRequest) FastRead

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

func (*MallDelCartProductRequest) FastReadField1

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

func (*MallDelCartProductRequest) FastReadField2

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

func (*MallDelCartProductRequest) FastWrite

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

for compatibility

func (*MallDelCartProductRequest) FastWriteNocopy

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

func (*MallDelCartProductRequest) Field1DeepEqual

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

func (*MallDelCartProductRequest) Field2DeepEqual

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

func (*MallDelCartProductRequest) GetProductId

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

func (*MallDelCartProductRequest) GetUserId

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

func (*MallDelCartProductRequest) InitDefault

func (p *MallDelCartProductRequest) InitDefault()

func (*MallDelCartProductRequest) Read

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

func (*MallDelCartProductRequest) ReadField1

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

func (*MallDelCartProductRequest) ReadField2

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

func (*MallDelCartProductRequest) SetProductId

func (p *MallDelCartProductRequest) SetProductId(val int64)

func (*MallDelCartProductRequest) SetUserId

func (p *MallDelCartProductRequest) SetUserId(val int64)

func (*MallDelCartProductRequest) String

func (p *MallDelCartProductRequest) String() string

func (*MallDelCartProductRequest) Write

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

type MallDelCartProductResponse

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

func NewMallDelCartProductResponse

func NewMallDelCartProductResponse() *MallDelCartProductResponse

func (*MallDelCartProductResponse) BLength

func (p *MallDelCartProductResponse) BLength() int

func (*MallDelCartProductResponse) DeepEqual

func (*MallDelCartProductResponse) FastRead

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

func (*MallDelCartProductResponse) FastReadField1

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

func (*MallDelCartProductResponse) FastWrite

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

for compatibility

func (*MallDelCartProductResponse) FastWriteNocopy

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

func (*MallDelCartProductResponse) Field1DeepEqual

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

func (*MallDelCartProductResponse) GetCommonResp

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

func (*MallDelCartProductResponse) InitDefault

func (p *MallDelCartProductResponse) InitDefault()

func (*MallDelCartProductResponse) IsSetCommonResp

func (p *MallDelCartProductResponse) IsSetCommonResp() bool

func (*MallDelCartProductResponse) Read

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

func (*MallDelCartProductResponse) ReadField1

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

func (*MallDelCartProductResponse) SetCommonResp

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

func (*MallDelCartProductResponse) String

func (p *MallDelCartProductResponse) String() string

func (*MallDelCartProductResponse) Write

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

type MallGetCartRequest

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

func NewMallGetCartRequest

func NewMallGetCartRequest() *MallGetCartRequest

func (*MallGetCartRequest) BLength

func (p *MallGetCartRequest) BLength() int

func (*MallGetCartRequest) DeepEqual

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

func (*MallGetCartRequest) FastRead

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

func (*MallGetCartRequest) FastReadField1

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

func (*MallGetCartRequest) FastWrite

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

for compatibility

func (*MallGetCartRequest) FastWriteNocopy

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

func (*MallGetCartRequest) Field1DeepEqual

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

func (*MallGetCartRequest) GetUserId

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

func (*MallGetCartRequest) InitDefault

func (p *MallGetCartRequest) InitDefault()

func (*MallGetCartRequest) Read

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

func (*MallGetCartRequest) ReadField1

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

func (*MallGetCartRequest) SetUserId

func (p *MallGetCartRequest) SetUserId(val int64)

func (*MallGetCartRequest) String

func (p *MallGetCartRequest) String() string

func (*MallGetCartRequest) Write

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

type MallGetCartResponse

type MallGetCartResponse struct {
	CommonResp *common.CommonResponse `thrift:"common_resp,1" frugal:"1,default,common.CommonResponse" json:"common_resp"`
	Cart       *common.Cart           `thrift:"cart,2" frugal:"2,default,common.Cart" json:"cart"`
}
var CartServiceGetCartResult_Success_DEFAULT *MallGetCartResponse

func NewMallGetCartResponse

func NewMallGetCartResponse() *MallGetCartResponse

func (*MallGetCartResponse) BLength

func (p *MallGetCartResponse) BLength() int

func (*MallGetCartResponse) DeepEqual

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

func (*MallGetCartResponse) FastRead

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

func (*MallGetCartResponse) FastReadField1

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

func (*MallGetCartResponse) FastReadField2

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

func (*MallGetCartResponse) FastWrite

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

for compatibility

func (*MallGetCartResponse) FastWriteNocopy

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

func (*MallGetCartResponse) Field1DeepEqual

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

func (*MallGetCartResponse) Field2DeepEqual

func (p *MallGetCartResponse) Field2DeepEqual(src *common.Cart) bool

func (*MallGetCartResponse) GetCart

func (p *MallGetCartResponse) GetCart() (v *common.Cart)

func (*MallGetCartResponse) GetCommonResp

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

func (*MallGetCartResponse) InitDefault

func (p *MallGetCartResponse) InitDefault()

func (*MallGetCartResponse) IsSetCart

func (p *MallGetCartResponse) IsSetCart() bool

func (*MallGetCartResponse) IsSetCommonResp

func (p *MallGetCartResponse) IsSetCommonResp() bool

func (*MallGetCartResponse) Read

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

func (*MallGetCartResponse) ReadField1

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

func (*MallGetCartResponse) ReadField2

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

func (*MallGetCartResponse) SetCart

func (p *MallGetCartResponse) SetCart(val *common.Cart)

func (*MallGetCartResponse) SetCommonResp

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

func (*MallGetCartResponse) String

func (p *MallGetCartResponse) String() string

func (*MallGetCartResponse) Write

func (p *MallGetCartResponse) 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