Documentation ¶
Index ¶
- Variables
- type FooReply
- type FooRequest
- type TestThriftService
- type TestThriftServiceClient
- type TestThriftServiceFooArgs
- func (p *TestThriftServiceFooArgs) GetReq() *FooRequest
- func (p *TestThriftServiceFooArgs) IsSetReq() bool
- func (p *TestThriftServiceFooArgs) Read(iprot thrift.TProtocol) error
- func (p *TestThriftServiceFooArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TestThriftServiceFooArgs) String() string
- func (p *TestThriftServiceFooArgs) Write(oprot thrift.TProtocol) error
- type TestThriftServiceFooResult
- func (p *TestThriftServiceFooResult) GetSuccess() *FooReply
- func (p *TestThriftServiceFooResult) IsSetSuccess() bool
- func (p *TestThriftServiceFooResult) Read(iprot thrift.TProtocol) error
- func (p *TestThriftServiceFooResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TestThriftServiceFooResult) String() string
- func (p *TestThriftServiceFooResult) Write(oprot thrift.TProtocol) error
- type TestThriftServiceProcessor
- func (p *TestThriftServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TestThriftServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TestThriftServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TestThriftServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type FooReply ¶
type FooReply struct { }
var TestThriftServiceFooResult_Success_DEFAULT *FooReply
func NewFooReply ¶
func NewFooReply() *FooReply
type FooRequest ¶
type FooRequest struct { }
var TestThriftServiceFooArgs_Req_DEFAULT *FooRequest
func NewFooRequest ¶
func NewFooRequest() *FooRequest
func (*FooRequest) String ¶
func (p *FooRequest) String() string
type TestThriftService ¶
type TestThriftService interface { // Parameters: // - Req Foo(req *FooRequest) (r *FooReply, err error) }
type TestThriftServiceClient ¶
type TestThriftServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewTestThriftServiceClientFactory ¶
func NewTestThriftServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TestThriftServiceClient
func NewTestThriftServiceClientProtocol ¶
func NewTestThriftServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TestThriftServiceClient
func (*TestThriftServiceClient) Foo ¶
func (p *TestThriftServiceClient) Foo(req *FooRequest) (r *FooReply, err error)
Parameters:
- Req
type TestThriftServiceFooArgs ¶
type TestThriftServiceFooArgs struct {
Req *FooRequest `thrift:"req,1" db:"req" json:"req"`
}
Attributes:
- Req
func NewTestThriftServiceFooArgs ¶
func NewTestThriftServiceFooArgs() *TestThriftServiceFooArgs
func (*TestThriftServiceFooArgs) GetReq ¶
func (p *TestThriftServiceFooArgs) GetReq() *FooRequest
func (*TestThriftServiceFooArgs) IsSetReq ¶
func (p *TestThriftServiceFooArgs) IsSetReq() bool
func (*TestThriftServiceFooArgs) Read ¶
func (p *TestThriftServiceFooArgs) Read(iprot thrift.TProtocol) error
func (*TestThriftServiceFooArgs) ReadField1 ¶
func (p *TestThriftServiceFooArgs) ReadField1(iprot thrift.TProtocol) error
func (*TestThriftServiceFooArgs) String ¶
func (p *TestThriftServiceFooArgs) String() string
type TestThriftServiceFooResult ¶
type TestThriftServiceFooResult struct {
Success *FooReply `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTestThriftServiceFooResult ¶
func NewTestThriftServiceFooResult() *TestThriftServiceFooResult
func (*TestThriftServiceFooResult) GetSuccess ¶
func (p *TestThriftServiceFooResult) GetSuccess() *FooReply
func (*TestThriftServiceFooResult) IsSetSuccess ¶
func (p *TestThriftServiceFooResult) IsSetSuccess() bool
func (*TestThriftServiceFooResult) Read ¶
func (p *TestThriftServiceFooResult) Read(iprot thrift.TProtocol) error
func (*TestThriftServiceFooResult) ReadField0 ¶
func (p *TestThriftServiceFooResult) ReadField0(iprot thrift.TProtocol) error
func (*TestThriftServiceFooResult) String ¶
func (p *TestThriftServiceFooResult) String() string
type TestThriftServiceProcessor ¶
type TestThriftServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTestThriftServiceProcessor ¶
func NewTestThriftServiceProcessor(handler TestThriftService) *TestThriftServiceProcessor
func (*TestThriftServiceProcessor) AddToProcessorMap ¶
func (p *TestThriftServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TestThriftServiceProcessor) GetProcessorFunction ¶
func (p *TestThriftServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TestThriftServiceProcessor) Process ¶
func (p *TestThriftServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TestThriftServiceProcessor) ProcessorMap ¶
func (p *TestThriftServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.