Versions in this module Expand all Collapse all v0 v0.4.1 Mar 14, 2016 v0.4.0 Mar 14, 2016 v0.3.0 Feb 19, 2016 Changes in this version + var GoUnusedProtection__ int + var SecondServiceEchoResult_Success_DEFAULT string + func NewTChanSecondServiceInheritedClient(thriftService string, client thrift.TChanClient) *tchanSecondServiceClient + func NewTChanSecondServiceServer(handler TChanSecondService) thrift.TChanServer + func NewTChanSimpleServiceInheritedClient(thriftService string, client thrift.TChanClient) *tchanSimpleServiceClient + func NewTChanSimpleServiceServer(handler TChanSimpleService) thrift.TChanServer + type Data struct + B1 bool + I3 int32 + S2 string + var SimpleServiceCallArgs_Arg_DEFAULT *Data + var SimpleServiceCallResult_Success_DEFAULT *Data + func NewData() *Data + func (p *Data) GetB1() bool + func (p *Data) GetI3() int32 + func (p *Data) GetS2() string + func (p *Data) Read(iprot thrift.TProtocol) error + func (p *Data) String() string + func (p *Data) Write(oprot thrift.TProtocol) error + type SecondService interface + Echo func(arg string) (r string, err error) + type SecondServiceClient struct + InputProtocol thrift.TProtocol + OutputProtocol thrift.TProtocol + ProtocolFactory thrift.TProtocolFactory + SeqId int32 + Transport thrift.TTransport + func NewSecondServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SecondServiceClient + func NewSecondServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SecondServiceClient + func (p *SecondServiceClient) Echo(arg string) (r string, err error) + type SecondServiceEchoArgs struct + Arg string + func NewSecondServiceEchoArgs() *SecondServiceEchoArgs + func (p *SecondServiceEchoArgs) GetArg() string + func (p *SecondServiceEchoArgs) Read(iprot thrift.TProtocol) error + func (p *SecondServiceEchoArgs) String() string + func (p *SecondServiceEchoArgs) Write(oprot thrift.TProtocol) error + type SecondServiceEchoResult struct + Success *string + func NewSecondServiceEchoResult() *SecondServiceEchoResult + func (p *SecondServiceEchoResult) GetSuccess() string + func (p *SecondServiceEchoResult) IsSetSuccess() bool + func (p *SecondServiceEchoResult) Read(iprot thrift.TProtocol) error + func (p *SecondServiceEchoResult) String() string + func (p *SecondServiceEchoResult) Write(oprot thrift.TProtocol) error + type SecondServiceProcessor struct + func NewSecondServiceProcessor(handler SecondService) *SecondServiceProcessor + func (p *SecondServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *SecondServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *SecondServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *SecondServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type SimpleErr struct + Message string + var SimpleServiceSimpleResult_SimpleErr_DEFAULT *SimpleErr + func NewSimpleErr() *SimpleErr + func (p *SimpleErr) Error() string + func (p *SimpleErr) GetMessage() string + func (p *SimpleErr) Read(iprot thrift.TProtocol) error + func (p *SimpleErr) String() string + func (p *SimpleErr) Write(oprot thrift.TProtocol) error + type SimpleService interface + Call func(arg *Data) (r *Data, err error) + Simple func() (err error) + type SimpleServiceCallArgs struct + Arg *Data + func NewSimpleServiceCallArgs() *SimpleServiceCallArgs + func (p *SimpleServiceCallArgs) GetArg() *Data + func (p *SimpleServiceCallArgs) IsSetArg() bool + func (p *SimpleServiceCallArgs) Read(iprot thrift.TProtocol) error + func (p *SimpleServiceCallArgs) String() string + func (p *SimpleServiceCallArgs) Write(oprot thrift.TProtocol) error + type SimpleServiceCallResult struct + Success *Data + func NewSimpleServiceCallResult() *SimpleServiceCallResult + func (p *SimpleServiceCallResult) GetSuccess() *Data + func (p *SimpleServiceCallResult) IsSetSuccess() bool + func (p *SimpleServiceCallResult) Read(iprot thrift.TProtocol) error + func (p *SimpleServiceCallResult) String() string + func (p *SimpleServiceCallResult) Write(oprot thrift.TProtocol) error + type SimpleServiceClient struct + InputProtocol thrift.TProtocol + OutputProtocol thrift.TProtocol + ProtocolFactory thrift.TProtocolFactory + SeqId int32 + Transport thrift.TTransport + func NewSimpleServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SimpleServiceClient + func NewSimpleServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SimpleServiceClient + func (p *SimpleServiceClient) Call(arg *Data) (r *Data, err error) + func (p *SimpleServiceClient) Simple() (err error) + type SimpleServiceProcessor struct + func NewSimpleServiceProcessor(handler SimpleService) *SimpleServiceProcessor + func (p *SimpleServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *SimpleServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *SimpleServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *SimpleServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type SimpleServiceSimpleArgs struct + func NewSimpleServiceSimpleArgs() *SimpleServiceSimpleArgs + func (p *SimpleServiceSimpleArgs) Read(iprot thrift.TProtocol) error + func (p *SimpleServiceSimpleArgs) String() string + func (p *SimpleServiceSimpleArgs) Write(oprot thrift.TProtocol) error + type SimpleServiceSimpleResult struct + SimpleErr *SimpleErr + func NewSimpleServiceSimpleResult() *SimpleServiceSimpleResult + func (p *SimpleServiceSimpleResult) GetSimpleErr() *SimpleErr + func (p *SimpleServiceSimpleResult) IsSetSimpleErr() bool + func (p *SimpleServiceSimpleResult) Read(iprot thrift.TProtocol) error + func (p *SimpleServiceSimpleResult) String() string + func (p *SimpleServiceSimpleResult) Write(oprot thrift.TProtocol) error + type TChanSecondService interface + Echo func(ctx thrift.Context, arg string) (string, error) + func NewTChanSecondServiceClient(client thrift.TChanClient) TChanSecondService + type TChanSimpleService interface + Call func(ctx thrift.Context, arg *Data) (*Data, error) + Simple func(ctx thrift.Context) error + func NewTChanSimpleServiceClient(client thrift.TChanClient) TChanSimpleService