Documentation ¶
Index ¶
- Variables
- type GetAssetsReq
- func (p *GetAssetsReq) BLength() int
- func (p *GetAssetsReq) DeepEqual(ano *GetAssetsReq) bool
- func (p *GetAssetsReq) FastRead(buf []byte) (int, error)
- func (p *GetAssetsReq) FastReadField1(buf []byte) (int, error)
- func (p *GetAssetsReq) FastWrite(buf []byte) int
- func (p *GetAssetsReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAssetsReq) Field1DeepEqual(src []int64) bool
- func (p *GetAssetsReq) GetUserIds() (v []int64)
- func (p *GetAssetsReq) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAssetsReq) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAssetsReq) SetUserIds(val []int64)
- func (p *GetAssetsReq) String() string
- func (p *GetAssetsReq) Write(oprot thrift.TProtocol) (err error)
- type GetAssetsResp
- func (p *GetAssetsResp) BLength() int
- func (p *GetAssetsResp) DeepEqual(ano *GetAssetsResp) bool
- func (p *GetAssetsResp) FastRead(buf []byte) (int, error)
- func (p *GetAssetsResp) FastReadField1(buf []byte) (int, error)
- func (p *GetAssetsResp) FastReadField255(buf []byte) (int, error)
- func (p *GetAssetsResp) FastWrite(buf []byte) int
- func (p *GetAssetsResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAssetsResp) Field1DeepEqual(src []*base0.UserAsset) bool
- func (p *GetAssetsResp) Field255DeepEqual(src *base.BaseResp) bool
- func (p *GetAssetsResp) GetBaseResp() (v *base.BaseResp)
- func (p *GetAssetsResp) GetUserAssets() (v []*base0.UserAsset)
- func (p *GetAssetsResp) IsSetBaseResp() bool
- func (p *GetAssetsResp) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAssetsResp) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAssetsResp) ReadField255(iprot thrift.TProtocol) error
- func (p *GetAssetsResp) SetBaseResp(val *base.BaseResp)
- func (p *GetAssetsResp) SetUserAssets(val []*base0.UserAsset)
- func (p *GetAssetsResp) String() string
- func (p *GetAssetsResp) Write(oprot thrift.TProtocol) (err error)
- type PaymentService
- type PaymentServiceClient
- func NewPaymentServiceClient(c thrift.TClient) *PaymentServiceClient
- func NewPaymentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PaymentServiceClient
- func NewPaymentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PaymentServiceClient
- type PaymentServiceGetAssetsArgs
- func (p *PaymentServiceGetAssetsArgs) BLength() int
- func (p *PaymentServiceGetAssetsArgs) DeepEqual(ano *PaymentServiceGetAssetsArgs) bool
- func (p *PaymentServiceGetAssetsArgs) FastRead(buf []byte) (int, error)
- func (p *PaymentServiceGetAssetsArgs) FastReadField1(buf []byte) (int, error)
- func (p *PaymentServiceGetAssetsArgs) FastWrite(buf []byte) int
- func (p *PaymentServiceGetAssetsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PaymentServiceGetAssetsArgs) Field1DeepEqual(src *GetAssetsReq) bool
- func (p *PaymentServiceGetAssetsArgs) GetFirstArgument() interface{}
- func (p *PaymentServiceGetAssetsArgs) GetReq() (v *GetAssetsReq)
- func (p *PaymentServiceGetAssetsArgs) IsSetReq() bool
- func (p *PaymentServiceGetAssetsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PaymentServiceGetAssetsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PaymentServiceGetAssetsArgs) SetReq(val *GetAssetsReq)
- func (p *PaymentServiceGetAssetsArgs) String() string
- func (p *PaymentServiceGetAssetsArgs) Write(oprot thrift.TProtocol) (err error)
- type PaymentServiceGetAssetsResult
- func (p *PaymentServiceGetAssetsResult) BLength() int
- func (p *PaymentServiceGetAssetsResult) DeepEqual(ano *PaymentServiceGetAssetsResult) bool
- func (p *PaymentServiceGetAssetsResult) FastRead(buf []byte) (int, error)
- func (p *PaymentServiceGetAssetsResult) FastReadField0(buf []byte) (int, error)
- func (p *PaymentServiceGetAssetsResult) FastWrite(buf []byte) int
- func (p *PaymentServiceGetAssetsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PaymentServiceGetAssetsResult) Field0DeepEqual(src *GetAssetsResp) bool
- func (p *PaymentServiceGetAssetsResult) GetResult() interface{}
- func (p *PaymentServiceGetAssetsResult) GetSuccess() (v *GetAssetsResp)
- func (p *PaymentServiceGetAssetsResult) IsSetSuccess() bool
- func (p *PaymentServiceGetAssetsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PaymentServiceGetAssetsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PaymentServiceGetAssetsResult) SetSuccess(x interface{})
- func (p *PaymentServiceGetAssetsResult) String() string
- func (p *PaymentServiceGetAssetsResult) Write(oprot thrift.TProtocol) (err error)
- type PaymentServiceProcessor
- func (p *PaymentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PaymentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PaymentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PaymentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var GetAssetsResp_BaseResp_DEFAULT *base.BaseResp
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type GetAssetsReq ¶
type GetAssetsReq struct {
UserIds []int64 `thrift:"userIds,1" json:"userIds"`
}
var PaymentServiceGetAssetsArgs_Req_DEFAULT *GetAssetsReq
func NewGetAssetsReq ¶
func NewGetAssetsReq() *GetAssetsReq
func (*GetAssetsReq) BLength ¶
func (p *GetAssetsReq) BLength() int
func (*GetAssetsReq) DeepEqual ¶
func (p *GetAssetsReq) DeepEqual(ano *GetAssetsReq) bool
func (*GetAssetsReq) FastReadField1 ¶
func (p *GetAssetsReq) FastReadField1(buf []byte) (int, error)
func (*GetAssetsReq) FastWriteNocopy ¶
func (p *GetAssetsReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAssetsReq) Field1DeepEqual ¶
func (p *GetAssetsReq) Field1DeepEqual(src []int64) bool
func (*GetAssetsReq) GetUserIds ¶
func (p *GetAssetsReq) GetUserIds() (v []int64)
func (*GetAssetsReq) ReadField1 ¶
func (p *GetAssetsReq) ReadField1(iprot thrift.TProtocol) error
func (*GetAssetsReq) SetUserIds ¶
func (p *GetAssetsReq) SetUserIds(val []int64)
func (*GetAssetsReq) String ¶
func (p *GetAssetsReq) String() string
type GetAssetsResp ¶
type GetAssetsResp struct { UserAssets []*base0.UserAsset `thrift:"userAssets,1" json:"userAssets"` BaseResp *base.BaseResp `thrift:"baseResp,255,required" json:"baseResp"` }
var PaymentServiceGetAssetsResult_Success_DEFAULT *GetAssetsResp
func NewGetAssetsResp ¶
func NewGetAssetsResp() *GetAssetsResp
func (*GetAssetsResp) BLength ¶
func (p *GetAssetsResp) BLength() int
func (*GetAssetsResp) DeepEqual ¶
func (p *GetAssetsResp) DeepEqual(ano *GetAssetsResp) bool
func (*GetAssetsResp) FastReadField1 ¶
func (p *GetAssetsResp) FastReadField1(buf []byte) (int, error)
func (*GetAssetsResp) FastReadField255 ¶
func (p *GetAssetsResp) FastReadField255(buf []byte) (int, error)
func (*GetAssetsResp) FastWrite ¶
func (p *GetAssetsResp) FastWrite(buf []byte) int
for compatibility
func (*GetAssetsResp) FastWriteNocopy ¶
func (p *GetAssetsResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAssetsResp) Field1DeepEqual ¶
func (p *GetAssetsResp) Field1DeepEqual(src []*base0.UserAsset) bool
func (*GetAssetsResp) Field255DeepEqual ¶
func (p *GetAssetsResp) Field255DeepEqual(src *base.BaseResp) bool
func (*GetAssetsResp) GetBaseResp ¶
func (p *GetAssetsResp) GetBaseResp() (v *base.BaseResp)
func (*GetAssetsResp) GetUserAssets ¶
func (p *GetAssetsResp) GetUserAssets() (v []*base0.UserAsset)
func (*GetAssetsResp) IsSetBaseResp ¶
func (p *GetAssetsResp) IsSetBaseResp() bool
func (*GetAssetsResp) ReadField1 ¶
func (p *GetAssetsResp) ReadField1(iprot thrift.TProtocol) error
func (*GetAssetsResp) ReadField255 ¶
func (p *GetAssetsResp) ReadField255(iprot thrift.TProtocol) error
func (*GetAssetsResp) SetBaseResp ¶
func (p *GetAssetsResp) SetBaseResp(val *base.BaseResp)
func (*GetAssetsResp) SetUserAssets ¶
func (p *GetAssetsResp) SetUserAssets(val []*base0.UserAsset)
func (*GetAssetsResp) String ¶
func (p *GetAssetsResp) String() string
type PaymentService ¶
type PaymentService interface {
GetAssets(ctx context.Context, req *GetAssetsReq) (r *GetAssetsResp, err error)
}
type PaymentServiceClient ¶
type PaymentServiceClient struct {
// contains filtered or unexported fields
}
func NewPaymentServiceClient ¶
func NewPaymentServiceClient(c thrift.TClient) *PaymentServiceClient
func NewPaymentServiceClientFactory ¶
func NewPaymentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PaymentServiceClient
func NewPaymentServiceClientProtocol ¶
func NewPaymentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PaymentServiceClient
func (*PaymentServiceClient) Client_ ¶
func (p *PaymentServiceClient) Client_() thrift.TClient
func (*PaymentServiceClient) GetAssets ¶
func (p *PaymentServiceClient) GetAssets(ctx context.Context, req *GetAssetsReq) (r *GetAssetsResp, err error)
type PaymentServiceGetAssetsArgs ¶
type PaymentServiceGetAssetsArgs struct {
Req *GetAssetsReq `thrift:"req,1" json:"req"`
}
func NewPaymentServiceGetAssetsArgs ¶
func NewPaymentServiceGetAssetsArgs() *PaymentServiceGetAssetsArgs
func (*PaymentServiceGetAssetsArgs) BLength ¶
func (p *PaymentServiceGetAssetsArgs) BLength() int
func (*PaymentServiceGetAssetsArgs) DeepEqual ¶
func (p *PaymentServiceGetAssetsArgs) DeepEqual(ano *PaymentServiceGetAssetsArgs) bool
func (*PaymentServiceGetAssetsArgs) FastRead ¶
func (p *PaymentServiceGetAssetsArgs) FastRead(buf []byte) (int, error)
func (*PaymentServiceGetAssetsArgs) FastReadField1 ¶
func (p *PaymentServiceGetAssetsArgs) FastReadField1(buf []byte) (int, error)
func (*PaymentServiceGetAssetsArgs) FastWrite ¶
func (p *PaymentServiceGetAssetsArgs) FastWrite(buf []byte) int
for compatibility
func (*PaymentServiceGetAssetsArgs) FastWriteNocopy ¶
func (p *PaymentServiceGetAssetsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PaymentServiceGetAssetsArgs) Field1DeepEqual ¶
func (p *PaymentServiceGetAssetsArgs) Field1DeepEqual(src *GetAssetsReq) bool
func (*PaymentServiceGetAssetsArgs) GetFirstArgument ¶
func (p *PaymentServiceGetAssetsArgs) GetFirstArgument() interface{}
func (*PaymentServiceGetAssetsArgs) GetReq ¶
func (p *PaymentServiceGetAssetsArgs) GetReq() (v *GetAssetsReq)
func (*PaymentServiceGetAssetsArgs) IsSetReq ¶
func (p *PaymentServiceGetAssetsArgs) IsSetReq() bool
func (*PaymentServiceGetAssetsArgs) Read ¶
func (p *PaymentServiceGetAssetsArgs) Read(iprot thrift.TProtocol) (err error)
func (*PaymentServiceGetAssetsArgs) ReadField1 ¶
func (p *PaymentServiceGetAssetsArgs) ReadField1(iprot thrift.TProtocol) error
func (*PaymentServiceGetAssetsArgs) SetReq ¶
func (p *PaymentServiceGetAssetsArgs) SetReq(val *GetAssetsReq)
func (*PaymentServiceGetAssetsArgs) String ¶
func (p *PaymentServiceGetAssetsArgs) String() string
type PaymentServiceGetAssetsResult ¶
type PaymentServiceGetAssetsResult struct {
Success *GetAssetsResp `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewPaymentServiceGetAssetsResult ¶
func NewPaymentServiceGetAssetsResult() *PaymentServiceGetAssetsResult
func (*PaymentServiceGetAssetsResult) BLength ¶
func (p *PaymentServiceGetAssetsResult) BLength() int
func (*PaymentServiceGetAssetsResult) DeepEqual ¶
func (p *PaymentServiceGetAssetsResult) DeepEqual(ano *PaymentServiceGetAssetsResult) bool
func (*PaymentServiceGetAssetsResult) FastRead ¶
func (p *PaymentServiceGetAssetsResult) FastRead(buf []byte) (int, error)
func (*PaymentServiceGetAssetsResult) FastReadField0 ¶
func (p *PaymentServiceGetAssetsResult) FastReadField0(buf []byte) (int, error)
func (*PaymentServiceGetAssetsResult) FastWrite ¶
func (p *PaymentServiceGetAssetsResult) FastWrite(buf []byte) int
for compatibility
func (*PaymentServiceGetAssetsResult) FastWriteNocopy ¶
func (p *PaymentServiceGetAssetsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PaymentServiceGetAssetsResult) Field0DeepEqual ¶
func (p *PaymentServiceGetAssetsResult) Field0DeepEqual(src *GetAssetsResp) bool
func (*PaymentServiceGetAssetsResult) GetResult ¶
func (p *PaymentServiceGetAssetsResult) GetResult() interface{}
func (*PaymentServiceGetAssetsResult) GetSuccess ¶
func (p *PaymentServiceGetAssetsResult) GetSuccess() (v *GetAssetsResp)
func (*PaymentServiceGetAssetsResult) IsSetSuccess ¶
func (p *PaymentServiceGetAssetsResult) IsSetSuccess() bool
func (*PaymentServiceGetAssetsResult) Read ¶
func (p *PaymentServiceGetAssetsResult) Read(iprot thrift.TProtocol) (err error)
func (*PaymentServiceGetAssetsResult) ReadField0 ¶
func (p *PaymentServiceGetAssetsResult) ReadField0(iprot thrift.TProtocol) error
func (*PaymentServiceGetAssetsResult) SetSuccess ¶
func (p *PaymentServiceGetAssetsResult) SetSuccess(x interface{})
func (*PaymentServiceGetAssetsResult) String ¶
func (p *PaymentServiceGetAssetsResult) String() string
type PaymentServiceProcessor ¶
type PaymentServiceProcessor struct {
// contains filtered or unexported fields
}
func NewPaymentServiceProcessor ¶
func NewPaymentServiceProcessor(handler PaymentService) *PaymentServiceProcessor
func (*PaymentServiceProcessor) AddToProcessorMap ¶
func (p *PaymentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*PaymentServiceProcessor) GetProcessorFunction ¶
func (p *PaymentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*PaymentServiceProcessor) Process ¶
func (p *PaymentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*PaymentServiceProcessor) ProcessorMap ¶
func (p *PaymentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.