Documentation ¶
Index ¶
- Variables
- type AddService
- type AddServiceClient
- type AddServiceConcatArgs
- type AddServiceConcatResult
- 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 AddServiceSumArgs
- type AddServiceSumResult
- type ConcatReply
- type SumReply
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 AddServiceConcatArgs ¶
type AddServiceConcatArgs struct { A string `thrift:"a,1" json:"a"` B string `thrift:"b,2" json:"b"` }
Attributes:
- A
- B
func NewAddServiceConcatArgs ¶
func NewAddServiceConcatArgs() *AddServiceConcatArgs
func (*AddServiceConcatArgs) GetA ¶
func (p *AddServiceConcatArgs) GetA() string
func (*AddServiceConcatArgs) GetB ¶
func (p *AddServiceConcatArgs) GetB() string
func (*AddServiceConcatArgs) Read ¶
func (p *AddServiceConcatArgs) Read(iprot thrift.TProtocol) error
func (*AddServiceConcatArgs) String ¶
func (p *AddServiceConcatArgs) String() string
type AddServiceConcatResult ¶
type AddServiceConcatResult struct {
Success *ConcatReply `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAddServiceConcatResult ¶
func NewAddServiceConcatResult() *AddServiceConcatResult
func (*AddServiceConcatResult) GetSuccess ¶
func (p *AddServiceConcatResult) GetSuccess() *ConcatReply
func (*AddServiceConcatResult) IsSetSuccess ¶
func (p *AddServiceConcatResult) IsSetSuccess() bool
func (*AddServiceConcatResult) Read ¶
func (p *AddServiceConcatResult) Read(iprot thrift.TProtocol) error
func (*AddServiceConcatResult) String ¶
func (p *AddServiceConcatResult) String() string
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 AddServiceSumArgs ¶
Attributes:
- A
- B
func NewAddServiceSumArgs ¶
func NewAddServiceSumArgs() *AddServiceSumArgs
func (*AddServiceSumArgs) GetA ¶
func (p *AddServiceSumArgs) GetA() int64
func (*AddServiceSumArgs) GetB ¶
func (p *AddServiceSumArgs) GetB() int64
func (*AddServiceSumArgs) String ¶
func (p *AddServiceSumArgs) String() string
type AddServiceSumResult ¶
type AddServiceSumResult struct {
Success *SumReply `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAddServiceSumResult ¶
func NewAddServiceSumResult() *AddServiceSumResult
func (*AddServiceSumResult) GetSuccess ¶
func (p *AddServiceSumResult) GetSuccess() *SumReply
func (*AddServiceSumResult) IsSetSuccess ¶
func (p *AddServiceSumResult) IsSetSuccess() bool
func (*AddServiceSumResult) String ¶
func (p *AddServiceSumResult) String() string
type ConcatReply ¶
type ConcatReply struct {
Value string `thrift:"value,1" json:"value"`
}
Attributes:
- Value
var AddServiceConcatResult_Success_DEFAULT *ConcatReply
func NewConcatReply ¶
func NewConcatReply() *ConcatReply
func (*ConcatReply) GetValue ¶
func (p *ConcatReply) GetValue() string
func (*ConcatReply) String ¶
func (p *ConcatReply) String() string
Click to show internal directories.
Click to hide internal directories.