Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
8831266b
Commit
8831266b
authored
1 year ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
Сгенерированы файлы после правок в proto
parent
20e6eed5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto/log/log.pb.go
+92
-258
92 additions, 258 deletions
proto/log/log.pb.go
proto/log/log_service.pb.go
+39
-40
39 additions, 40 deletions
proto/log/log_service.pb.go
with
131 additions
and
298 deletions
proto/log/log.pb.go
+
92
−
258
View file @
8831266b
...
@@ -84,103 +84,6 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) {
...
@@ -84,103 +84,6 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) {
return
file_log_log_proto_rawDescGZIP
(),
[]
int
{
0
}
return
file_log_log_proto_rawDescGZIP
(),
[]
int
{
0
}
}
}
// Caller представляет собой сообщение, которое содержит информацию о вызывающем объекте.
// Каждый вызывающий объект может быть в одном из трех состояний: user, client, service.
type
Caller
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
// Types that are assignable to Caller:
//
// *Caller_User
// *Caller_Client
// *Caller_Service
Caller
isCaller_Caller
`protobuf_oneof:"caller"`
}
func
(
x
*
Caller
)
Reset
()
{
*
x
=
Caller
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_log_log_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
Caller
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
Caller
)
ProtoMessage
()
{}
func
(
x
*
Caller
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_log_log_proto_msgTypes
[
0
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
ms
.
StoreMessageInfo
(
mi
)
}
return
ms
}
return
mi
.
MessageOf
(
x
)
}
// Deprecated: Use Caller.ProtoReflect.Descriptor instead.
func
(
*
Caller
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_log_log_proto_rawDescGZIP
(),
[]
int
{
0
}
}
func
(
m
*
Caller
)
GetCaller
()
isCaller_Caller
{
if
m
!=
nil
{
return
m
.
Caller
}
return
nil
}
func
(
x
*
Caller
)
GetUser
()
string
{
if
x
,
ok
:=
x
.
GetCaller
()
.
(
*
Caller_User
);
ok
{
return
x
.
User
}
return
""
}
func
(
x
*
Caller
)
GetClient
()
string
{
if
x
,
ok
:=
x
.
GetCaller
()
.
(
*
Caller_Client
);
ok
{
return
x
.
Client
}
return
""
}
func
(
x
*
Caller
)
GetService
()
string
{
if
x
,
ok
:=
x
.
GetCaller
()
.
(
*
Caller_Service
);
ok
{
return
x
.
Service
}
return
""
}
type
isCaller_Caller
interface
{
isCaller_Caller
()
}
type
Caller_User
struct
{
User
string
`protobuf:"bytes,1,opt,name=user,proto3,oneof"`
// user отображает учетную запись пользователя, инициировавшего действие.
}
type
Caller_Client
struct
{
Client
string
`protobuf:"bytes,2,opt,name=client,proto3,oneof"`
// client отображает учетную запись клиента, инициировавшего действие.
}
type
Caller_Service
struct
{
Service
string
`protobuf:"bytes,3,opt,name=service,proto3,oneof"`
// service отображает службу, инициировавшую действие.
}
func
(
*
Caller_User
)
isCaller_Caller
()
{}
func
(
*
Caller_Client
)
isCaller_Caller
()
{}
func
(
*
Caller_Service
)
isCaller_Caller
()
{}
// LogEntry представляет собой структуру данных для хранения информации о журнале.
// LogEntry представляет собой структуру данных для хранения информации о журнале.
type
LogEntry
struct
{
type
LogEntry
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
...
@@ -189,6 +92,15 @@ type LogEntry struct {
...
@@ -189,6 +92,15 @@ type LogEntry struct {
// id является уникальным идентификатором каждой записи в журнале.
// id является уникальным идентификатором каждой записи в журнале.
Id
string
`protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Id
string
`protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// timestamp указывает на временную метку, указывающую когда было создано данное сообщение.
Timestamp
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Level
LogLevel
`protobuf:"varint,3,opt,name=level,proto3,enum=log.LogLevel" json:"level,omitempty"`
// message это основное сообщение, которое требуется записать в лог.
Message
string
`protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// category указывает на категорию события.
// Примеры:
// -
Category
string
`protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
Component
string
`protobuf:"bytes,6,opt,name=component,proto3" json:"component,omitempty"`
// action описывает действие, которое было произведено. Это поле может принимать разные значения в зависимости от сервиса.
// action описывает действие, которое было произведено. Это поле может принимать разные значения в зависимости от сервиса.
// Примеры:
// Примеры:
// - item.create
// - item.create
...
@@ -196,58 +108,50 @@ type LogEntry struct {
...
@@ -196,58 +108,50 @@ type LogEntry struct {
// - organization.create
// - organization.create
// - action.run
// - action.run
// - reference.create
// - reference.create
Action
string
`protobuf:"bytes,11,opt,name=action,proto3" json:"action,omitempty"`
Event
string
`protobuf:"bytes,7,opt,name=event,proto3" json:"event,omitempty"`
// timestamp указывает на временную метку, указывающую когда было создано данное сообщение.
// object это идентификатор объекта связанного с событием
Timestamp
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Идентификатор объекта должен быть в формате GlobalID:
// level это поле, обозначающее уровень приоритета сообщения в логе.
// <контекст>/<тип объекта>/<идентификатор объекта>
Level
LogLevel
`protobuf:"varint,3,opt,name=level,proto3,enum=log.LogLevel" json:"level,omitempty"`
// где:
// message это основное сообщение, которое требуется записать в лог.
// - <контекст> - представляет собой иднетификатор родительского объекта, если таковой имеется
Message
string
`protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// - <тип объекта> - представляет собой тип объекта, например:
// category указывает на категорию события.
// spaces, envs, cols, items, revs, fields, clients, roles, orgs, users
// - <идентификатор объекта> - представляет собой идентификатор объекта
//
// Примеры:
// Примеры:
// -
// /spaces/<space_id> - пространство
Category
string
`protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
// /spaces/<space_id>/envs/<env_id> - окружение
// component обозначает компонент системы, где произошло данное событие.
// /spaces/<space_id>/envs/<env_id>/cols/<collection_id> - коллекция
// /spaces/<space_id>/cols/<collection_id> - коллекция в окружении "master"
// /spaces/<space_id>/envs/<env_id>/schema/<collection_id> - схема коллекции
// /spaces/<space_id>/envs/<env_id>/cols/<collection_id>/items/<item_id> - элемент коллекции
// /spaces/<space_id>/cols/<collection_id>/items/<item_id> - элемент коллекции в окружении "master"
// /spaces/<space_id>/envs/<env_id>/cols/<collection_id>/items/<item_id>/fields/<field_name> - поле элемента коллекции
// /spaces/<space_id>/envs/<env_id>/cols/<collection_id>/items/<item_id>/revs/<rev_id> - ревизия элемента коллекции
// /spaces/<space_id>/clients/<client_id> - клиент
// /spaces/<space_id>/roles/<role_id> - роль
// /orgs/<org_id> - организация
// /users/<user_id> - пользователь
// /services/<service_id> - сервис
Object
string
`protobuf:"bytes,8,opt,name=object,proto3" json:"object,omitempty"`
// caller содержит идентификатор сущности вызвавшей событиe, аналогично полю object
//
// Примеры:
// Примеры:
// - Items.Service
// /users/<user_id> - пользователь
// - Items.API
// /spaces/<space_id>/clients/<client_id> - клиент
// - Users.Service
// /services/<service_id> - сервис
// - Users.API
Caller
string
`protobuf:"bytes,9,opt,name=caller,proto3" json:"caller,omitempty"`
// - Janitor.Service
// - Tasks.Worker
Component
string
`protobuf:"bytes,6,opt,name=component,proto3" json:"component,omitempty"`
// organization обозначает организацию, с которой связано данное событие.
// В случае если событие не связано с организацией, то данное поле должно быть пустым.
// В случае если событие связано с организацией, то данное поле должно содержать идентификатор организации который
// проставляется системой логирования автоматически.
Organization
string
`protobuf:"bytes,7,opt,name=organization,proto3" json:"organization,omitempty"`
// space обозначает пространство, которому принадлежит данное событие.
// В случае если событие не связано с пространством, то данное поле должно быть пустым.
Space
string
`protobuf:"bytes,8,opt,name=space,proto3" json:"space,omitempty"`
// env обозначает среду в которой произошло данный процесс.
// В случае если событие не связано с средой, то данное поле должно быть пустым.
// По умолчанию среда равна master. При этом в лог записывается идентификатор среды соответсвующий master.
Env
string
`protobuf:"bytes,9,opt,name=env,proto3" json:"env,omitempty"`
// collection обозначает коллекцию в которой произошло событие.
// В случае если событие не связано с коллекцией, то данное поле должно быть пустым.
Collection
string
`protobuf:"bytes,10,opt,name=collection,proto3" json:"collection,omitempty"`
// object_type обозначает тип объекта с которым связано событие.
ObjectType
string
`protobuf:"bytes,16,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
// object_id это идентификатор объекта связанного с событием
ObjectId
string
`protobuf:"bytes,17,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
// caller содержит информацию о сущности вызвавшей событие
Caller
*
Caller
`protobuf:"bytes,13,opt,name=caller,proto3" json:"caller,omitempty"`
// attr содержит дополнительные связанные с событием атрибуты в формате Any
// attr содержит дополнительные связанные с событием атрибуты в формате Any
// позволяет добавить дополнительные данные в событие
// позволяет добавить дополнительные данные в событие
Attr
*
anypb
.
Any
`protobuf:"bytes,1
4
,opt,name=attr,proto3" json:"attr,omitempty"`
Attr
*
anypb
.
Any
`protobuf:"bytes,1
0
,opt,name=attr,proto3" json:"attr,omitempty"`
// tags содержит теги связанные с событием, на усмотрение сервиса
// tags содержит теги связанные с событием, на усмотрение сервиса
Tags
[]
string
`protobuf:"bytes,1
5
,rep,name=tags,proto3" json:"tags,omitempty"`
Tags
[]
string
`protobuf:"bytes,1
1
,rep,name=tags,proto3" json:"tags,omitempty"`
}
}
func
(
x
*
LogEntry
)
Reset
()
{
func
(
x
*
LogEntry
)
Reset
()
{
*
x
=
LogEntry
{}
*
x
=
LogEntry
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_log_log_proto_msgTypes
[
1
]
mi
:=
&
file_log_log_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -260,7 +164,7 @@ func (x *LogEntry) String() string {
...
@@ -260,7 +164,7 @@ func (x *LogEntry) String() string {
func
(
*
LogEntry
)
ProtoMessage
()
{}
func
(
*
LogEntry
)
ProtoMessage
()
{}
func
(
x
*
LogEntry
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
LogEntry
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_log_log_proto_msgTypes
[
1
]
mi
:=
&
file_log_log_proto_msgTypes
[
0
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -273,7 +177,7 @@ func (x *LogEntry) ProtoReflect() protoreflect.Message {
...
@@ -273,7 +177,7 @@ func (x *LogEntry) ProtoReflect() protoreflect.Message {
// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
func
(
*
LogEntry
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
LogEntry
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_log_log_proto_rawDescGZIP
(),
[]
int
{
1
}
return
file_log_log_proto_rawDescGZIP
(),
[]
int
{
0
}
}
}
func
(
x
*
LogEntry
)
GetId
()
string
{
func
(
x
*
LogEntry
)
GetId
()
string
{
...
@@ -283,13 +187,6 @@ func (x *LogEntry) GetId() string {
...
@@ -283,13 +187,6 @@ func (x *LogEntry) GetId() string {
return
""
return
""
}
}
func
(
x
*
LogEntry
)
GetAction
()
string
{
if
x
!=
nil
{
return
x
.
Action
}
return
""
}
func
(
x
*
LogEntry
)
GetTimestamp
()
*
timestamppb
.
Timestamp
{
func
(
x
*
LogEntry
)
GetTimestamp
()
*
timestamppb
.
Timestamp
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Timestamp
return
x
.
Timestamp
...
@@ -325,53 +222,25 @@ func (x *LogEntry) GetComponent() string {
...
@@ -325,53 +222,25 @@ func (x *LogEntry) GetComponent() string {
return
""
return
""
}
}
func
(
x
*
LogEntry
)
GetOrganization
()
string
{
func
(
x
*
LogEntry
)
GetEvent
()
string
{
if
x
!=
nil
{
return
x
.
Organization
}
return
""
}
func
(
x
*
LogEntry
)
GetSpace
()
string
{
if
x
!=
nil
{
return
x
.
Space
}
return
""
}
func
(
x
*
LogEntry
)
GetEnv
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
E
n
v
return
x
.
Ev
ent
}
}
return
""
return
""
}
}
func
(
x
*
LogEntry
)
Get
Collection
()
string
{
func
(
x
*
LogEntry
)
Get
Object
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Collection
return
x
.
Object
}
}
return
""
return
""
}
}
func
(
x
*
LogEntry
)
GetObjectType
()
string
{
func
(
x
*
LogEntry
)
GetCaller
()
string
{
if
x
!=
nil
{
return
x
.
ObjectType
}
return
""
}
func
(
x
*
LogEntry
)
GetObjectId
()
string
{
if
x
!=
nil
{
return
x
.
ObjectId
}
return
""
}
func
(
x
*
LogEntry
)
GetCaller
()
*
Caller
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Caller
return
x
.
Caller
}
}
return
nil
return
""
}
}
func
(
x
*
LogEntry
)
GetAttr
()
*
anypb
.
Any
{
func
(
x
*
LogEntry
)
GetAttr
()
*
anypb
.
Any
{
...
@@ -397,52 +266,36 @@ var file_log_log_proto_rawDesc = []byte{
...
@@ -397,52 +266,36 @@ var file_log_log_proto_rawDesc = []byte{
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x19
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x65
,
0x2f
,
0x70
,
0x72
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x19
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x65
,
0x2f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2f
,
0x61
,
0x6e
,
0x79
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2f
,
0x61
,
0x6e
,
0x79
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x12
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2f
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x1a
,
0x12
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2f
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x5e
,
0x0a
,
0x06
,
0x43
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x12
,
0x14
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0xd1
,
0x02
,
0x0a
,
0x08
,
0x4c
,
0x6f
,
0x67
,
0x45
,
0x6e
,
0x74
,
0x72
,
0x0a
,
0x04
,
0x75
,
0x73
,
0x65
,
0x72
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x48
,
0x00
,
0x52
,
0x04
,
0x75
,
0x73
,
0x65
,
0x72
,
0x12
,
0x18
,
0x0a
,
0x06
,
0x63
,
0x6c
,
0x69
,
0x65
,
0x6e
,
0x74
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x48
,
0x00
,
0x52
,
0x06
,
0x63
,
0x6c
,
0x69
,
0x65
,
0x6e
,
0x74
,
0x12
,
0x1a
,
0x0a
,
0x07
,
0x73
,
0x65
,
0x72
,
0x76
,
0x69
,
0x63
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x48
,
0x00
,
0x52
,
0x07
,
0x73
,
0x65
,
0x72
,
0x76
,
0x69
,
0x63
,
0x65
,
0x42
,
0x08
,
0x0a
,
0x06
,
0x63
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x22
,
0xf2
,
0x03
,
0x0a
,
0x08
,
0x4c
,
0x6f
,
0x67
,
0x45
,
0x6e
,
0x74
,
0x72
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x02
,
0x69
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x02
,
0x69
,
0x64
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x61
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x64
,
0x12
,
0x38
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x02
,
0x09
,
0x52
,
0x06
,
0x61
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x38
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x65
,
0x2e
,
0x70
,
0x72
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2e
,
0x54
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x65
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2e
,
0x54
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x23
,
0x0a
,
0x05
,
0x6c
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x0d
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x23
,
0x0a
,
0x05
,
0x6c
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x18
,
0x03
,
0x20
,
0x01
,
0x2e
,
0x4c
,
0x6f
,
0x67
,
0x4c
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x52
,
0x05
,
0x6c
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x28
,
0x0e
,
0x32
,
0x0d
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x4c
,
0x6f
,
0x67
,
0x4c
,
0x65
,
0x76
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x6d
,
0x65
,
0x73
,
0x73
,
0x61
,
0x67
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x6c
,
0x52
,
0x05
,
0x6c
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x6d
,
0x65
,
0x73
,
0x73
,
0x09
,
0x52
,
0x07
,
0x6d
,
0x65
,
0x73
,
0x73
,
0x61
,
0x67
,
0x65
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x63
,
0x61
,
0x61
,
0x67
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x6d
,
0x65
,
0x73
,
0x73
,
0x61
,
0x74
,
0x65
,
0x67
,
0x6f
,
0x72
,
0x79
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x63
,
0x61
,
0x67
,
0x65
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x63
,
0x61
,
0x74
,
0x65
,
0x67
,
0x6f
,
0x72
,
0x79
,
0x18
,
0x05
,
0x74
,
0x65
,
0x67
,
0x6f
,
0x72
,
0x79
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x63
,
0x6f
,
0x6d
,
0x70
,
0x6f
,
0x6e
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x63
,
0x61
,
0x74
,
0x65
,
0x67
,
0x6f
,
0x72
,
0x79
,
0x12
,
0x1c
,
0x65
,
0x6e
,
0x74
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x63
,
0x6f
,
0x6d
,
0x70
,
0x6f
,
0x0a
,
0x09
,
0x63
,
0x6f
,
0x6d
,
0x70
,
0x6f
,
0x6e
,
0x65
,
0x6e
,
0x74
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x6e
,
0x65
,
0x6e
,
0x74
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x65
,
0x76
,
0x65
,
0x6e
,
0x74
,
0x18
,
0x07
,
0x20
,
0x09
,
0x52
,
0x09
,
0x63
,
0x6f
,
0x6d
,
0x70
,
0x6f
,
0x6e
,
0x65
,
0x6e
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x65
,
0x76
,
0x65
,
0x6e
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x6f
,
0x62
,
0x6f
,
0x72
,
0x67
,
0x61
,
0x6e
,
0x69
,
0x7a
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x07
,
0x20
,
0x01
,
0x6a
,
0x65
,
0x63
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x6f
,
0x62
,
0x6a
,
0x65
,
0x28
,
0x09
,
0x52
,
0x0c
,
0x6f
,
0x72
,
0x67
,
0x61
,
0x6e
,
0x69
,
0x7a
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x63
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x18
,
0x09
,
0x20
,
0x01
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x28
,
0x09
,
0x52
,
0x06
,
0x63
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x12
,
0x28
,
0x0a
,
0x04
,
0x61
,
0x74
,
0x05
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x65
,
0x6e
,
0x76
,
0x18
,
0x09
,
0x20
,
0x74
,
0x72
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x65
,
0x6e
,
0x76
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x63
,
0x6f
,
0x6c
,
0x6c
,
0x65
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2e
,
0x41
,
0x6e
,
0x79
,
0x52
,
0x04
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x63
,
0x6f
,
0x61
,
0x74
,
0x74
,
0x72
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x61
,
0x67
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x03
,
0x6c
,
0x6c
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x1f
,
0x0a
,
0x0b
,
0x6f
,
0x62
,
0x6a
,
0x65
,
0x28
,
0x09
,
0x52
,
0x04
,
0x74
,
0x61
,
0x67
,
0x73
,
0x2a
,
0x45
,
0x0a
,
0x08
,
0x4c
,
0x6f
,
0x67
,
0x4c
,
0x63
,
0x74
,
0x5f
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x10
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x6f
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x12
,
0x08
,
0x0a
,
0x04
,
0x49
,
0x4e
,
0x46
,
0x4f
,
0x10
,
0x00
,
0x12
,
0x0b
,
0x62
,
0x6a
,
0x65
,
0x63
,
0x74
,
0x54
,
0x79
,
0x70
,
0x65
,
0x12
,
0x1b
,
0x0a
,
0x09
,
0x6f
,
0x62
,
0x6a
,
0x0a
,
0x07
,
0x57
,
0x41
,
0x52
,
0x4e
,
0x49
,
0x4e
,
0x47
,
0x10
,
0x01
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x65
,
0x63
,
0x74
,
0x5f
,
0x69
,
0x64
,
0x18
,
0x11
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x6f
,
0x62
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x02
,
0x12
,
0x0c
,
0x0a
,
0x08
,
0x43
,
0x52
,
0x49
,
0x54
,
0x49
,
0x43
,
0x6a
,
0x65
,
0x63
,
0x74
,
0x49
,
0x64
,
0x12
,
0x23
,
0x0a
,
0x06
,
0x63
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x41
,
0x4c
,
0x10
,
0x03
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x46
,
0x41
,
0x54
,
0x41
,
0x4c
,
0x10
,
0x04
,
0x42
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0b
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x43
,
0x61
,
0x6c
,
0x2c
,
0x5a
,
0x2a
,
0x67
,
0x69
,
0x74
,
0x2e
,
0x70
,
0x65
,
0x72
,
0x78
,
0x2e
,
0x72
,
0x75
,
0x2f
,
0x70
,
0x6c
,
0x65
,
0x72
,
0x52
,
0x06
,
0x63
,
0x61
,
0x6c
,
0x6c
,
0x65
,
0x72
,
0x12
,
0x28
,
0x0a
,
0x04
,
0x61
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2d
,
0x67
,
0x6f
,
0x2f
,
0x74
,
0x74
,
0x72
,
0x18
,
0x0e
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x6c
,
0x6f
,
0x67
,
0x3b
,
0x6c
,
0x6f
,
0x67
,
0x62
,
0x06
,
0x70
,
0x6c
,
0x65
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x62
,
0x75
,
0x66
,
0x2e
,
0x41
,
0x6e
,
0x79
,
0x52
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x04
,
0x61
,
0x74
,
0x74
,
0x72
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x61
,
0x67
,
0x73
,
0x18
,
0x0f
,
0x20
,
0x03
,
0x28
,
0x09
,
0x52
,
0x04
,
0x74
,
0x61
,
0x67
,
0x73
,
0x2a
,
0x45
,
0x0a
,
0x08
,
0x4c
,
0x6f
,
0x67
,
0x4c
,
0x65
,
0x76
,
0x65
,
0x6c
,
0x12
,
0x08
,
0x0a
,
0x04
,
0x49
,
0x4e
,
0x46
,
0x4f
,
0x10
,
0x00
,
0x12
,
0x0b
,
0x0a
,
0x07
,
0x57
,
0x41
,
0x52
,
0x4e
,
0x49
,
0x4e
,
0x47
,
0x10
,
0x01
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x02
,
0x12
,
0x0c
,
0x0a
,
0x08
,
0x43
,
0x52
,
0x49
,
0x54
,
0x49
,
0x43
,
0x41
,
0x4c
,
0x10
,
0x03
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x46
,
0x41
,
0x54
,
0x41
,
0x4c
,
0x10
,
0x04
,
0x42
,
0x2c
,
0x5a
,
0x2a
,
0x67
,
0x69
,
0x74
,
0x2e
,
0x70
,
0x65
,
0x72
,
0x78
,
0x2e
,
0x72
,
0x75
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2d
,
0x67
,
0x6f
,
0x2f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x6c
,
0x6f
,
0x67
,
0x3b
,
0x6c
,
0x6f
,
0x67
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
@@ -458,24 +311,22 @@ func file_log_log_proto_rawDescGZIP() []byte {
...
@@ -458,24 +311,22 @@ func file_log_log_proto_rawDescGZIP() []byte {
}
}
var
file_log_log_proto_enumTypes
=
make
([]
protoimpl
.
EnumInfo
,
1
)
var
file_log_log_proto_enumTypes
=
make
([]
protoimpl
.
EnumInfo
,
1
)
var
file_log_log_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
2
)
var
file_log_log_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
1
)
var
file_log_log_proto_goTypes
=
[]
interface
{}{
var
file_log_log_proto_goTypes
=
[]
interface
{}{
(
LogLevel
)(
0
),
// 0: log.LogLevel
(
LogLevel
)(
0
),
// 0: log.LogLevel
(
*
Caller
)(
nil
),
// 1: log.Caller
(
*
LogEntry
)(
nil
),
// 1: log.LogEntry
(
*
LogEntry
)(
nil
),
// 2: log.LogEntry
(
*
timestamppb
.
Timestamp
)(
nil
),
// 2: google.protobuf.Timestamp
(
*
timestamppb
.
Timestamp
)(
nil
),
// 3: google.protobuf.Timestamp
(
*
anypb
.
Any
)(
nil
),
// 3: google.protobuf.Any
(
*
anypb
.
Any
)(
nil
),
// 4: google.protobuf.Any
}
}
var
file_log_log_proto_depIdxs
=
[]
int32
{
var
file_log_log_proto_depIdxs
=
[]
int32
{
3
,
// 0: log.LogEntry.timestamp:type_name -> google.protobuf.Timestamp
2
,
// 0: log.LogEntry.timestamp:type_name -> google.protobuf.Timestamp
0
,
// 1: log.LogEntry.level:type_name -> log.LogLevel
0
,
// 1: log.LogEntry.level:type_name -> log.LogLevel
1
,
// 2: log.LogEntry.caller:type_name -> log.Caller
3
,
// 2: log.LogEntry.attr:type_name -> google.protobuf.Any
4
,
// 3: log.LogEntry.attr:type_name -> google.protobuf.Any
3
,
// [3:3] is the sub-list for method output_type
4
,
// [4:4] is the sub-list for method output_type
3
,
// [3:3] is the sub-list for method input_type
4
,
// [4:4] is the sub-list for method input_type
3
,
// [3:3] is the sub-list for extension type_name
4
,
// [4:4] is the sub-list for extension type_name
3
,
// [3:3] is the sub-list for extension extendee
4
,
// [4:4] is the sub-list for extension extendee
0
,
// [0:3] is the sub-list for field type_name
0
,
// [0:4] is the sub-list for field type_name
}
}
func
init
()
{
file_log_log_proto_init
()
}
func
init
()
{
file_log_log_proto_init
()
}
...
@@ -485,18 +336,6 @@ func file_log_log_proto_init() {
...
@@ -485,18 +336,6 @@ func file_log_log_proto_init() {
}
}
if
!
protoimpl
.
UnsafeEnabled
{
if
!
protoimpl
.
UnsafeEnabled
{
file_log_log_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_log_log_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
Caller
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_log_log_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
LogEntry
);
i
{
switch
v
:=
v
.
(
*
LogEntry
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -509,18 +348,13 @@ func file_log_log_proto_init() {
...
@@ -509,18 +348,13 @@ func file_log_log_proto_init() {
}
}
}
}
}
}
file_log_log_proto_msgTypes
[
0
]
.
OneofWrappers
=
[]
interface
{}{
(
*
Caller_User
)(
nil
),
(
*
Caller_Client
)(
nil
),
(
*
Caller_Service
)(
nil
),
}
type
x
struct
{}
type
x
struct
{}
out
:=
protoimpl
.
TypeBuilder
{
out
:=
protoimpl
.
TypeBuilder
{
File
:
protoimpl
.
DescBuilder
{
File
:
protoimpl
.
DescBuilder
{
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
RawDescriptor
:
file_log_log_proto_rawDesc
,
RawDescriptor
:
file_log_log_proto_rawDesc
,
NumEnums
:
1
,
NumEnums
:
1
,
NumMessages
:
2
,
NumMessages
:
1
,
NumExtensions
:
0
,
NumExtensions
:
0
,
NumServices
:
0
,
NumServices
:
0
,
},
},
...
...
This diff is collapsed.
Click to expand it.
proto/log/log_service.pb.go
+
39
−
40
View file @
8831266b
...
@@ -241,7 +241,7 @@ type FindResult struct {
...
@@ -241,7 +241,7 @@ type FindResult struct {
Entries
[]
*
LogEntry
`protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
Entries
[]
*
LogEntry
`protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// Использовавшийся для поиска фильтр
// Использовавшийся для поиска фильтр
// Для
// Для
Filter
*
common
.
Filter
`protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
Filter
*
Filter
`protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Использовавшиеся для поиска опции
// Использовавшиеся для поиска опции
Options
*
common
.
FindOptions
`protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
Options
*
common
.
FindOptions
`protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// Общее количество найденных записей
// Общее количество найденных записей
...
@@ -287,7 +287,7 @@ func (x *FindResult) GetEntries() []*LogEntry {
...
@@ -287,7 +287,7 @@ func (x *FindResult) GetEntries() []*LogEntry {
return
nil
return
nil
}
}
func
(
x
*
FindResult
)
GetFilter
()
*
common
.
Filter
{
func
(
x
*
FindResult
)
GetFilter
()
*
Filter
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Filter
return
x
.
Filter
}
}
...
@@ -514,47 +514,47 @@ var file_log_log_service_proto_rawDesc = []byte{
...
@@ -514,47 +514,47 @@ var file_log_log_service_proto_rawDesc = []byte{
0x52
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x12
,
0x2d
,
0x0a
,
0x07
,
0x6f
,
0x70
,
0x74
,
0x69
,
0x52
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x12
,
0x2d
,
0x0a
,
0x07
,
0x6f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x13
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x73
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x13
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x4f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x52
,
0x07
,
0x6f
,
0x6e
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x4f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x52
,
0x07
,
0x6f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x22
,
0x
a2
,
0x01
,
0x0a
,
0x0a
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x6f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x22
,
0x
9f
,
0x01
,
0x0a
,
0x0a
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x12
,
0x27
,
0x0a
,
0x07
,
0x65
,
0x6e
,
0x74
,
0x72
,
0x69
,
0x65
,
0x52
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x12
,
0x27
,
0x0a
,
0x07
,
0x65
,
0x6e
,
0x74
,
0x72
,
0x69
,
0x65
,
0x73
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0d
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x4c
,
0x6f
,
0x73
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0d
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x4c
,
0x6f
,
0x67
,
0x45
,
0x6e
,
0x74
,
0x72
,
0x79
,
0x52
,
0x07
,
0x65
,
0x6e
,
0x74
,
0x72
,
0x69
,
0x65
,
0x73
,
0x12
,
0x67
,
0x45
,
0x6e
,
0x74
,
0x72
,
0x79
,
0x52
,
0x07
,
0x65
,
0x6e
,
0x74
,
0x72
,
0x69
,
0x65
,
0x73
,
0x12
,
0x26
,
0x0a
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x23
,
0x0a
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0e
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2e
,
0x46
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x52
,
0x0b
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x52
,
0x06
,
0x66
,
0x69
,
0x06
,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69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x29
,
0x0a
,
0x06
,
0x64
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x29
,
0x0a
,
0x06
,
0x72
,
0x65
,
0x73
,
0x72
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0f
,
0x2e
,
0x6c
,
0x75
,
0x6c
,
0x74
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0f
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x48
,
0x00
,
0x52
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x48
,
0x00
,
0x52
,
0x06
,
0x72
,
0x65
,
0x06
,
0x72
,
0x65
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x12
,
0x25
,
0x0a
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x73
,
0x75
,
0x6c
,
0x74
,
0x12
,
0x25
,
0x0a
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x18
,
0x02
,
0x20
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0d
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2e
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0d
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2e
,
0x45
,
0x72
,
0x72
,
0x45
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x48
,
0x00
,
0x52
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x42
,
0x0a
,
0x6f
,
0x72
,
0x48
,
0x00
,
0x52
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x42
,
0x0a
,
0x0a
,
0x08
,
0x72
,
0x0a
,
0x08
,
0x72
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x34
,
0x0a
,
0x0d
,
0x44
,
0x65
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x34
,
0x0a
,
0x0d
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x23
,
0x0a
,
0x06
,
0x66
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x23
,
0x0a
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0b
,
0x2e
,
0x6c
,
0x6f
,
0x65
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0b
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x52
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x52
,
0x06
,
0x66
,
0x69
,
0x6c
,
0x74
,
0x65
,
0x72
,
0x22
,
0x35
,
0x0a
,
0x22
,
0x35
,
0x0a
,
0x0e
,
0x44
,
0x65
,
0x6c
,
0x65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75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x11
,
0x2e
,
0x6c
,
0x74
,
0x1a
,
0x10
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x4c
,
0x6f
,
0x67
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x00
,
0x12
,
0x2d
,
0x0a
,
0x04
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x12
,
0x10
,
0x2e
,
0x00
,
0x12
,
0x33
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x12
,
0x12
,
0x2e
,
0x6c
,
0x6f
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x67
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x11
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x46
,
0x69
,
0x6e
,
0x64
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x13
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x73
,
0x65
,
0x22
,
0x00
,
0x12
,
0x33
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x12
,
0x12
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x00
,
0x42
,
0x2c
,
0x5a
,
0x2a
,
0x67
,
0x69
,
0x74
,
0x2e
,
0x70
,
0x65
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x72
,
0x78
,
0x2e
,
0x72
,
0x75
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x73
,
0x74
,
0x1a
,
0x13
,
0x2e
,
0x6c
,
0x6f
,
0x67
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x78
,
0x69
,
0x73
,
0x2d
,
0x67
,
0x6f
,
0x2f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x6c
,
0x6f
,
0x67
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x00
,
0x42
,
0x2c
,
0x5a
,
0x2a
,
0x67
,
0x69
,
0x74
,
0x3b
,
0x6c
,
0x6f
,
0x67
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x2e
,
0x70
,
0x65
,
0x72
,
0x78
,
0x2e
,
0x72
,
0x75
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2f
,
0x70
,
0x65
,
0x72
,
0x78
,
0x69
,
0x73
,
0x2d
,
0x67
,
0x6f
,
0x2f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x6c
,
0x6f
,
0x67
,
0x3b
,
0x6c
,
0x6f
,
0x67
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
@@ -582,7 +582,6 @@ var file_log_log_service_proto_goTypes = []interface{}{
...
@@ -582,7 +582,6 @@ var file_log_log_service_proto_goTypes = []interface{}{
(
*
LogEntry
)(
nil
),
// 8: log.LogEntry
(
*
LogEntry
)(
nil
),
// 8: log.LogEntry
(
*
common
.
Error
)(
nil
),
// 9: common.Error
(
*
common
.
Error
)(
nil
),
// 9: common.Error
(
*
common
.
FindOptions
)(
nil
),
// 10: common.FindOptions
(
*
common
.
FindOptions
)(
nil
),
// 10: common.FindOptions
(
*
common
.
Filter
)(
nil
),
// 11: common.Filter
}
}
var
file_log_log_service_proto_depIdxs
=
[]
int32
{
var
file_log_log_service_proto_depIdxs
=
[]
int32
{
8
,
// 0: log.LogRequest.entry:type_name -> log.LogEntry
8
,
// 0: log.LogRequest.entry:type_name -> log.LogEntry
...
@@ -590,7 +589,7 @@ var file_log_log_service_proto_depIdxs = []int32{
...
@@ -590,7 +589,7 @@ var file_log_log_service_proto_depIdxs = []int32{
2
,
// 2: log.FindRequest.filter:type_name -> log.Filter
2
,
// 2: log.FindRequest.filter:type_name -> log.Filter
10
,
// 3: log.FindRequest.options:type_name -> common.FindOptions
10
,
// 3: log.FindRequest.options:type_name -> common.FindOptions
8
,
// 4: log.FindResult.entries:type_name -> log.LogEntry
8
,
// 4: log.FindResult.entries:type_name -> log.LogEntry
11
,
// 5: log.FindResult.filter:type_name ->
common
.Filter
2
,
// 5: log.FindResult.filter:type_name ->
log
.Filter
10
,
// 6: log.FindResult.options:type_name -> common.FindOptions
10
,
// 6: log.FindResult.options:type_name -> common.FindOptions
4
,
// 7: log.FindResponse.result:type_name -> log.FindResult
4
,
// 7: log.FindResponse.result:type_name -> log.FindResult
9
,
// 8: log.FindResponse.error:type_name -> common.Error
9
,
// 8: log.FindResponse.error:type_name -> common.Error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment