Documentation ¶
Index ¶
- Variables
- type Dionysus
- type DionysusClient
- type DionysusGreetArgs
- func (p *DionysusGreetArgs) GetReq() (v *greet.GreetRequest)
- func (p *DionysusGreetArgs) IsSetReq() bool
- func (p *DionysusGreetArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DionysusGreetArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DionysusGreetArgs) String() string
- func (p *DionysusGreetArgs) Write(oprot thrift.TProtocol) (err error)
- type DionysusGreetResult
- func (p *DionysusGreetResult) GetSuccess() (v *greet.GreetResponse)
- func (p *DionysusGreetResult) IsSetSuccess() bool
- func (p *DionysusGreetResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DionysusGreetResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DionysusGreetResult) String() string
- func (p *DionysusGreetResult) Write(oprot thrift.TProtocol) (err error)
- type DionysusProcessor
- func (p *DionysusProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *DionysusProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *DionysusProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *DionysusProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
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 NewDionysusClientFactory ¶
func NewDionysusClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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
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
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
Click to show internal directories.
Click to hide internal directories.