monitor.v1: gopkg.in/spacemonkeygo/monitor.v1/trace/gen-go/zipkin Index | Files

package zipkin

import "gopkg.in/spacemonkeygo/monitor.v1/trace/gen-go/zipkin"

Index

Package Files

constants.go ttypes.go

Constants

const CLIENT_RECV = "cr"
const CLIENT_SEND = "cs"
const SERVER_RECV = "sr"
const SERVER_SEND = "ss"

Variables

var Annotation_Duration_DEFAULT int32
var GoUnusedProtection__ int
var Span_Debug_DEFAULT bool = false
var Span_ParentId_DEFAULT int64

type Annotation Uses

type Annotation struct {
    Timestamp int64     `thrift:"timestamp,1" json:"timestamp"`
    Value     string    `thrift:"value,2" json:"value"`
    Host      *Endpoint `thrift:"host,3" json:"host"`
    Duration  *int32    `thrift:"duration,4" json:"duration"`
}

func NewAnnotation Uses

func NewAnnotation() *Annotation

func (*Annotation) GetDuration Uses

func (p *Annotation) GetDuration() int32

func (*Annotation) GetHost Uses

func (p *Annotation) GetHost() *Endpoint

func (*Annotation) GetTimestamp Uses

func (p *Annotation) GetTimestamp() int64

func (*Annotation) GetValue Uses

func (p *Annotation) GetValue() string

func (*Annotation) IsSetDuration Uses

func (p *Annotation) IsSetDuration() bool

func (*Annotation) IsSetHost Uses

func (p *Annotation) IsSetHost() bool

func (*Annotation) Read Uses

func (p *Annotation) Read(iprot thrift.TProtocol) error

func (*Annotation) ReadField1 Uses

func (p *Annotation) ReadField1(iprot thrift.TProtocol) error

func (*Annotation) ReadField2 Uses

func (p *Annotation) ReadField2(iprot thrift.TProtocol) error

func (*Annotation) ReadField3 Uses

func (p *Annotation) ReadField3(iprot thrift.TProtocol) error

func (*Annotation) ReadField4 Uses

func (p *Annotation) ReadField4(iprot thrift.TProtocol) error

func (*Annotation) String Uses

func (p *Annotation) String() string

func (*Annotation) Write Uses

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

type AnnotationType Uses

type AnnotationType int64
const (
    AnnotationType_BOOL   AnnotationType = 0
    AnnotationType_BYTES  AnnotationType = 1
    AnnotationType_I16    AnnotationType = 2
    AnnotationType_I32    AnnotationType = 3
    AnnotationType_I64    AnnotationType = 4
    AnnotationType_DOUBLE AnnotationType = 5
    AnnotationType_STRING AnnotationType = 6
)

func AnnotationTypeFromString Uses

func AnnotationTypeFromString(s string) (AnnotationType, error)

func AnnotationTypePtr Uses

func AnnotationTypePtr(v AnnotationType) *AnnotationType

func (AnnotationType) String Uses

func (p AnnotationType) String() string

type BinaryAnnotation Uses

type BinaryAnnotation struct {
    Key            string         `thrift:"key,1" json:"key"`
    Value          []byte         `thrift:"value,2" json:"value"`
    AnnotationType AnnotationType `thrift:"annotation_type,3" json:"annotation_type"`
    Host           *Endpoint      `thrift:"host,4" json:"host"`
}

func NewBinaryAnnotation Uses

func NewBinaryAnnotation() *BinaryAnnotation

func (*BinaryAnnotation) GetAnnotationType Uses

func (p *BinaryAnnotation) GetAnnotationType() AnnotationType

func (*BinaryAnnotation) GetHost Uses

func (p *BinaryAnnotation) GetHost() *Endpoint

func (*BinaryAnnotation) GetKey Uses

func (p *BinaryAnnotation) GetKey() string

func (*BinaryAnnotation) GetValue Uses

func (p *BinaryAnnotation) GetValue() []byte

func (*BinaryAnnotation) IsSetHost Uses

func (p *BinaryAnnotation) IsSetHost() bool

func (*BinaryAnnotation) Read Uses

func (p *BinaryAnnotation) Read(iprot thrift.TProtocol) error

func (*BinaryAnnotation) ReadField1 Uses

func (p *BinaryAnnotation) ReadField1(iprot thrift.TProtocol) error

func (*BinaryAnnotation) ReadField2 Uses

