Documentation ¶
Index ¶
- Variables
- type AggregationValidator
- type AggregationValidatorClient
- func NewAggregationValidatorClient(c thrift.TClient) *AggregationValidatorClient
- func NewAggregationValidatorClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AggregationValidatorClientdeprecated
- func NewAggregationValidatorClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AggregationValidatorClientdeprecated
- type AggregationValidatorProcessor
- func (p *AggregationValidatorProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AggregationValidatorProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AggregationValidatorProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AggregationValidatorProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type AggregationValidatorValidateTraceArgs
- func (p *AggregationValidatorValidateTraceArgs) GetTraceId() string
- func (p *AggregationValidatorValidateTraceArgs) Read(iprot thrift.TProtocol) error
- func (p *AggregationValidatorValidateTraceArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AggregationValidatorValidateTraceArgs) String() string
- func (p *AggregationValidatorValidateTraceArgs) Write(oprot thrift.TProtocol) error
- type AggregationValidatorValidateTraceResult
- func (p *AggregationValidatorValidateTraceResult) GetSuccess() *ValidateTraceResponse
- func (p *AggregationValidatorValidateTraceResult) IsSetSuccess() bool
- func (p *AggregationValidatorValidateTraceResult) Read(iprot thrift.TProtocol) error
- func (p *AggregationValidatorValidateTraceResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AggregationValidatorValidateTraceResult) String() string
- func (p *AggregationValidatorValidateTraceResult) Write(oprot thrift.TProtocol) error
- type ValidateTraceResponse
- func (p *ValidateTraceResponse) GetOk() bool
- func (p *ValidateTraceResponse) GetTraceCount() int64
- func (p *ValidateTraceResponse) Read(iprot thrift.TProtocol) error
- func (p *ValidateTraceResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *ValidateTraceResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *ValidateTraceResponse) String() string
- func (p *ValidateTraceResponse) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AggregationValidator ¶
type AggregationValidator interface { // Parameters: // - TraceId ValidateTrace(ctx context.Context, traceId string) (r *ValidateTraceResponse, err error) }
type AggregationValidatorClient ¶
type AggregationValidatorClient struct {
// contains filtered or unexported fields
}
func NewAggregationValidatorClient ¶
func NewAggregationValidatorClient(c thrift.TClient) *AggregationValidatorClient
func NewAggregationValidatorClientFactory
deprecated
func NewAggregationValidatorClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AggregationValidatorClient
Deprecated: Use NewAggregationValidator instead
func NewAggregationValidatorClientProtocol
deprecated
func NewAggregationValidatorClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AggregationValidatorClient
Deprecated: Use NewAggregationValidator instead
func (*AggregationValidatorClient) ValidateTrace ¶
func (p *AggregationValidatorClient) ValidateTrace(ctx context.Context, traceId string) (r *ValidateTraceResponse, err error)
Parameters:
- TraceId
type AggregationValidatorProcessor ¶
type AggregationValidatorProcessor struct {
// contains filtered or unexported fields
}
func NewAggregationValidatorProcessor ¶
func NewAggregationValidatorProcessor(handler AggregationValidator) *AggregationValidatorProcessor
func (*AggregationValidatorProcessor) AddToProcessorMap ¶
func (p *AggregationValidatorProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AggregationValidatorProcessor) GetProcessorFunction ¶
func (p *AggregationValidatorProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AggregationValidatorProcessor) Process ¶
func (p *AggregationValidatorProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AggregationValidatorProcessor) ProcessorMap ¶
func (p *AggregationValidatorProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type AggregationValidatorValidateTraceArgs ¶
type AggregationValidatorValidateTraceArgs struct {
TraceId string `thrift:"traceId,1,required" db:"traceId" json:"traceId"`
}
Attributes:
- TraceId
func NewAggregationValidatorValidateTraceArgs ¶
func NewAggregationValidatorValidateTraceArgs() *AggregationValidatorValidateTraceArgs
func (*AggregationValidatorValidateTraceArgs) GetTraceId ¶
func (p *AggregationValidatorValidateTraceArgs) GetTraceId() string
func (*AggregationValidatorValidateTraceArgs) Read ¶
func (p *AggregationValidatorValidateTraceArgs) Read(iprot thrift.TProtocol) error
func (*AggregationValidatorValidateTraceArgs) ReadField1 ¶
func (p *AggregationValidatorValidateTraceArgs) ReadField1(iprot thrift.TProtocol) error
func (*AggregationValidatorValidateTraceArgs) String ¶
func (p *AggregationValidatorValidateTraceArgs) String() string
type AggregationValidatorValidateTraceResult ¶
type AggregationValidatorValidateTraceResult struct {
Success *ValidateTraceResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewAggregationValidatorValidateTraceResult ¶
func NewAggregationValidatorValidateTraceResult() *AggregationValidatorValidateTraceResult
func (*AggregationValidatorValidateTraceResult) GetSuccess ¶
func (p *AggregationValidatorValidateTraceResult) GetSuccess() *ValidateTraceResponse
func (*AggregationValidatorValidateTraceResult) IsSetSuccess ¶
func (p *AggregationValidatorValidateTraceResult) IsSetSuccess() bool
func (*AggregationValidatorValidateTraceResult) Read ¶
func (p *AggregationValidatorValidateTraceResult) Read(iprot thrift.TProtocol) error
func (*AggregationValidatorValidateTraceResult) ReadField0 ¶
func (p *AggregationValidatorValidateTraceResult) ReadField0(iprot thrift.TProtocol) error
func (*AggregationValidatorValidateTraceResult) String ¶
func (p *AggregationValidatorValidateTraceResult) String() string
type ValidateTraceResponse ¶
type ValidateTraceResponse struct { Ok bool `thrift:"ok,1,required" db:"ok" json:"ok"` TraceCount int64 `thrift:"traceCount,2,required" db:"traceCount" json:"traceCount"` }
Attributes:
- Ok
- TraceCount
var AggregationValidatorValidateTraceResult_Success_DEFAULT *ValidateTraceResponse
func NewValidateTraceResponse ¶
func NewValidateTraceResponse() *ValidateTraceResponse
func (*ValidateTraceResponse) GetOk ¶
func (p *ValidateTraceResponse) GetOk() bool
func (*ValidateTraceResponse) GetTraceCount ¶
func (p *ValidateTraceResponse) GetTraceCount() int64
func (*ValidateTraceResponse) Read ¶
func (p *ValidateTraceResponse) Read(iprot thrift.TProtocol) error
func (*ValidateTraceResponse) ReadField1 ¶
func (p *ValidateTraceResponse) ReadField1(iprot thrift.TProtocol) error
func (*ValidateTraceResponse) ReadField2 ¶
func (p *ValidateTraceResponse) ReadField2(iprot thrift.TProtocol) error
func (*ValidateTraceResponse) String ¶
func (p *ValidateTraceResponse) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.