Documentation ¶
Index ¶
- Variables
- type AddArgs
- func (p *AddArgs) GetA() int64
- func (p *AddArgs) GetB() int64
- func (p *AddArgs) Read(iprot thrift.TProtocol) error
- func (p *AddArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AddArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *AddArgs) String() string
- func (p *AddArgs) Write(oprot thrift.TProtocol) error
- type AddReply
- type AddResult
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AddArgs ¶
func NewAddArgs ¶
func NewAddArgs() *AddArgs
type AddReply ¶
type AddReply struct {
Value int64 `thrift:"value,1" json:"value"`
}
var AddResult_Success_DEFAULT *AddReply
func NewAddReply ¶
func NewAddReply() *AddReply
type AddResult ¶
type AddResult struct {
Success *AddReply `thrift:"success,0" json:"success"`
}
func NewAddResult ¶
func NewAddResult() *AddResult
func (*AddResult) GetSuccess ¶
func (*AddResult) IsSetSuccess ¶
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
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
Click to show internal directories.
Click to hide internal directories.