pb

package
v0.0.0-...-60fa1ee Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2016 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

tracer.proto

It has these top-level messages:

Trace
Span
Tag
StoreRequest
StoreResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterStorerServer

func RegisterStorerServer(s *grpc.Server, srv StorerServer)

Types

type Span

type Span struct {
	SpanId        uint64                     `protobuf:"varint,1,opt,name=span_id" json:"span_id,omitempty"`
	ParentId      uint64                     `protobuf:"varint,2,opt,name=parent_id" json:"parent_id,omitempty"`
	TraceId       uint64                     `protobuf:"varint,3,opt,name=trace_id" json:"trace_id,omitempty"`
	ServiceName   string                     `protobuf:"bytes,4,opt,name=service_name" json:"service_name,omitempty"`
	OperationName string                     `protobuf:"bytes,5,opt,name=operation_name" json:"operation_name,omitempty"`
	StartTime     *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=start_time" json:"start_time,omitempty"`
	FinishTime    *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=finish_time" json:"finish_time,omitempty"`
	Flags         uint64                     `protobuf:"varint,8,opt,name=flags" json:"flags,omitempty"`
	Tags          []*Tag                     `protobuf:"bytes,9,rep,name=tags" json:"tags,omitempty"`
}

func (*Span) Descriptor

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

func (*Span) GetFinishTime

func (m *Span) GetFinishTime() *google_protobuf.Timestamp

func (*Span) GetStartTime

func (m *Span) GetStartTime() *google_protobuf.Timestamp

func (*Span) GetTags

func (m *Span) GetTags() []*Tag

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) String

func (m *Span) String() string

type StoreRequest

type StoreRequest struct {
	Spans []*Span `protobuf:"bytes,1,rep,name=spans" json:"spans,omitempty"`
}

func (*StoreRequest) Descriptor

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

func (*StoreRequest) GetSpans

func (m *StoreRequest) GetSpans() []*Span

func (*StoreRequest) ProtoMessage

func (*StoreRequest) ProtoMessage()

func (*StoreRequest) Reset

func (m *StoreRequest) Reset()

func (*StoreRequest) String

func (m *StoreRequest) String() string

type StoreResponse

type StoreResponse struct {
}

func (*StoreResponse) Descriptor

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

func (*StoreResponse) ProtoMessage

func (*StoreResponse) ProtoMessage()

func (*StoreResponse) Reset

func (m *StoreResponse) Reset()

func (*StoreResponse) String

func (m *StoreResponse) String() string

type StorerClient

type StorerClient interface {
	Store(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (*StoreResponse, error)
}

func NewStorerClient

func NewStorerClient(cc *grpc.ClientConn) StorerClient

type StorerServer

type StorerServer interface {
	Store(context.Context, *StoreRequest) (*StoreResponse, error)
}

type Tag

type Tag struct {
	Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// FIXME support non-string values
	Value string                     `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	Time  *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=time" json:"time,omitempty"`
}

func (*Tag) Descriptor

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

func (*Tag) GetTime

func (m *Tag) GetTime() *google_protobuf.Timestamp

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

type Trace

type Trace struct {
}

func (*Trace) Descriptor

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

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) Reset

func (m *Trace) Reset()

func (*Trace) String

func (m *Trace) String() string

Jump to

Keyboard shortcuts

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