aggregation_validator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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 (*AggregationValidatorValidateTraceArgs) Read

func (*AggregationValidatorValidateTraceArgs) ReadField1

func (*AggregationValidatorValidateTraceArgs) String

func (*AggregationValidatorValidateTraceArgs) Write

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 (*AggregationValidatorValidateTraceResult) IsSetSuccess

func (*AggregationValidatorValidateTraceResult) Read

func (*AggregationValidatorValidateTraceResult) ReadField0

func (*AggregationValidatorValidateTraceResult) String

func (*AggregationValidatorValidateTraceResult) Write

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 (*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

func (*ValidateTraceResponse) Write

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL