Documentation
¶
Index ¶
- Variables
- type TSrv
- type TSrvClient
- type TSrvProcessor
- func (p *TSrvProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TSrvProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TSrvProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TSrvProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TSrvTestArgs
- type TSrvTestResult
- type TestRep
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type TSrvClient ¶
type TSrvClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewTSrvClientFactory ¶
func NewTSrvClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TSrvClient
func NewTSrvClientProtocol ¶
func NewTSrvClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TSrvClient
type TSrvProcessor ¶
type TSrvProcessor struct {
// contains filtered or unexported fields
}
func NewTSrvProcessor ¶
func NewTSrvProcessor(handler TSrv) *TSrvProcessor
func (*TSrvProcessor) AddToProcessorMap ¶
func (p *TSrvProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TSrvProcessor) GetProcessorFunction ¶
func (p *TSrvProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TSrvProcessor) Process ¶
func (p *TSrvProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TSrvProcessor) ProcessorMap ¶
func (p *TSrvProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TSrvTestArgs ¶
type TSrvTestArgs struct {
Par *TestRep `thrift:"par,1" json:"par"`
}
Attributes:
- Par
func NewTSrvTestArgs ¶
func NewTSrvTestArgs() *TSrvTestArgs
func (*TSrvTestArgs) GetPar ¶
func (p *TSrvTestArgs) GetPar() *TestRep
func (*TSrvTestArgs) IsSetPar ¶
func (p *TSrvTestArgs) IsSetPar() bool
func (*TSrvTestArgs) String ¶
func (p *TSrvTestArgs) String() string
type TSrvTestResult ¶
type TSrvTestResult struct {
Success *TestRep `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewTSrvTestResult ¶
func NewTSrvTestResult() *TSrvTestResult
func (*TSrvTestResult) GetSuccess ¶
func (p *TSrvTestResult) GetSuccess() *TestRep
func (*TSrvTestResult) IsSetSuccess ¶
func (p *TSrvTestResult) IsSetSuccess() bool
func (*TSrvTestResult) String ¶
func (p *TSrvTestResult) String() string
Click to show internal directories.
Click to hide internal directories.