prototest

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package prototest is a generated protocol buffer package.

It is generated from these files:

model_test.proto

It has these top-level messages:

SpanRef

Index

Constants

This section is empty.

Variables

View Source
var SpanRefType_name = map[int32]string{
	0: "CHILD_OF",
	1: "FOLLOWS_FROM",
}
View Source
var SpanRefType_value = map[string]int32{
	"CHILD_OF":     0,
	"FOLLOWS_FROM": 1,
}

Functions

This section is empty.

Types

type SpanRef

type SpanRef struct {
	TraceId []byte      `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	SpanId  []byte      `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	RefType SpanRefType `protobuf:"varint,3,opt,name=ref_type,json=refType,enum=prototest.SpanRefType" json:"ref_type,omitempty"`
}

func (*SpanRef) Descriptor

func (*SpanRef) Descriptor() ([]byte, []int)

func (*SpanRef) GetRefType

func (m *SpanRef) GetRefType() SpanRefType

func (*SpanRef) GetSpanId

func (m *SpanRef) GetSpanId() []byte

func (*SpanRef) GetTraceId

func (m *SpanRef) GetTraceId() []byte

func (*SpanRef) ProtoMessage

func (*SpanRef) ProtoMessage()

func (*SpanRef) Reset

func (m *SpanRef) Reset()

func (*SpanRef) String

func (m *SpanRef) String() string

type SpanRefType

type SpanRefType int32
const (
	SpanRefType_CHILD_OF     SpanRefType = 0
	SpanRefType_FOLLOWS_FROM SpanRefType = 1
)

func (SpanRefType) EnumDescriptor

func (SpanRefType) EnumDescriptor() ([]byte, []int)

func (SpanRefType) String

func (x SpanRefType) String() string

Jump to

Keyboard shortcuts

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