func (p *BinaryAnnotation) ReadField2(iprot thrift.TProtocol) error

func (*BinaryAnnotation) ReadField3 Uses

func (p *BinaryAnnotation) ReadField3(iprot thrift.TProtocol) error

func (*BinaryAnnotation) ReadField4 Uses

func (p *BinaryAnnotation) ReadField4(iprot thrift.TProtocol) error

func (*BinaryAnnotation) String Uses

func (p *BinaryAnnotation) String() string

func (*BinaryAnnotation) Write Uses

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

type Endpoint Uses

type Endpoint struct {
    Ipv4        int32  `thrift:"ipv4,1" json:"ipv4"`
    Port        int16  `thrift:"port,2" json:"port"`
    ServiceName string `thrift:"service_name,3" json:"service_name"`
}
var Annotation_Host_DEFAULT *Endpoint
var BinaryAnnotation_Host_DEFAULT *Endpoint

func NewEndpoint Uses

func NewEndpoint() *Endpoint

func (*Endpoint) GetIpv4 Uses

func (p *Endpoint) GetIpv4() int32

func (*Endpoint) GetPort Uses

func (p *Endpoint) GetPort() int16

func (*Endpoint) GetServiceName Uses

func (p *Endpoint) GetServiceName() string

func (*Endpoint) Read Uses

func (p *Endpoint) Read(iprot thrift.TProtocol) error

func (*Endpoint) ReadField1 Uses

func (p *Endpoint) ReadField1(iprot thrift.TProtocol) error

func (*Endpoint) ReadField2 Uses

func (p *Endpoint) ReadField2(iprot thrift.TProtocol) error

func (*Endpoint) ReadField3 Uses

func (p *Endpoint) ReadField3(iprot thrift.TProtocol) error

func (*Endpoint) String Uses

func (p *Endpoint) String() string

func (*Endpoint) Write Uses

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

type Span Uses

type Span struct {
    TraceId int64 `thrift:"trace_id,1" json:"trace_id"`
    // unused field # 2
    Name        string        `thrift:"name,3" json:"name"`
    Id          int64         `thrift:"id,4" json:"id"`
    ParentId    *int64        `thrift:"parent_id,5" json:"parent_id"`
    Annotations []*Annotation `thrift:"annotations,6" json:"annotations"`
    // unused field # 7
    BinaryAnnotations []*BinaryAnnotation `thrift:"binary_annotations,8" json:"binary_annotations"`
    Debug             bool                `thrift:"debug,9" json:"debug"`
}

func NewSpan Uses

func NewSpan() *Span

func (*Span) GetAnnotations Uses

func (p *Span) GetAnnotations() []*Annotation

func (*Span) GetBinaryAnnotations Uses

func (p *Span) GetBinaryAnnotations() []*BinaryAnnotation

func (*Span) GetDebug Uses

func (p *Span) GetDebug() bool

func (*Span) GetId Uses

func (p *Span) GetId() int64

func (*Span) GetName Uses

func (p *Span) GetName() string

func (*Span) GetParentId Uses

func (p *Span) GetParentId() int64

func (*Span) GetTraceId Uses

func (p *Span) GetTraceId() int64

func (*Span) IsSetDebug Uses

func (p *Span) IsSetDebug() bool

func (*Span) IsSetParentId Uses

func (p *Span) IsSetParentId() bool

func (*Span) Read Uses

func (p *Span) Read(iprot thrift.TProtocol) error

func (*Span) ReadField1 Uses

func (p *Span) ReadField1(iprot thrift.TProtocol) error

func (*Span) ReadField3 Uses

func (p *Span) ReadField3(iprot thrift.TProtocol) error

func (*Span) ReadField4 Uses

func (p *Span) ReadField4(iprot thrift.TProtocol) error

func (*Span) ReadField5 Uses

func (p *Span) ReadField5(iprot thrift.TProtocol) error

func (*Span) ReadField6 Uses

func (p *Span) ReadField6(iprot thrift.TProtocol) error

func (*Span) ReadField8 Uses

func (p *Span) ReadField8(iprot thrift.TProtocol) error

func (*Span) ReadField9 Uses

func (p *Span) ReadField9(iprot thrift.TProtocol) error

func (*Span) String Uses

func (p *Span) String() string

func (*Span) Write Uses

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

Package zipkin imports 3 packages (graph) and is imported by 10 packages. Updated 2016-07-27. Refresh now. Tools for package owners.