Documentation ¶
Index ¶
- Variables
- type HelloService
- type HelloServiceClient
- type HelloServiceProcessor
- func (p *HelloServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *HelloServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *HelloServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *HelloServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type HelloServiceSayHelloArgs
- func (p *HelloServiceSayHelloArgs) GetName() string
- func (p *HelloServiceSayHelloArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *HelloServiceSayHelloArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *HelloServiceSayHelloArgs) String() string
- func (p *HelloServiceSayHelloArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type HelloServiceSayHelloResult
- func (p *HelloServiceSayHelloResult) GetSuccess() string
- func (p *HelloServiceSayHelloResult) IsSetSuccess() bool
- func (p *HelloServiceSayHelloResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *HelloServiceSayHelloResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *HelloServiceSayHelloResult) String() string
- func (p *HelloServiceSayHelloResult) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var HelloServiceSayHelloResult_Success_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type HelloService ¶
type HelloServiceClient ¶
type HelloServiceClient struct {
// contains filtered or unexported fields
}
func NewHelloServiceClient ¶
func NewHelloServiceClient(c thrift.TClient) *HelloServiceClient
func NewHelloServiceClientFactory ¶
func NewHelloServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *HelloServiceClient
func NewHelloServiceClientProtocol ¶
func NewHelloServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *HelloServiceClient
func (*HelloServiceClient) Client_ ¶
func (p *HelloServiceClient) Client_() thrift.TClient
func (*HelloServiceClient) LastResponseMeta_ ¶
func (p *HelloServiceClient) LastResponseMeta_() thrift.ResponseMeta
func (*HelloServiceClient) SetLastResponseMeta_ ¶
func (p *HelloServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
type HelloServiceProcessor ¶
type HelloServiceProcessor struct {
// contains filtered or unexported fields
}
func NewHelloServiceProcessor ¶
func NewHelloServiceProcessor(handler HelloService) *HelloServiceProcessor
func (*HelloServiceProcessor) AddToProcessorMap ¶
func (p *HelloServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*HelloServiceProcessor) GetProcessorFunction ¶
func (p *HelloServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*HelloServiceProcessor) Process ¶
func (p *HelloServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*HelloServiceProcessor) ProcessorMap ¶
func (p *HelloServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type HelloServiceSayHelloArgs ¶
type HelloServiceSayHelloArgs struct {
Name string `thrift:"name,1,required" db:"name" json:"name"`
}
Attributes:
- Name
func NewHelloServiceSayHelloArgs ¶
func NewHelloServiceSayHelloArgs() *HelloServiceSayHelloArgs
func (*HelloServiceSayHelloArgs) GetName ¶
func (p *HelloServiceSayHelloArgs) GetName() string
func (*HelloServiceSayHelloArgs) ReadField1 ¶
func (*HelloServiceSayHelloArgs) String ¶
func (p *HelloServiceSayHelloArgs) String() string
type HelloServiceSayHelloResult ¶
type HelloServiceSayHelloResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHelloServiceSayHelloResult ¶
func NewHelloServiceSayHelloResult() *HelloServiceSayHelloResult
func (*HelloServiceSayHelloResult) GetSuccess ¶
func (p *HelloServiceSayHelloResult) GetSuccess() string
func (*HelloServiceSayHelloResult) IsSetSuccess ¶
func (p *HelloServiceSayHelloResult) IsSetSuccess() bool
func (*HelloServiceSayHelloResult) ReadField0 ¶
func (*HelloServiceSayHelloResult) String ¶
func (p *HelloServiceSayHelloResult) String() string
Click to show internal directories.
Click to hide internal directories.