test_thrift

package
Version: v0.0.0-...-e2cbee1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type FooReply

type FooReply struct {
}
var TestThriftServiceFooResult_Success_DEFAULT *FooReply

func NewFooReply

func NewFooReply() *FooReply

func (*FooReply) Read

func (p *FooReply) Read(iprot thrift.TProtocol) error

func (*FooReply) String

func (p *FooReply) String() string

func (*FooReply) Write

func (p *FooReply) Write(oprot thrift.TProtocol) error

type FooRequest

type FooRequest struct {
}
var TestThriftServiceFooArgs_Req_DEFAULT *FooRequest

func NewFooRequest

func NewFooRequest() *FooRequest

func (*FooRequest) Read

func (p *FooRequest) Read(iprot thrift.TProtocol) error

func (*FooRequest) String

func (p *FooRequest) String() string

func (*FooRequest) Write

func (p *FooRequest) Write(oprot thrift.TProtocol) error

type TestThriftService

type TestThriftService interface {
	// Parameters:
	//  - Req
	Foo(req *FooRequest) (r *FooReply, err error)
}

type TestThriftServiceClient

type TestThriftServiceClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

func NewTestThriftServiceClientProtocol

func NewTestThriftServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TestThriftServiceClient

func (*TestThriftServiceClient) Foo

func (p *TestThriftServiceClient) Foo(req *FooRequest) (r *FooReply, err error)

Parameters:

- Req

type TestThriftServiceFooArgs

type TestThriftServiceFooArgs struct {
	Req *FooRequest `thrift:"req,1" db:"req" json:"req"`
}

Attributes:

- Req

func NewTestThriftServiceFooArgs

func NewTestThriftServiceFooArgs() *TestThriftServiceFooArgs

func (*TestThriftServiceFooArgs) GetReq

func (p *TestThriftServiceFooArgs) GetReq() *FooRequest

func (*TestThriftServiceFooArgs) IsSetReq

func (p *TestThriftServiceFooArgs) IsSetReq() bool

func (*TestThriftServiceFooArgs) Read

func (*TestThriftServiceFooArgs) ReadField1

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

func (*TestThriftServiceFooArgs) String

func (p *TestThriftServiceFooArgs) String() string

func (*TestThriftServiceFooArgs) Write

type TestThriftServiceFooResult

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

Attributes:

- Success

func NewTestThriftServiceFooResult

func NewTestThriftServiceFooResult() *TestThriftServiceFooResult

func (*TestThriftServiceFooResult) GetSuccess

func (p *TestThriftServiceFooResult) GetSuccess() *FooReply

func (*TestThriftServiceFooResult) IsSetSuccess

func (p *TestThriftServiceFooResult) IsSetSuccess() bool

func (*TestThriftServiceFooResult) Read

func (*TestThriftServiceFooResult) ReadField0

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

func (*TestThriftServiceFooResult) String

func (p *TestThriftServiceFooResult) String() string

func (*TestThriftServiceFooResult) Write

type TestThriftServiceProcessor

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

func NewTestThriftServiceProcessor

func NewTestThriftServiceProcessor(handler TestThriftService) *TestThriftServiceProcessor

func (*TestThriftServiceProcessor) AddToProcessorMap

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

func (*TestThriftServiceProcessor) GetProcessorFunction

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

func (*TestThriftServiceProcessor) Process

func (p *TestThriftServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TestThriftServiceProcessor) ProcessorMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL