Versions in this module Expand all Collapse all v1 v1.0.1 Dec 10, 2024 Changes in this version + var GoUnusedProtection__ int + type EchoService interface + Echo func(ctx context.Context, req *Request) (_r *Response, _err error) + VisitOneway func(ctx context.Context, req *Request) (_err error) + type EchoServiceClient struct + func NewEchoServiceClient(c thrift.TClient) *EchoServiceClient + func NewEchoServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *EchoServiceClient + func NewEchoServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *EchoServiceClient + func (p *EchoServiceClient) Client_() thrift.TClient + func (p *EchoServiceClient) Echo(ctx context.Context, req *Request) (_r *Response, _err error) + func (p *EchoServiceClient) LastResponseMeta_() thrift.ResponseMeta + func (p *EchoServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta) + func (p *EchoServiceClient) VisitOneway(ctx context.Context, req *Request) (_err error) + type EchoServiceEchoArgs struct + Req *Request + func NewEchoServiceEchoArgs() *EchoServiceEchoArgs + func (p *EchoServiceEchoArgs) GetReq() *Request + func (p *EchoServiceEchoArgs) IsSetReq() bool + func (p *EchoServiceEchoArgs) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceEchoArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceEchoArgs) String() string + func (p *EchoServiceEchoArgs) Write(ctx context.Context, oprot thrift.TProtocol) error + type EchoServiceEchoResult struct + Success *Response + func NewEchoServiceEchoResult() *EchoServiceEchoResult + func (p *EchoServiceEchoResult) GetSuccess() *Response + func (p *EchoServiceEchoResult) IsSetSuccess() bool + func (p *EchoServiceEchoResult) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceEchoResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceEchoResult) String() string + func (p *EchoServiceEchoResult) Write(ctx context.Context, oprot thrift.TProtocol) error + type EchoServiceProcessor struct + func NewEchoServiceProcessor(handler EchoService) *EchoServiceProcessor + func (p *EchoServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *EchoServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *EchoServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *EchoServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type EchoServiceVisitOnewayArgs struct + Req *Request + func NewEchoServiceVisitOnewayArgs() *EchoServiceVisitOnewayArgs + func (p *EchoServiceVisitOnewayArgs) GetReq() *Request + func (p *EchoServiceVisitOnewayArgs) IsSetReq() bool + func (p *EchoServiceVisitOnewayArgs) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceVisitOnewayArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *EchoServiceVisitOnewayArgs) String() string + func (p *EchoServiceVisitOnewayArgs) Write(ctx context.Context, oprot thrift.TProtocol) error + type Request struct + Msg string + var EchoServiceEchoArgs_Req_DEFAULT *Request + var EchoServiceVisitOnewayArgs_Req_DEFAULT *Request + func NewRequest() *Request + func (p *Request) Equals(other *Request) bool + func (p *Request) GetMsg() string + func (p *Request) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *Request) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *Request) String() string + func (p *Request) Validate() error + func (p *Request) Write(ctx context.Context, oprot thrift.TProtocol) error + type Response struct + Msg string + var EchoServiceEchoResult_Success_DEFAULT *Response + func NewResponse() *Response + func (p *Response) Equals(other *Response) bool + func (p *Response) GetMsg() string + func (p *Response) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *Response) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *Response) String() string + func (p *Response) Validate() error + func (p *Response) Write(ctx context.Context, oprot thrift.TProtocol) error