hello

package
v0.0.0-...-2c1c132 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var HelloServiceSayHelloResult_Success_DEFAULT string

Functions

This section is empty.

Types

type HelloService

type HelloService interface {
	// Parameters:
	//  - Name
	SayHello(ctx context.Context, name string) (_r string, _err error)
}

type HelloServiceClient

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

func NewHelloServiceClient

func NewHelloServiceClient(c thrift.TClient) *HelloServiceClient

func NewHelloServiceClientProtocol

func NewHelloServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *HelloServiceClient

func (*HelloServiceClient) Client_

func (p *HelloServiceClient) Client_() thrift.TClient

func (*HelloServiceClient) LastResponseMeta_

func (p *HelloServiceClient) LastResponseMeta_() thrift.ResponseMeta

func (*HelloServiceClient) SayHello

func (p *HelloServiceClient) SayHello(ctx context.Context, name string) (_r string, _err error)

Parameters:

  • Name

func (*HelloServiceClient) SetLastResponseMeta_

func (p *HelloServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

type HelloServiceProcessor

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

func NewHelloServiceProcessor

func NewHelloServiceProcessor(handler HelloService) *HelloServiceProcessor

func (*HelloServiceProcessor) AddToProcessorMap

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

func (*HelloServiceProcessor) GetProcessorFunction

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

func (*HelloServiceProcessor) Process

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

func (*HelloServiceProcessor) ProcessorMap

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

type HelloServiceSayHelloArgs

type HelloServiceSayHelloArgs struct {
	Name string `thrift:"name,1,required" db:"name" json:"name"`
}

Attributes:

  • Name

func NewHelloServiceSayHelloArgs

func NewHelloServiceSayHelloArgs() *HelloServiceSayHelloArgs

func (*HelloServiceSayHelloArgs) GetName

func (p *HelloServiceSayHelloArgs) GetName() string

func (*HelloServiceSayHelloArgs) Read

func (*HelloServiceSayHelloArgs) ReadField1

func (p *HelloServiceSayHelloArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*HelloServiceSayHelloArgs) String

func (p *HelloServiceSayHelloArgs) String() string

func (*HelloServiceSayHelloArgs) Write

type HelloServiceSayHelloResult

type HelloServiceSayHelloResult struct {
	Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewHelloServiceSayHelloResult

func NewHelloServiceSayHelloResult() *HelloServiceSayHelloResult

func (*HelloServiceSayHelloResult) GetSuccess

func (p *HelloServiceSayHelloResult) GetSuccess() string

func (*HelloServiceSayHelloResult) IsSetSuccess

func (p *HelloServiceSayHelloResult) IsSetSuccess() bool

func (*HelloServiceSayHelloResult) Read

func (*HelloServiceSayHelloResult) ReadField0

func (p *HelloServiceSayHelloResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*HelloServiceSayHelloResult) String

func (p *HelloServiceSayHelloResult) String() string

func (*HelloServiceSayHelloResult) Write

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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