Documentation ¶
Index ¶
- type HelloReq
- type HelloResp
- func (p *HelloResp) GetRespBody() (v string)
- func (p *HelloResp) IsValid() error
- func (p *HelloResp) Read(iprot thrift.TProtocol) (err error)
- func (p *HelloResp) ReadField1(iprot thrift.TProtocol) error
- func (p *HelloResp) String() string
- func (p *HelloResp) Write(oprot thrift.TProtocol) (err error)
- type HelloService
- type HelloServiceClient
- type HelloServiceHelloMethodArgs
- func (p *HelloServiceHelloMethodArgs) GetRequest() (v *HelloReq)
- func (p *HelloServiceHelloMethodArgs) IsSetRequest() bool
- func (p *HelloServiceHelloMethodArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *HelloServiceHelloMethodArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *HelloServiceHelloMethodArgs) String() string
- func (p *HelloServiceHelloMethodArgs) Write(oprot thrift.TProtocol) (err error)
- type HelloServiceHelloMethodResult
- func (p *HelloServiceHelloMethodResult) GetSuccess() (v *HelloResp)
- func (p *HelloServiceHelloMethodResult) IsSetSuccess() bool
- func (p *HelloServiceHelloMethodResult) Read(iprot thrift.TProtocol) (err error)
- func (p *HelloServiceHelloMethodResult) ReadField0(iprot thrift.TProtocol) error
- func (p *HelloServiceHelloMethodResult) String() string
- func (p *HelloServiceHelloMethodResult) Write(oprot thrift.TProtocol) (err error)
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloReq ¶
type HelloReq struct {
Name string `thrift:"Name,1" json:"Name" query:"name"`
}
var HelloServiceHelloMethodArgs_Request_DEFAULT *HelloReq
func NewHelloReq ¶
func NewHelloReq() *HelloReq
type HelloResp ¶
type HelloResp struct {
RespBody string `thrift:"RespBody,1" form:"RespBody" json:"RespBody" query:"RespBody"`
}
var HelloServiceHelloMethodResult_Success_DEFAULT *HelloResp
func NewHelloResp ¶
func NewHelloResp() *HelloResp
func (*HelloResp) GetRespBody ¶
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) HelloMethod ¶
type HelloServiceHelloMethodArgs ¶
type HelloServiceHelloMethodArgs struct {
Request *HelloReq `thrift:"request,1"`
}
func NewHelloServiceHelloMethodArgs ¶
func NewHelloServiceHelloMethodArgs() *HelloServiceHelloMethodArgs
func (*HelloServiceHelloMethodArgs) GetRequest ¶
func (p *HelloServiceHelloMethodArgs) GetRequest() (v *HelloReq)
func (*HelloServiceHelloMethodArgs) IsSetRequest ¶
func (p *HelloServiceHelloMethodArgs) IsSetRequest() bool
func (*HelloServiceHelloMethodArgs) Read ¶
func (p *HelloServiceHelloMethodArgs) Read(iprot thrift.TProtocol) (err error)
func (*HelloServiceHelloMethodArgs) ReadField1 ¶
func (p *HelloServiceHelloMethodArgs) ReadField1(iprot thrift.TProtocol) error
func (*HelloServiceHelloMethodArgs) String ¶
func (p *HelloServiceHelloMethodArgs) String() string
type HelloServiceHelloMethodResult ¶
type HelloServiceHelloMethodResult struct {
Success *HelloResp `thrift:"success,0,optional"`
}
func NewHelloServiceHelloMethodResult ¶
func NewHelloServiceHelloMethodResult() *HelloServiceHelloMethodResult
func (*HelloServiceHelloMethodResult) GetSuccess ¶
func (p *HelloServiceHelloMethodResult) GetSuccess() (v *HelloResp)
func (*HelloServiceHelloMethodResult) IsSetSuccess ¶
func (p *HelloServiceHelloMethodResult) IsSetSuccess() bool
func (*HelloServiceHelloMethodResult) Read ¶
func (p *HelloServiceHelloMethodResult) Read(iprot thrift.TProtocol) (err error)
func (*HelloServiceHelloMethodResult) ReadField0 ¶
func (p *HelloServiceHelloMethodResult) ReadField0(iprot thrift.TProtocol) error
func (*HelloServiceHelloMethodResult) String ¶
func (p *HelloServiceHelloMethodResult) String() string
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
Click to show internal directories.
Click to hide internal directories.