Documentation ¶
Index ¶
- Variables
- type Echo
- type EchoClient
- type EchoPingArgs
- func (p *EchoPingArgs) GetRequest() *Request
- func (p *EchoPingArgs) IsSetRequest() bool
- func (p *EchoPingArgs) Read(iprot thrift.TProtocol) error
- func (p *EchoPingArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *EchoPingArgs) String() string
- func (p *EchoPingArgs) Write(oprot thrift.TProtocol) error
- type EchoProcessor
- func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *EchoProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type Request
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type EchoClient ¶
type EchoClient struct {
// contains filtered or unexported fields
}
func NewEchoClient ¶
func NewEchoClient(c thrift.TClient) *EchoClient
func NewEchoClientFactory ¶
func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *EchoClient
func NewEchoClientProtocol ¶
func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *EchoClient
func (*EchoClient) Client_ ¶
func (p *EchoClient) Client_() thrift.TClient
type EchoPingArgs ¶
type EchoPingArgs struct {
Request *Request `thrift:"request,1" db:"request" json:"request"`
}
Attributes:
- Request
func NewEchoPingArgs ¶
func NewEchoPingArgs() *EchoPingArgs
func (*EchoPingArgs) GetRequest ¶
func (p *EchoPingArgs) GetRequest() *Request
func (*EchoPingArgs) IsSetRequest ¶
func (p *EchoPingArgs) IsSetRequest() bool
func (*EchoPingArgs) ReadField1 ¶
func (p *EchoPingArgs) ReadField1(iprot thrift.TProtocol) error
func (*EchoPingArgs) String ¶
func (p *EchoPingArgs) String() string
type EchoProcessor ¶
type EchoProcessor struct {
// contains filtered or unexported fields
}
func NewEchoProcessor ¶
func NewEchoProcessor(handler Echo) *EchoProcessor
func (*EchoProcessor) AddToProcessorMap ¶
func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*EchoProcessor) GetProcessorFunction ¶
func (p *EchoProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*EchoProcessor) Process ¶
func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*EchoProcessor) ProcessorMap ¶
func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type Request ¶
type Request struct {
Message string `thrift:"message,1" db:"message" json:"message"`
}
Attributes:
- Message
var EchoPingArgs_Request_DEFAULT *Request
func NewRequest ¶
func NewRequest() *Request
func (*Request) GetMessage ¶
Click to show internal directories.
Click to hide internal directories.