dummy2

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dummy2Exception

type Dummy2Exception struct {
}
var Dummy2ServicePingResult_E_DEFAULT *Dummy2Exception

func NewDummy2Exception

func NewDummy2Exception() *Dummy2Exception

func (*Dummy2Exception) Error

func (p *Dummy2Exception) Error() string

func (*Dummy2Exception) Read

func (p *Dummy2Exception) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy2Exception) String

func (p *Dummy2Exception) String() string

func (*Dummy2Exception) Write

func (p *Dummy2Exception) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy2Service

type Dummy2Service interface {
	Ping(ctx context.Context) (err error)
}

type Dummy2ServiceClient

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

func NewDummy2ServiceClient

func NewDummy2ServiceClient(c thrift.TClient) *Dummy2ServiceClient

func NewDummy2ServiceClientProtocol

func NewDummy2ServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *Dummy2ServiceClient

func (*Dummy2ServiceClient) Client_

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

func (*Dummy2ServiceClient) Ping

func (p *Dummy2ServiceClient) Ping(ctx context.Context) (err error)

type Dummy2ServicePingArgs

type Dummy2ServicePingArgs struct {
}

func NewDummy2ServicePingArgs

func NewDummy2ServicePingArgs() *Dummy2ServicePingArgs

func (*Dummy2ServicePingArgs) Read

func (p *Dummy2ServicePingArgs) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy2ServicePingArgs) String

func (p *Dummy2ServicePingArgs) String() string

func (*Dummy2ServicePingArgs) Write

func (p *Dummy2ServicePingArgs) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy2ServicePingResult

type Dummy2ServicePingResult struct {
	E *Dummy2Exception `thrift:"e,1,optional" json:"e,omitempty"`
}

func NewDummy2ServicePingResult

func NewDummy2ServicePingResult() *Dummy2ServicePingResult

func (*Dummy2ServicePingResult) GetE

func (*Dummy2ServicePingResult) IsSetE

func (p *Dummy2ServicePingResult) IsSetE() bool

func (*Dummy2ServicePingResult) Read

func (p *Dummy2ServicePingResult) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy2ServicePingResult) ReadField1

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

func (*Dummy2ServicePingResult) String

func (p *Dummy2ServicePingResult) String() string

func (*Dummy2ServicePingResult) Write

func (p *Dummy2ServicePingResult) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy2ServiceProcessor

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

func NewDummy2ServiceProcessor

func NewDummy2ServiceProcessor(handler Dummy2Service) *Dummy2ServiceProcessor

func (*Dummy2ServiceProcessor) AddToProcessorMap

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

func (*Dummy2ServiceProcessor) GetProcessorFunction

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

func (*Dummy2ServiceProcessor) Process

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

func (*Dummy2ServiceProcessor) ProcessorMap

Jump to

Keyboard shortcuts

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