pay

package
v0.0.0-...-4083a1e Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 7 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.

Functions

This section is empty.

Types

type BuyGoodsReq

type BuyGoodsReq struct {
	Subject string `thrift:"Subject,1" frugal:"1,default,string" json:"Subject"`
}

func NewBuyGoodsReq

func NewBuyGoodsReq() *BuyGoodsReq

func (*BuyGoodsReq) BLength

func (p *BuyGoodsReq) BLength() int

func (*BuyGoodsReq) DeepEqual

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

func (*BuyGoodsReq) FastRead

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

func (*BuyGoodsReq) FastReadField1

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

func (*BuyGoodsReq) FastWrite

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

for compatibility

func (*BuyGoodsReq) FastWriteNocopy

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

func (*BuyGoodsReq) Field1DeepEqual

func (p *BuyGoodsReq) Field1DeepEqual(src string) bool

func (*BuyGoodsReq) GetSubject

func (p *BuyGoodsReq) GetSubject() (v string)

func (*BuyGoodsReq) InitDefault

func (p *BuyGoodsReq) InitDefault()

func (*BuyGoodsReq) Read

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

func (*BuyGoodsReq) ReadField1

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

func (*BuyGoodsReq) SetSubject

func (p *BuyGoodsReq) SetSubject(val string)

func (*BuyGoodsReq) String

func (p *BuyGoodsReq) String() string

func (*BuyGoodsReq) Write

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

type CallBackReq

type CallBackReq struct {
}

func NewCallBackReq

func NewCallBackReq() *CallBackReq

func (*CallBackReq) BLength

func (p *CallBackReq) BLength() int

func (*CallBackReq) DeepEqual

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

func (*CallBackReq) FastRead

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

func (*CallBackReq) FastWrite

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

for compatibility

func (*CallBackReq) FastWriteNocopy

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

func (*CallBackReq) InitDefault

func (p *CallBackReq) InitDefault()

func (*CallBackReq) Read

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

func (*CallBackReq) String

func (p *CallBackReq) String() string

func (*CallBackReq) Write

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

type NilResponse

type NilResponse struct {
}
var PayServiceNotifyResult_Success_DEFAULT *NilResponse

func NewNilResponse

func NewNilResponse() *NilResponse

func (*NilResponse) BLength

func (p *NilResponse) BLength() int

func (*NilResponse) DeepEqual

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

func (*NilResponse) FastRead

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

func (*NilResponse) FastWrite

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

for compatibility

func (*NilResponse) FastWriteNocopy

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

func (*NilResponse) InitDefault

func (p *NilResponse) InitDefault()

func (*NilResponse) Read

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

func (*NilResponse) String

func (p *NilResponse) String() string

func (*NilResponse) Write

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

type NotifyReq

type NotifyReq struct {
}
var PayServiceNotifyArgs_Request_DEFAULT *NotifyReq

func NewNotifyReq

func NewNotifyReq() *NotifyReq

func (*NotifyReq) BLength

func (p *NotifyReq) BLength() int

func (*NotifyReq) DeepEqual

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

func (*NotifyReq) FastRead

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

func (*NotifyReq) FastWrite

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

for compatibility

func (*NotifyReq) FastWriteNocopy

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

func (*NotifyReq) InitDefault

func (p *NotifyReq) InitDefault()

func (*NotifyReq) Read

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

func (*NotifyReq) String

func (p *NotifyReq) String() string

func (*NotifyReq) Write

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

type PayService

type PayService interface {
	Notify(ctx context.Context, request *NotifyReq) (r *NilResponse, err error)
}

type PayServiceClient

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

func NewPayServiceClient

func NewPayServiceClient(c thrift.TClient) *PayServiceClient

func NewPayServiceClientProtocol

func NewPayServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PayServiceClient

func (*PayServiceClient) Client_

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

func (*PayServiceClient) Notify

func (p *PayServiceClient) Notify(ctx context.Context, request *NotifyReq) (r *NilResponse, err error)

type PayServiceNotifyArgs

type PayServiceNotifyArgs struct {
	Request *NotifyReq `thrift:"request,1" frugal:"1,default,NotifyReq" json:"request"`
}

func NewPayServiceNotifyArgs

func NewPayServiceNotifyArgs() *PayServiceNotifyArgs

func (*PayServiceNotifyArgs) BLength

func (p *PayServiceNotifyArgs) BLength() int

func (*PayServiceNotifyArgs) DeepEqual

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

func (*PayServiceNotifyArgs) FastRead

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

func (*PayServiceNotifyArgs) FastReadField1

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

func (*PayServiceNotifyArgs) FastWrite

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

for compatibility

func (*PayServiceNotifyArgs) FastWriteNocopy

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

func (*PayServiceNotifyArgs) Field1DeepEqual

func (p *PayServiceNotifyArgs) Field1DeepEqual(src *NotifyReq) bool

func (*PayServiceNotifyArgs) GetFirstArgument

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

func (*PayServiceNotifyArgs) GetRequest

func (p *PayServiceNotifyArgs) GetRequest() (v *NotifyReq)

func (*PayServiceNotifyArgs) InitDefault

func (p *PayServiceNotifyArgs) InitDefault()

func (*PayServiceNotifyArgs) IsSetRequest

func (p *PayServiceNotifyArgs) IsSetRequest() bool

func (*PayServiceNotifyArgs) Read

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

func (*PayServiceNotifyArgs) ReadField1

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

func (*PayServiceNotifyArgs) SetRequest

func (p *PayServiceNotifyArgs) SetRequest(val *NotifyReq)

func (*PayServiceNotifyArgs) String

func (p *PayServiceNotifyArgs) String() string

func (*PayServiceNotifyArgs) Write

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

type PayServiceNotifyResult

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

func NewPayServiceNotifyResult

func NewPayServiceNotifyResult() *PayServiceNotifyResult

func (*PayServiceNotifyResult) BLength

func (p *PayServiceNotifyResult) BLength() int

func (*PayServiceNotifyResult) DeepEqual

func (*PayServiceNotifyResult) FastRead

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

func (*PayServiceNotifyResult) FastReadField0

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

func (*PayServiceNotifyResult) FastWrite

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

for compatibility

func (*PayServiceNotifyResult) FastWriteNocopy

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

func (*PayServiceNotifyResult) Field0DeepEqual

func (p *PayServiceNotifyResult) Field0DeepEqual(src *NilResponse) bool

func (*PayServiceNotifyResult) GetResult

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

func (*PayServiceNotifyResult) GetSuccess

func (p *PayServiceNotifyResult) GetSuccess() (v *NilResponse)

func (*PayServiceNotifyResult) InitDefault

func (p *PayServiceNotifyResult) InitDefault()

func (*PayServiceNotifyResult) IsSetSuccess

func (p *PayServiceNotifyResult) IsSetSuccess() bool

func (*PayServiceNotifyResult) Read

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

func (*PayServiceNotifyResult) ReadField0

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

func (*PayServiceNotifyResult) SetSuccess

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

func (*PayServiceNotifyResult) String

func (p *PayServiceNotifyResult) String() string

func (*PayServiceNotifyResult) Write

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

type PayServiceProcessor

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

func NewPayServiceProcessor

func NewPayServiceProcessor(handler PayService) *PayServiceProcessor

func (*PayServiceProcessor) AddToProcessorMap

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

func (*PayServiceProcessor) GetProcessorFunction

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

func (*PayServiceProcessor) Process

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

func (*PayServiceProcessor) ProcessorMap

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

Directories

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

Jump to

Keyboard shortcuts

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