Documentation ¶
Index ¶
- Variables
- type Foo
- type FooBuilderdeprecated
- type TestService
- type TestServiceChannelClient
- type TestServiceClientdeprecated
- func NewTestServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *TestServiceClientdeprecated
- func NewTestServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *TestServiceClientdeprecated
- func NewTestServiceClientProtocol(prot thrift.Protocol) *TestServiceClientdeprecated
- func NewTestServiceThreadsafeClientProtocol(prot thrift.Protocol) *TestServiceClientdeprecated
- type TestServiceClientInterfacedeprecated
- type TestServiceProcessor
- func (p *TestServiceProcessor) AddToFunctionServiceMap(key, service string)
- func (p *TestServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *TestServiceProcessor) FunctionServiceMap() map[string]string
- func (p *TestServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *TestServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type TestServiceThreadsafeClientdeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type FooBuilder
deprecated
type FooBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use Foo.Set* methods instead or set the fields directly.
func NewFooBuilder ¶
func NewFooBuilder() *FooBuilder
func (*FooBuilder) Emit ¶
func (x *FooBuilder) Emit() *Foo
func (*FooBuilder) MyInt ¶
func (x *FooBuilder) MyInt(value int64) *FooBuilder
type TestService ¶
type TestServiceChannelClient ¶
type TestServiceChannelClient struct {
// contains filtered or unexported fields
}
func NewTestServiceChannelClient ¶
func NewTestServiceChannelClient(channel thrift.RequestChannel) *TestServiceChannelClient
func (*TestServiceChannelClient) Close ¶
func (c *TestServiceChannelClient) Close() error
func (*TestServiceChannelClient) IsOpen ¶
func (c *TestServiceChannelClient) IsOpen() bool
func (*TestServiceChannelClient) Open ¶
func (c *TestServiceChannelClient) Open() error
type TestServiceClient
deprecated
type TestServiceClient struct {
// contains filtered or unexported fields
}
Deprecated: Use TestServiceChannelClient instead.
func NewTestServiceClient
deprecated
func NewTestServiceClientFactory
deprecated
func NewTestServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *TestServiceClient
Deprecated: Use NewTestServiceChannelClient() instead.
func NewTestServiceClientProtocol
deprecated
func NewTestServiceClientProtocol(prot thrift.Protocol) *TestServiceClient
Deprecated: Use NewTestServiceChannelClient() instead.
func NewTestServiceThreadsafeClientProtocol
deprecated
func NewTestServiceThreadsafeClientProtocol(prot thrift.Protocol) *TestServiceClient
Deprecated: Use NewTestServiceChannelClient() instead.
func (*TestServiceClient) Close ¶
func (c *TestServiceClient) Close() error
func (*TestServiceClient) IsOpen ¶
func (c *TestServiceClient) IsOpen() bool
func (*TestServiceClient) Open ¶
func (c *TestServiceClient) Open() error
type TestServiceClientInterface
deprecated
type TestServiceClientInterface interface { thrift.ClientInterface Init(int1 int64) (int64, error) }
Deprecated: Use TestService instead.
type TestServiceProcessor ¶
type TestServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTestServiceProcessor ¶
func NewTestServiceProcessor(handler TestService) *TestServiceProcessor
func (*TestServiceProcessor) AddToFunctionServiceMap ¶
func (p *TestServiceProcessor) AddToFunctionServiceMap(key, service string)
func (*TestServiceProcessor) AddToProcessorMap ¶
func (p *TestServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*TestServiceProcessor) FunctionServiceMap ¶
func (p *TestServiceProcessor) FunctionServiceMap() map[string]string
func (*TestServiceProcessor) GetProcessorFunction ¶
func (p *TestServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*TestServiceProcessor) ProcessorMap ¶
func (p *TestServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type TestServiceThreadsafeClient
deprecated
type TestServiceThreadsafeClient = TestServiceClient
Deprecated: Use TestServiceChannelClient instead.
func NewTestServiceThreadsafeClient
deprecated
func NewTestServiceThreadsafeClientFactory
deprecated
func NewTestServiceThreadsafeClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *TestServiceThreadsafeClient
Deprecated: Use NewTestServiceChannelClient() instead.
Click to show internal directories.
Click to hide internal directories.