Documentation ¶
Index ¶
- Variables
- type AddService
- type AddServiceClient
- type AddServiceProcessor
- func (p *AddServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AddServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AddServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AddServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ConcatArgs
- func (p *ConcatArgs) GetA() string
- func (p *ConcatArgs) GetB() string
- func (p *ConcatArgs) Read(iprot thrift.TProtocol) error
- func (p *ConcatArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ConcatArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *ConcatArgs) String() string
- func (p *ConcatArgs) Write(oprot thrift.TProtocol) error
- type ConcatReply
- type ConcatResult
- func (p *ConcatResult) GetSuccess() *ConcatReply
- func (p *ConcatResult) IsSetSuccess() bool
- func (p *ConcatResult) Read(iprot thrift.TProtocol) error
- func (p *ConcatResult) ReadField0(iprot thrift.TProtocol) error
- func (p *ConcatResult) String() string
- func (p *ConcatResult) Write(oprot thrift.TProtocol) error
- type SumArgs
- func (p *SumArgs) GetA() int64
- func (p *SumArgs) GetB() int64
- func (p *SumArgs) Read(iprot thrift.TProtocol) error
- func (p *SumArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *SumArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *SumArgs) String() string
- func (p *SumArgs) Write(oprot thrift.TProtocol) error
- type SumReply
- type SumResult
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AddService ¶
type AddServiceClient ¶
type AddServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewAddServiceClientFactory ¶
func NewAddServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AddServiceClient
func NewAddServiceClientProtocol ¶
func NewAddServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AddServiceClient
func (*AddServiceClient) Concat ¶
func (p *AddServiceClient) Concat(a string, b string) (r *ConcatReply, err error)
Parameters:
- A
- B
type AddServiceProcessor ¶
type AddServiceProcessor struct {
// contains filtered or unexported fields
}
func NewAddServiceProcessor ¶
func NewAddServiceProcessor(handler AddService) *AddServiceProcessor
func (*AddServiceProcessor) AddToProcessorMap ¶
func (p *AddServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AddServiceProcessor) GetProcessorFunction ¶
func (p *AddServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AddServiceProcessor) Process ¶
func (p *AddServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AddServiceProcessor) ProcessorMap ¶
func (p *AddServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type ConcatArgs ¶
func NewConcatArgs ¶
func NewConcatArgs() *ConcatArgs
func (*ConcatArgs) GetA ¶
func (p *ConcatArgs) GetA() string
func (*ConcatArgs) GetB ¶
func (p *ConcatArgs) GetB() string
func (*ConcatArgs) ReadField1 ¶
func (p *ConcatArgs) ReadField1(iprot thrift.TProtocol) error
func (*ConcatArgs) ReadField2 ¶
func (p *ConcatArgs) ReadField2(iprot thrift.TProtocol) error
func (*ConcatArgs) String ¶
func (p *ConcatArgs) String() string
type ConcatReply ¶
type ConcatReply struct {
Value string `thrift:"value,1" json:"value"`
}
var ConcatResult_Success_DEFAULT *ConcatReply
func NewConcatReply ¶
func NewConcatReply() *ConcatReply
func (*ConcatReply) GetValue ¶
func (p *ConcatReply) GetValue() string
func (*ConcatReply) ReadField1 ¶
func (p *ConcatReply) ReadField1(iprot thrift.TProtocol) error
func (*ConcatReply) String ¶
func (p *ConcatReply) String() string
type ConcatResult ¶
type ConcatResult struct {
Success *ConcatReply `thrift:"success,0" json:"success"`
}
func NewConcatResult ¶
func NewConcatResult() *ConcatResult
func (*ConcatResult) GetSuccess ¶
func (p *ConcatResult) GetSuccess() *ConcatReply
func (*ConcatResult) IsSetSuccess ¶
func (p *ConcatResult) IsSetSuccess() bool
func (*ConcatResult) ReadField0 ¶
func (p *ConcatResult) ReadField0(iprot thrift.TProtocol) error
func (*ConcatResult) String ¶
func (p *ConcatResult) String() string
type SumArgs ¶
func NewSumArgs ¶
func NewSumArgs() *SumArgs
type SumReply ¶
type SumReply struct {
Value int64 `thrift:"value,1" json:"value"`
}
var SumResult_Success_DEFAULT *SumReply
func NewSumReply ¶
func NewSumReply() *SumReply
type SumResult ¶
type SumResult struct {
Success *SumReply `thrift:"success,0" json:"success"`
}
func NewSumResult ¶
func NewSumResult() *SumResult
func (*SumResult) GetSuccess ¶
func (*SumResult) IsSetSuccess ¶
Click to show internal directories.
Click to hide internal directories.