mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:31:34 +01:00
b6a95a8cb3
* Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
44 lines
1.2 KiB
Go
44 lines
1.2 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: Tracing.proto
|
|
// DO NOT EDIT!
|
|
|
|
package proto
|
|
|
|
import proto1 "github.com/golang/protobuf/proto"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto1.Marshal
|
|
var _ = math.Inf
|
|
|
|
// Used to pass through the information necessary to continue
|
|
// a trace after an RPC is made. All we need is the traceid
|
|
// (so we know the overarching trace this message is a part of), and
|
|
// the id of the current span when this message was sent, so we know
|
|
// what span caused the new span we will create when this message is received.
|
|
type RPCTInfo struct {
|
|
TraceId *int64 `protobuf:"varint,1,opt,name=trace_id" json:"trace_id,omitempty"`
|
|
ParentId *int64 `protobuf:"varint,2,opt,name=parent_id" json:"parent_id,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *RPCTInfo) Reset() { *m = RPCTInfo{} }
|
|
func (m *RPCTInfo) String() string { return proto1.CompactTextString(m) }
|
|
func (*RPCTInfo) ProtoMessage() {}
|
|
|
|
func (m *RPCTInfo) GetTraceId() int64 {
|
|
if m != nil && m.TraceId != nil {
|
|
return *m.TraceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RPCTInfo) GetParentId() int64 {
|
|
if m != nil && m.ParentId != nil {
|
|
return *m.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
}
|