Versions in this module Expand all Collapse all v1 v1.0.1 May 19, 2024 Changes in this version + var GoUnusedProtection__ int + type SharedService interface + GetStruct func(ctx context.Context, key int32) (_r *SharedStruct, _err error) + type SharedServiceClient struct + func NewSharedServiceClient(c thrift.TClient) *SharedServiceClient + func NewSharedServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SharedServiceClient + func NewSharedServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SharedServiceClient + func (p *SharedServiceClient) Client_() thrift.TClient + func (p *SharedServiceClient) GetStruct(ctx context.Context, key int32) (_r *SharedStruct, _err error) + func (p *SharedServiceClient) LastResponseMeta_() thrift.ResponseMeta + func (p *SharedServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta) + type SharedServiceGetStructArgs struct + Key int32 + func NewSharedServiceGetStructArgs() *SharedServiceGetStructArgs + func (p *SharedServiceGetStructArgs) GetKey() int32 + func (p *SharedServiceGetStructArgs) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedServiceGetStructArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedServiceGetStructArgs) String() string + func (p *SharedServiceGetStructArgs) Write(ctx context.Context, oprot thrift.TProtocol) error + type SharedServiceGetStructResult struct + Success *SharedStruct + func NewSharedServiceGetStructResult() *SharedServiceGetStructResult + func (p *SharedServiceGetStructResult) GetSuccess() *SharedStruct + func (p *SharedServiceGetStructResult) IsSetSuccess() bool + func (p *SharedServiceGetStructResult) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedServiceGetStructResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedServiceGetStructResult) String() string + func (p *SharedServiceGetStructResult) Write(ctx context.Context, oprot thrift.TProtocol) error + type SharedServiceProcessor struct + func NewSharedServiceProcessor(handler SharedService) *SharedServiceProcessor + func (p *SharedServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *SharedServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *SharedServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *SharedServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type SharedStruct struct + Key int32 + Value string + var SharedServiceGetStructResult_Success_DEFAULT *SharedStruct + func NewSharedStruct() *SharedStruct + func (p *SharedStruct) Equals(other *SharedStruct) bool + func (p *SharedStruct) GetKey() int32 + func (p *SharedStruct) GetValue() string + func (p *SharedStruct) Read(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedStruct) ReadField1(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedStruct) ReadField2(ctx context.Context, iprot thrift.TProtocol) error + func (p *SharedStruct) String() string + func (p *SharedStruct) Validate() error + func (p *SharedStruct) Write(ctx context.Context, oprot thrift.TProtocol) error