da

package
v0.0.0-...-2b0c82f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

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

func (*GetAssetsReq) FastReadField1

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

func (*GetAssetsReq) FastWrite

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

for compatibility

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

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

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

func (*GetAssetsReq) Write

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

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

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

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

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

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

func (*GetAssetsResp) Write

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

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

func (*PaymentServiceGetAssetsArgs) Write

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

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 (*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 (*PaymentServiceGetAssetsResult) Write

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

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

Directories

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

Jump to

Keyboard shortcuts

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