Documentation ¶
Index ¶
- Variables
- type BuyGoodsReq
- func (p *BuyGoodsReq) BLength() int
- func (p *BuyGoodsReq) DeepEqual(ano *BuyGoodsReq) bool
- func (p *BuyGoodsReq) FastRead(buf []byte) (int, error)
- func (p *BuyGoodsReq) FastReadField1(buf []byte) (int, error)
- func (p *BuyGoodsReq) FastWrite(buf []byte) int
- func (p *BuyGoodsReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BuyGoodsReq) Field1DeepEqual(src string) bool
- func (p *BuyGoodsReq) GetSubject() (v string)
- func (p *BuyGoodsReq) InitDefault()
- func (p *BuyGoodsReq) Read(iprot thrift.TProtocol) (err error)
- func (p *BuyGoodsReq) ReadField1(iprot thrift.TProtocol) error
- func (p *BuyGoodsReq) SetSubject(val string)
- func (p *BuyGoodsReq) String() string
- func (p *BuyGoodsReq) Write(oprot thrift.TProtocol) (err error)
- type CallBackReq
- func (p *CallBackReq) BLength() int
- func (p *CallBackReq) DeepEqual(ano *CallBackReq) bool
- func (p *CallBackReq) FastRead(buf []byte) (int, error)
- func (p *CallBackReq) FastWrite(buf []byte) int
- func (p *CallBackReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CallBackReq) InitDefault()
- func (p *CallBackReq) Read(iprot thrift.TProtocol) (err error)
- func (p *CallBackReq) String() string
- func (p *CallBackReq) Write(oprot thrift.TProtocol) (err error)
- type NilResponse
- func (p *NilResponse) BLength() int
- func (p *NilResponse) DeepEqual(ano *NilResponse) bool
- func (p *NilResponse) FastRead(buf []byte) (int, error)
- func (p *NilResponse) FastWrite(buf []byte) int
- func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NilResponse) InitDefault()
- func (p *NilResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *NilResponse) String() string
- func (p *NilResponse) Write(oprot thrift.TProtocol) (err error)
- type NotifyReq
- func (p *NotifyReq) BLength() int
- func (p *NotifyReq) DeepEqual(ano *NotifyReq) bool
- func (p *NotifyReq) FastRead(buf []byte) (int, error)
- func (p *NotifyReq) FastWrite(buf []byte) int
- func (p *NotifyReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NotifyReq) InitDefault()
- func (p *NotifyReq) Read(iprot thrift.TProtocol) (err error)
- func (p *NotifyReq) String() string
- func (p *NotifyReq) Write(oprot thrift.TProtocol) (err error)
- type PayService
- type PayServiceClient
- type PayServiceNotifyArgs
- func (p *PayServiceNotifyArgs) BLength() int
- func (p *PayServiceNotifyArgs) DeepEqual(ano *PayServiceNotifyArgs) bool
- func (p *PayServiceNotifyArgs) FastRead(buf []byte) (int, error)
- func (p *PayServiceNotifyArgs) FastReadField1(buf []byte) (int, error)
- func (p *PayServiceNotifyArgs) FastWrite(buf []byte) int
- func (p *PayServiceNotifyArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PayServiceNotifyArgs) Field1DeepEqual(src *NotifyReq) bool
- func (p *PayServiceNotifyArgs) GetFirstArgument() interface{}
- func (p *PayServiceNotifyArgs) GetRequest() (v *NotifyReq)
- func (p *PayServiceNotifyArgs) InitDefault()
- func (p *PayServiceNotifyArgs) IsSetRequest() bool
- func (p *PayServiceNotifyArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PayServiceNotifyArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PayServiceNotifyArgs) SetRequest(val *NotifyReq)
- func (p *PayServiceNotifyArgs) String() string
- func (p *PayServiceNotifyArgs) Write(oprot thrift.TProtocol) (err error)
- type PayServiceNotifyResult
- func (p *PayServiceNotifyResult) BLength() int
- func (p *PayServiceNotifyResult) DeepEqual(ano *PayServiceNotifyResult) bool
- func (p *PayServiceNotifyResult) FastRead(buf []byte) (int, error)
- func (p *PayServiceNotifyResult) FastReadField0(buf []byte) (int, error)
- func (p *PayServiceNotifyResult) FastWrite(buf []byte) int
- func (p *PayServiceNotifyResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PayServiceNotifyResult) Field0DeepEqual(src *NilResponse) bool
- func (p *PayServiceNotifyResult) GetResult() interface{}
- func (p *PayServiceNotifyResult) GetSuccess() (v *NilResponse)
- func (p *PayServiceNotifyResult) InitDefault()
- func (p *PayServiceNotifyResult) IsSetSuccess() bool
- func (p *PayServiceNotifyResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PayServiceNotifyResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PayServiceNotifyResult) SetSuccess(x interface{})
- func (p *PayServiceNotifyResult) String() string
- func (p *PayServiceNotifyResult) Write(oprot thrift.TProtocol) (err error)
- type PayServiceProcessor
- func (p *PayServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PayServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PayServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PayServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
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) FastReadField1 ¶
func (p *BuyGoodsReq) FastReadField1(buf []byte) (int, error)
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) 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
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) FastWriteNocopy ¶
func (p *CallBackReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CallBackReq) InitDefault ¶
func (p *CallBackReq) InitDefault()
func (*CallBackReq) String ¶
func (p *CallBackReq) String() string
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) FastWriteNocopy ¶
func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*NilResponse) InitDefault ¶
func (p *NilResponse) InitDefault()
func (*NilResponse) String ¶
func (p *NilResponse) String() string
type NotifyReq ¶
type NotifyReq struct { }
var PayServiceNotifyArgs_Request_DEFAULT *NotifyReq
func NewNotifyReq ¶
func NewNotifyReq() *NotifyReq
func (*NotifyReq) FastWriteNocopy ¶
func (p *NotifyReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*NotifyReq) InitDefault ¶
func (p *NotifyReq) InitDefault()
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 NewPayServiceClientFactory ¶
func NewPayServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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
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 (p *PayServiceNotifyResult) DeepEqual(ano *PayServiceNotifyResult) bool
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
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
Click to show internal directories.
Click to hide internal directories.