package agent

import "github.com/uber/jaeger-client-go/thrift-gen/agent"

Index

Variables

var GoUnusedProtection__ int

Types

type Agent

type Agent interface {
	// Parameters:
	//  - Spans
	EmitZipkinBatch(spans []*zipkincore.Span) (err error)
}

type AgentClient

type AgentClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

func NewAgentClientFactory

func NewAgentClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AgentClient

func NewAgentClientProtocol

func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient

func (*AgentClient) EmitZipkinBatch

func (p *AgentClient) EmitZipkinBatch(spans []*zipkincore.Span) (err error)

Parameters:

type AgentEmitZipkinBatchArgs

type AgentEmitZipkinBatchArgs struct {
	Spans []*zipkincore.Span `thrift:"spans,1" json:"spans"`
}

Attributes:

func NewAgentEmitZipkinBatchArgs

func NewAgentEmitZipkinBatchArgs() *AgentEmitZipkinBatchArgs

func (*AgentEmitZipkinBatchArgs) GetSpans

func (p *AgentEmitZipkinBatchArgs) GetSpans() []*zipkincore.Span

func (*AgentEmitZipkinBatchArgs) Read

func (*AgentEmitZipkinBatchArgs) String

func (p *AgentEmitZipkinBatchArgs) String() string

func (*AgentEmitZipkinBatchArgs) Write

type AgentProcessor

type AgentProcessor struct {
	// contains filtered or unexported fields
}

func NewAgentProcessor

func NewAgentProcessor(handler Agent) *AgentProcessor

func (*AgentProcessor) AddToProcessorMap

func (p *AgentProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*AgentProcessor) GetProcessorFunction

func (p *AgentProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*AgentProcessor) Process

func (p *AgentProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*AgentProcessor) ProcessorMap

func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

Source Files

agent.go constants.go ttypes.go

Version
v1.0.0
Published
Aug 29, 2016
Platform
darwin/amd64
Imports
4 packages
Last checked
6 seconds ago

Tools for package owners.