module

package
v0.0.0-...-7428086 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Foo

type Foo struct {
	MyInt int64 `thrift:"MyInt,1" json:"MyInt" db:"MyInt"`
}

func NewFoo

func NewFoo() *Foo

func (*Foo) GetMyInt

func (x *Foo) GetMyInt() int64

func (*Foo) Read

func (x *Foo) Read(p thrift.Protocol) error

func (*Foo) SetMyInt

func (x *Foo) SetMyInt(value int64) *Foo

func (*Foo) Write

func (x *Foo) Write(p thrift.Protocol) error

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 TestService interface {
	Init(ctx context.Context, int1 int64) (int64, error)
}

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) Init

func (c *TestServiceChannelClient) Init(ctx context.Context, int1 int64) (int64, 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 NewTestServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *TestServiceClient

Deprecated: Use NewTestServiceChannelClient() instead.

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) Init

func (c *TestServiceClient) Init(int1 int64) (int64, 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 NewTestServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *TestServiceThreadsafeClient

Deprecated: Use NewTestServiceChannelClient() instead.

func NewTestServiceThreadsafeClientFactory deprecated

func NewTestServiceThreadsafeClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *TestServiceThreadsafeClient

Deprecated: Use NewTestServiceChannelClient() instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL