api

package
v0.0.0-...-8908e29 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DionysusGreetArgs_Req_DEFAULT *greet.GreetRequest
View Source
var DionysusGreetResult_Success_DEFAULT *greet.GreetResponse

Functions

This section is empty.

Types

type Dionysus

type Dionysus interface {
	Greet(ctx context.Context, req *greet.GreetRequest) (r *greet.GreetResponse, err error)
}

type DionysusClient

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

func NewDionysusClient

func NewDionysusClient(c thrift.TClient) *DionysusClient

func NewDionysusClientProtocol

func NewDionysusClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DionysusClient

func (*DionysusClient) Client_

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

func (*DionysusClient) Greet

func (p *DionysusClient) Greet(ctx context.Context, req *greet.GreetRequest) (r *greet.GreetResponse, err error)

type DionysusGreetArgs

type DionysusGreetArgs struct {
	Req *greet.GreetRequest `thrift:"req,1"`
}

func NewDionysusGreetArgs

func NewDionysusGreetArgs() *DionysusGreetArgs

func (*DionysusGreetArgs) GetReq

func (p *DionysusGreetArgs) GetReq() (v *greet.GreetRequest)

func (*DionysusGreetArgs) IsSetReq

func (p *DionysusGreetArgs) IsSetReq() bool

func (*DionysusGreetArgs) Read

func (p *DionysusGreetArgs) Read(iprot thrift.TProtocol) (err error)

func (*DionysusGreetArgs) ReadField1

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

func (*DionysusGreetArgs) String

func (p *DionysusGreetArgs) String() string

func (*DionysusGreetArgs) Write

func (p *DionysusGreetArgs) Write(oprot thrift.TProtocol) (err error)

type DionysusGreetResult

type DionysusGreetResult struct {
	Success *greet.GreetResponse `thrift:"success,0,optional"`
}

func NewDionysusGreetResult

func NewDionysusGreetResult() *DionysusGreetResult

func (*DionysusGreetResult) GetSuccess

func (p *DionysusGreetResult) GetSuccess() (v *greet.GreetResponse)

func (*DionysusGreetResult) IsSetSuccess

func (p *DionysusGreetResult) IsSetSuccess() bool

func (*DionysusGreetResult) Read

func (p *DionysusGreetResult) Read(iprot thrift.TProtocol) (err error)

func (*DionysusGreetResult) ReadField0

func (p *DionysusGreetResult) ReadField0(iprot thrift.TProtocol) error

func (*DionysusGreetResult) String

func (p *DionysusGreetResult) String() string

func (*DionysusGreetResult) Write

func (p *DionysusGreetResult) Write(oprot thrift.TProtocol) (err error)

type DionysusProcessor

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

func NewDionysusProcessor

func NewDionysusProcessor(handler Dionysus) *DionysusProcessor

func (*DionysusProcessor) AddToProcessorMap

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

func (*DionysusProcessor) GetProcessorFunction

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

func (*DionysusProcessor) Process

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

func (*DionysusProcessor) ProcessorMap

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

Jump to

Keyboard shortcuts

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