proto

package
v0.0.0-...-f0edd3e Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tracer_proto protoreflect.FileDescriptor

Functions

func RegisterTracerServiceServer

func RegisterTracerServiceServer(s *grpc.Server, srv TracerServiceServer)

Types

type Config

type Config struct {
	LastMarkSent int64 `protobuf:"varint,1,opt,name=last_mark_sent,json=lastMarkSent,proto3" json:"last_mark_sent,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetLastMarkSent

func (x *Config) GetLastMarkSent() int64

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Event

type Event struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Call      string `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"`
	Timestamp int64  `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Server    string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
	Binary    string `protobuf:"bytes,5,opt,name=binary,proto3" json:"binary,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetBinary

func (x *Event) GetBinary() string

func (*Event) GetCall

func (x *Event) GetCall() string

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetServer

func (x *Event) GetServer() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() int64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type MarkRequest

type MarkRequest struct {
	LongRunningId   string `protobuf:"bytes,1,opt,name=long_running_id,json=longRunningId,proto3" json:"long_running_id,omitempty"`
	RunningTimeInMs int64  `protobuf:"varint,2,opt,name=running_time_in_ms,json=runningTimeInMs,proto3" json:"running_time_in_ms,omitempty"`
	Origin          string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"`
	Request         string `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
	RequestMessage  string `protobuf:"bytes,5,opt,name=request_message,json=requestMessage,proto3" json:"request_message,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkRequest) Descriptor deprecated

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

Deprecated: Use MarkRequest.ProtoReflect.Descriptor instead.

func (*MarkRequest) GetLongRunningId

func (x *MarkRequest) GetLongRunningId() string

func (*MarkRequest) GetOrigin

func (x *MarkRequest) GetOrigin() string

func (*MarkRequest) GetRequest

func (x *MarkRequest) GetRequest() string

func (*MarkRequest) GetRequestMessage

func (x *MarkRequest) GetRequestMessage() string

func (*MarkRequest) GetRunningTimeInMs

func (x *MarkRequest) GetRunningTimeInMs() int64

func (*MarkRequest) ProtoMessage

func (*MarkRequest) ProtoMessage()

func (*MarkRequest) ProtoReflect

func (x *MarkRequest) ProtoReflect() protoreflect.Message

func (*MarkRequest) Reset

func (x *MarkRequest) Reset()

func (*MarkRequest) String

func (x *MarkRequest) String() string

type MarkResponse

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

func (*MarkResponse) Descriptor deprecated

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

Deprecated: Use MarkResponse.ProtoReflect.Descriptor instead.

func (*MarkResponse) ProtoMessage

func (*MarkResponse) ProtoMessage()

func (*MarkResponse) ProtoReflect

func (x *MarkResponse) ProtoReflect() protoreflect.Message

func (*MarkResponse) Reset

func (x *MarkResponse) Reset()

func (*MarkResponse) String

func (x *MarkResponse) String() string

type RecordRequest

type RecordRequest struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordRequest) Descriptor deprecated

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

Deprecated: Use RecordRequest.ProtoReflect.Descriptor instead.

func (*RecordRequest) GetEvent

func (x *RecordRequest) GetEvent() *Event

func (*RecordRequest) ProtoMessage

func (*RecordRequest) ProtoMessage()

func (*RecordRequest) ProtoReflect

func (x *RecordRequest) ProtoReflect() protoreflect.Message

func (*RecordRequest) Reset

func (x *RecordRequest) Reset()

func (*RecordRequest) String

func (x *RecordRequest) String() string

type RecordResponse

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

func (*RecordResponse) Descriptor deprecated

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

Deprecated: Use RecordResponse.ProtoReflect.Descriptor instead.

func (*RecordResponse) ProtoMessage

func (*RecordResponse) ProtoMessage()

func (*RecordResponse) ProtoReflect

func (x *RecordResponse) ProtoReflect() protoreflect.Message

func (*RecordResponse) Reset

func (x *RecordResponse) Reset()

func (*RecordResponse) String

func (x *RecordResponse) String() string

type Trace

type Trace struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*Trace) Descriptor deprecated

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

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetEvents

func (x *Trace) GetEvents() []*Event

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

func (x *Trace) ProtoReflect() protoreflect.Message

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

type TraceRequest

type TraceRequest struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Call string `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceRequest) Descriptor deprecated

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

Deprecated: Use TraceRequest.ProtoReflect.Descriptor instead.

func (*TraceRequest) GetCall

func (x *TraceRequest) GetCall() string

func (*TraceRequest) GetId

func (x *TraceRequest) GetId() string

func (*TraceRequest) ProtoMessage

func (*TraceRequest) ProtoMessage()

func (*TraceRequest) ProtoReflect

func (x *TraceRequest) ProtoReflect() protoreflect.Message

func (*TraceRequest) Reset

func (x *TraceRequest) Reset()

func (*TraceRequest) String

func (x *TraceRequest) String() string

type TraceResponse

type TraceResponse struct {
	Traces []*Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceResponse) Descriptor deprecated

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

Deprecated: Use TraceResponse.ProtoReflect.Descriptor instead.

func (*TraceResponse) GetTraces

func (x *TraceResponse) GetTraces() []*Trace

func (*TraceResponse) ProtoMessage

func (*TraceResponse) ProtoMessage()

func (*TraceResponse) ProtoReflect

func (x *TraceResponse) ProtoReflect() protoreflect.Message

func (*TraceResponse) Reset

func (x *TraceResponse) Reset()

func (*TraceResponse) String

func (x *TraceResponse) String() string

type TracerServiceClient

type TracerServiceClient interface {
	Record(ctx context.Context, in *RecordRequest, opts ...grpc.CallOption) (*RecordResponse, error)
	Trace(ctx context.Context, in *TraceRequest, opts ...grpc.CallOption) (*TraceResponse, error)
	Mark(ctx context.Context, in *MarkRequest, opts ...grpc.CallOption) (*MarkResponse, error)
}

TracerServiceClient is the client API for TracerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TracerServiceServer

type TracerServiceServer interface {
	Record(context.Context, *RecordRequest) (*RecordResponse, error)
	Trace(context.Context, *TraceRequest) (*TraceResponse, error)
	Mark(context.Context, *MarkRequest) (*MarkResponse, error)
}

TracerServiceServer is the server API for TracerService service.

type UnimplementedTracerServiceServer

type UnimplementedTracerServiceServer struct {
}

UnimplementedTracerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTracerServiceServer) Mark

func (*UnimplementedTracerServiceServer) Record

func (*UnimplementedTracerServiceServer) Trace

Jump to

Keyboard shortcuts

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