Documentation ¶
Index ¶
- Variables
- type AddService
- type AddServiceClient
- type AddServiceConcatArgs
- func (p *AddServiceConcatArgs) GetA() string
- func (p *AddServiceConcatArgs) GetB() string
- func (p *AddServiceConcatArgs) Read(iprot thrift.TProtocol) error
- func (p *AddServiceConcatArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AddServiceConcatArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *AddServiceConcatArgs) String() string
- func (p *AddServiceConcatArgs) Write(oprot thrift.TProtocol) error
- type AddServiceConcatResult
- func (p *AddServiceConcatResult) GetSuccess() *ConcatReply
- func (p *AddServiceConcatResult) IsSetSuccess() bool
- func (p *AddServiceConcatResult) Read(iprot thrift.TProtocol) error
- func (p *AddServiceConcatResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AddServiceConcatResult) String() string
- func (p *AddServiceConcatResult) Write(oprot thrift.TProtocol) error
- type AddServiceProcessor
- func (p *AddServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AddServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AddServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AddServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type AddServiceSumArgs
- func (p *AddServiceSumArgs) GetA() int64
- func (p *AddServiceSumArgs) GetB() int64
- func (p *AddServiceSumArgs) Read(iprot thrift.TProtocol) error
- func (p *AddServiceSumArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AddServiceSumArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *AddServiceSumArgs) String() string
- func (p *AddServiceSumArgs) Write(oprot thrift.TProtocol) error
- type AddServiceSumResult
- func (p *AddServiceSumResult) GetSuccess() *SumReply
- func (p *AddServiceSumResult) IsSetSuccess() bool
- func (p *AddServiceSumResult) Read(iprot thrift.TProtocol) error
- func (p *AddServiceSumResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AddServiceSumResult) String() string
- func (p *AddServiceSumResult) Write(oprot thrift.TProtocol) error
- type ConcatReply
- func (p *ConcatReply) GetErr() string
- func (p *ConcatReply) GetValue() string
- func (p *ConcatReply) Read(iprot thrift.TProtocol) error
- func (p *ConcatReply) ReadField1(iprot thrift.TProtocol) error
- func (p *ConcatReply) ReadField2(iprot thrift.TProtocol) error
- func (p *ConcatReply) String() string
- func (p *ConcatReply) Write(oprot thrift.TProtocol) error
- type SumReply
- func (p *SumReply) GetErr() string
- func (p *SumReply) GetValue() int64
- func (p *SumReply) Read(iprot thrift.TProtocol) error
- func (p *SumReply) ReadField1(iprot thrift.TProtocol) error
- func (p *SumReply) ReadField2(iprot thrift.TProtocol) error
- func (p *SumReply) String() string
- func (p *SumReply) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AddService ¶
type AddServiceClient ¶
type AddServiceClient struct {
// contains filtered or unexported fields
}
func NewAddServiceClient ¶ added in v0.7.0
func NewAddServiceClient(c thrift.TClient) *AddServiceClient
func NewAddServiceClientFactory ¶
func NewAddServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AddServiceClient
func NewAddServiceClientProtocol ¶
func NewAddServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AddServiceClient
func (*AddServiceClient) Client_ ¶ added in v0.7.0
func (p *AddServiceClient) Client_() thrift.TClient
func (*AddServiceClient) Concat ¶
func (p *AddServiceClient) Concat(ctx context.Context, a string, b string) (r *ConcatReply, err error)
Parameters:
- A
- B
type AddServiceConcatArgs ¶
type AddServiceConcatArgs struct { A string `thrift:"a,1" db:"a" json:"a"` B string `thrift:"b,2" db:"b" json:"b"` }
Attributes:
- A
- B
func NewAddServiceConcatArgs ¶
func NewAddServiceConcatArgs() *AddServiceConcatArgs
func (*AddServiceConcatArgs) GetA ¶
func (p *AddServiceConcatArgs) GetA() string
func (*AddServiceConcatArgs) GetB ¶
func (p *AddServiceConcatArgs) GetB() string
func (*AddServiceConcatArgs) Read ¶
func (p *AddServiceConcatArgs) Read(iprot thrift.TProtocol) error
func (*AddServiceConcatArgs) ReadField1 ¶ added in v0.6.0
func (p *AddServiceConcatArgs) ReadField1(iprot thrift.TProtocol) error
func (*AddServiceConcatArgs) ReadField2 ¶ added in v0.6.0
func (p *AddServiceConcatArgs) ReadField2(iprot thrift.TProtocol) error
func (*AddServiceConcatArgs) String ¶
func (p *AddServiceConcatArgs) String() string
type AddServiceConcatResult ¶
type AddServiceConcatResult struct {
Success *ConcatReply `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewAddServiceConcatResult ¶
func NewAddServiceConcatResult() *AddServiceConcatResult
func (*AddServiceConcatResult) GetSuccess ¶
func (p *AddServiceConcatResult) GetSuccess() *ConcatReply
func (*AddServiceConcatResult) IsSetSuccess ¶
func (p *AddServiceConcatResult) IsSetSuccess() bool
func (*AddServiceConcatResult) Read ¶
func (p *AddServiceConcatResult) Read(iprot thrift.TProtocol) error
func (*AddServiceConcatResult) ReadField0 ¶ added in v0.6.0
func (p *AddServiceConcatResult) ReadField0(iprot thrift.TProtocol) error
func (*AddServiceConcatResult) String ¶
func (p *AddServiceConcatResult) String() string
type AddServiceProcessor ¶
type AddServiceProcessor struct {
// contains filtered or unexported fields
}
func NewAddServiceProcessor ¶
func NewAddServiceProcessor(handler AddService) *AddServiceProcessor
func (*AddServiceProcessor) AddToProcessorMap ¶
func (p *AddServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AddServiceProcessor) GetProcessorFunction ¶
func (p *AddServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AddServiceProcessor) Process ¶
func (p *AddServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AddServiceProcessor) ProcessorMap ¶
func (p *AddServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type AddServiceSumArgs ¶
type AddServiceSumArgs struct { A int64 `thrift:"a,1" db:"a" json:"a"` B int64 `thrift:"b,2" db:"b" json:"b"` }
Attributes:
- A
- B
func NewAddServiceSumArgs ¶
func NewAddServiceSumArgs() *AddServiceSumArgs
func (*AddServiceSumArgs) GetA ¶
func (p *AddServiceSumArgs) GetA() int64
func (*AddServiceSumArgs) GetB ¶
func (p *AddServiceSumArgs) GetB() int64
func (*AddServiceSumArgs) ReadField1 ¶ added in v0.6.0
func (p *AddServiceSumArgs) ReadField1(iprot thrift.TProtocol) error
func (*AddServiceSumArgs) ReadField2 ¶ added in v0.6.0
func (p *AddServiceSumArgs) ReadField2(iprot thrift.TProtocol) error
func (*AddServiceSumArgs) String ¶
func (p *AddServiceSumArgs) String() string
type AddServiceSumResult ¶
type AddServiceSumResult struct {
Success *SumReply `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewAddServiceSumResult ¶
func NewAddServiceSumResult() *AddServiceSumResult
func (*AddServiceSumResult) GetSuccess ¶
func (p *AddServiceSumResult) GetSuccess() *SumReply
func (*AddServiceSumResult) IsSetSuccess ¶
func (p *AddServiceSumResult) IsSetSuccess() bool
func (*AddServiceSumResult) ReadField0 ¶ added in v0.6.0
func (p *AddServiceSumResult) ReadField0(iprot thrift.TProtocol) error
func (*AddServiceSumResult) String ¶
func (p *AddServiceSumResult) String() string
type ConcatReply ¶
type ConcatReply struct { Value string `thrift:"value,1" db:"value" json:"value"` Err string `thrift:"err,2" db:"err" json:"err"` }
Attributes:
- Value
- Err
var AddServiceConcatResult_Success_DEFAULT *ConcatReply
func NewConcatReply ¶
func NewConcatReply() *ConcatReply
func (*ConcatReply) GetErr ¶
func (p *ConcatReply) GetErr() string
func (*ConcatReply) GetValue ¶
func (p *ConcatReply) GetValue() string
func (*ConcatReply) ReadField1 ¶ added in v0.6.0
func (p *ConcatReply) ReadField1(iprot thrift.TProtocol) error
func (*ConcatReply) ReadField2 ¶ added in v0.6.0
func (p *ConcatReply) ReadField2(iprot thrift.TProtocol) error
func (*ConcatReply) String ¶
func (p *ConcatReply) String() string
type SumReply ¶
type SumReply struct { Value int64 `thrift:"value,1" db:"value" json:"value"` Err string `thrift:"err,2" db:"err" json:"err"` }
Attributes:
- Value
- Err
var AddServiceSumResult_Success_DEFAULT *SumReply
func NewSumReply ¶
func NewSumReply() *SumReply
func (*SumReply) ReadField1 ¶ added in v0.6.0
func (*SumReply) ReadField2 ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.