Documentation ¶
Index ¶
- Variables
- type Node
- type RpcService
- type RpcServiceClient
- type RpcServiceHelloArgs
- type RpcServiceHelloResult
- type RpcServicePlusArgs
- type RpcServicePlusResult
- type RpcServiceProcessor
- func (p *RpcServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *RpcServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *RpcServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *RpcServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type RpcServiceSortArgs
- type RpcServiceSortResult
- type SortDesc
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var RpcServiceHelloResult_Success_DEFAULT string
View Source
var RpcServicePlusResult_Success_DEFAULT int32
View Source
var RpcServiceSortResult_Success_DEFAULT []int32
View Source
var SortDesc_Asc_DEFAULT bool = true
Functions ¶
This section is empty.
Types ¶
type RpcService ¶
type RpcServiceClient ¶
type RpcServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewRpcServiceClientFactory ¶
func NewRpcServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RpcServiceClient
func NewRpcServiceClientProtocol ¶
func NewRpcServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RpcServiceClient
func (*RpcServiceClient) Hello ¶
func (p *RpcServiceClient) Hello() (r string, err error)
type RpcServiceHelloArgs ¶
type RpcServiceHelloArgs struct { }
func NewRpcServiceHelloArgs ¶
func NewRpcServiceHelloArgs() *RpcServiceHelloArgs
func (*RpcServiceHelloArgs) String ¶
func (p *RpcServiceHelloArgs) String() string
type RpcServiceHelloResult ¶
type RpcServiceHelloResult struct {
Success *string `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewRpcServiceHelloResult ¶
func NewRpcServiceHelloResult() *RpcServiceHelloResult
func (*RpcServiceHelloResult) GetSuccess ¶
func (p *RpcServiceHelloResult) GetSuccess() string
func (*RpcServiceHelloResult) IsSetSuccess ¶
func (p *RpcServiceHelloResult) IsSetSuccess() bool
func (*RpcServiceHelloResult) Read ¶
func (p *RpcServiceHelloResult) Read(iprot thrift.TProtocol) error
func (*RpcServiceHelloResult) String ¶
func (p *RpcServiceHelloResult) String() string
type RpcServicePlusArgs ¶
type RpcServicePlusArgs struct {
Req *Node `thrift:"req,1" json:"req"`
}
Attributes:
- Req
func NewRpcServicePlusArgs ¶
func NewRpcServicePlusArgs() *RpcServicePlusArgs
func (*RpcServicePlusArgs) GetReq ¶
func (p *RpcServicePlusArgs) GetReq() *Node
func (*RpcServicePlusArgs) IsSetReq ¶
func (p *RpcServicePlusArgs) IsSetReq() bool
func (*RpcServicePlusArgs) String ¶
func (p *RpcServicePlusArgs) String() string
type RpcServicePlusResult ¶
type RpcServicePlusResult struct {
Success *int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewRpcServicePlusResult ¶
func NewRpcServicePlusResult() *RpcServicePlusResult
func (*RpcServicePlusResult) GetSuccess ¶
func (p *RpcServicePlusResult) GetSuccess() int32
func (*RpcServicePlusResult) IsSetSuccess ¶
func (p *RpcServicePlusResult) IsSetSuccess() bool
func (*RpcServicePlusResult) Read ¶
func (p *RpcServicePlusResult) Read(iprot thrift.TProtocol) error
func (*RpcServicePlusResult) String ¶
func (p *RpcServicePlusResult) String() string
type RpcServiceProcessor ¶
type RpcServiceProcessor struct {
// contains filtered or unexported fields
}
func NewRpcServiceProcessor ¶
func NewRpcServiceProcessor(handler RpcService) *RpcServiceProcessor
func (*RpcServiceProcessor) AddToProcessorMap ¶
func (p *RpcServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*RpcServiceProcessor) GetProcessorFunction ¶
func (p *RpcServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*RpcServiceProcessor) Process ¶
func (p *RpcServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*RpcServiceProcessor) ProcessorMap ¶
func (p *RpcServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type RpcServiceSortArgs ¶
type RpcServiceSortArgs struct {
Sd *SortDesc `thrift:"sd,1" json:"sd"`
}
Attributes:
- Sd
func NewRpcServiceSortArgs ¶
func NewRpcServiceSortArgs() *RpcServiceSortArgs
func (*RpcServiceSortArgs) GetSd ¶
func (p *RpcServiceSortArgs) GetSd() *SortDesc
func (*RpcServiceSortArgs) IsSetSd ¶
func (p *RpcServiceSortArgs) IsSetSd() bool
func (*RpcServiceSortArgs) String ¶
func (p *RpcServiceSortArgs) String() string
type RpcServiceSortResult ¶
type RpcServiceSortResult struct {
Success []int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewRpcServiceSortResult ¶
func NewRpcServiceSortResult() *RpcServiceSortResult
func (*RpcServiceSortResult) GetSuccess ¶
func (p *RpcServiceSortResult) GetSuccess() []int32
func (*RpcServiceSortResult) IsSetSuccess ¶
func (p *RpcServiceSortResult) IsSetSuccess() bool
func (*RpcServiceSortResult) Read ¶
func (p *RpcServiceSortResult) Read(iprot thrift.TProtocol) error
func (*RpcServiceSortResult) String ¶
func (p *RpcServiceSortResult) String() string
Click to show internal directories.
Click to hide internal directories.