schema

package
v0.0.0-...-9f97ec8 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type TestService

type TestService interface {
	// Parameters:
	//  - Int
	//  - Message
	AMessage(ctx context.Context, int int32, message string) (err error)
}

type TestServiceAMessageArgs

type TestServiceAMessageArgs struct {
	Int     int32  `thrift:"int,1" db:"int" json:"int"`
	Message string `thrift:"message,2" db:"message" json:"message"`
}

Attributes:

  • Int
  • Message

func NewTestServiceAMessageArgs

func NewTestServiceAMessageArgs() *TestServiceAMessageArgs

func (*TestServiceAMessageArgs) GetInt

func (p *TestServiceAMessageArgs) GetInt() int32

func (*TestServiceAMessageArgs) GetMessage

func (p *TestServiceAMessageArgs) GetMessage() string

func (*TestServiceAMessageArgs) Read

func (*TestServiceAMessageArgs) ReadField1

func (p *TestServiceAMessageArgs) ReadField1(iprot thrift.TProtocol) error

func (*TestServiceAMessageArgs) ReadField2

func (p *TestServiceAMessageArgs) ReadField2(iprot thrift.TProtocol) error

func (*TestServiceAMessageArgs) String

func (p *TestServiceAMessageArgs) String() string

func (*TestServiceAMessageArgs) Write

type TestServiceAMessageResult

type TestServiceAMessageResult struct {
}

func NewTestServiceAMessageResult

func NewTestServiceAMessageResult() *TestServiceAMessageResult

func (*TestServiceAMessageResult) Read

func (*TestServiceAMessageResult) String

func (p *TestServiceAMessageResult) String() string

func (*TestServiceAMessageResult) Write

type TestServiceClient

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

func NewTestServiceClient

func NewTestServiceClient(c thrift.TClient) *TestServiceClient

func NewTestServiceClientFactory deprecated

func NewTestServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TestServiceClient

Deprecated: Use NewTestService instead

func NewTestServiceClientProtocol deprecated

func NewTestServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TestServiceClient

Deprecated: Use NewTestService instead

func (*TestServiceClient) AMessage

func (p *TestServiceClient) AMessage(ctx context.Context, int int32, message string) (err error)

Parameters:

  • Int
  • Message

type TestServiceProcessor

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

func NewTestServiceProcessor

func NewTestServiceProcessor(handler TestService) *TestServiceProcessor

func (*TestServiceProcessor) AddToProcessorMap

func (p *TestServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TestServiceProcessor) GetProcessorFunction

func (p *TestServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TestServiceProcessor) Process

func (p *TestServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TestServiceProcessor) ProcessorMap

func (p *TestServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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