service

package
v0.0.0-...-4d63f9c Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type IncludesIncluded

type IncludesIncluded = includes.Included

type IncludesTransitiveFoo

type IncludesTransitiveFoo = includes.TransitiveFoo

type MyService

type MyService interface {
	Query(ctx context.Context, s *module.MyStruct, i *includes.Included) error
	HasArgDocs(ctx context.Context, s *module.MyStruct, i *includes.Included) error
}

type MyServiceChannelClient

type MyServiceChannelClient struct {
	// contains filtered or unexported fields
}

func NewMyServiceChannelClient

func NewMyServiceChannelClient(channel thrift.RequestChannel) *MyServiceChannelClient

func (*MyServiceChannelClient) Close

func (c *MyServiceChannelClient) Close() error

func (*MyServiceChannelClient) HasArgDocs

func (*MyServiceChannelClient) IsOpen

func (c *MyServiceChannelClient) IsOpen() bool

func (*MyServiceChannelClient) Open

func (c *MyServiceChannelClient) Open() error

func (*MyServiceChannelClient) Query

type MyServiceClient deprecated

type MyServiceClient struct {
	// contains filtered or unexported fields
}

Deprecated: Use MyServiceChannelClient instead.

func NewMyServiceClient deprecated

func NewMyServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServiceClient

Deprecated: Use NewMyServiceChannelClient() instead.

func NewMyServiceClientFactory deprecated

func NewMyServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *MyServiceClient

Deprecated: Use NewMyServiceChannelClient() instead.

func NewMyServiceClientProtocol deprecated

func NewMyServiceClientProtocol(prot thrift.Protocol) *MyServiceClient

Deprecated: Use NewMyServiceChannelClient() instead.

func NewMyServiceThreadsafeClientProtocol deprecated

func NewMyServiceThreadsafeClientProtocol(prot thrift.Protocol) *MyServiceClient

Deprecated: Use NewMyServiceChannelClient() instead.

func (*MyServiceClient) Close

func (c *MyServiceClient) Close() error

func (*MyServiceClient) HasArgDocs

func (c *MyServiceClient) HasArgDocs(s *module.MyStruct, i *includes.Included) error

func (*MyServiceClient) IsOpen

func (c *MyServiceClient) IsOpen() bool

func (*MyServiceClient) Open

func (c *MyServiceClient) Open() error

func (*MyServiceClient) Query

type MyServiceClientInterface deprecated

type MyServiceClientInterface interface {
	thrift.ClientInterface
	Query(s *module.MyStruct, i *includes.Included) error
	HasArgDocs(s *module.MyStruct, i *includes.Included) error
}

Deprecated: Use MyService instead.

type MyServiceProcessor

type MyServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewMyServiceProcessor

func NewMyServiceProcessor(handler MyService) *MyServiceProcessor

func (*MyServiceProcessor) AddToFunctionServiceMap

func (p *MyServiceProcessor) AddToFunctionServiceMap(key, service string)

func (*MyServiceProcessor) AddToProcessorMap

func (p *MyServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)

func (*MyServiceProcessor) FunctionServiceMap

func (p *MyServiceProcessor) FunctionServiceMap() map[string]string

func (*MyServiceProcessor) GetProcessorFunction

func (p *MyServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)

func (*MyServiceProcessor) ProcessorMap

func (p *MyServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction

type MyServiceThreadsafeClient deprecated

type MyServiceThreadsafeClient = MyServiceClient

Deprecated: Use MyServiceChannelClient instead.

func NewMyServiceThreadsafeClient deprecated

func NewMyServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServiceThreadsafeClient

Deprecated: Use NewMyServiceChannelClient() instead.

func NewMyServiceThreadsafeClientFactory deprecated

func NewMyServiceThreadsafeClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *MyServiceThreadsafeClient

Deprecated: Use NewMyServiceChannelClient() instead.

Jump to

Keyboard shortcuts

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