summaryrefslogtreecommitdiff
path: root/event.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 07:51:28 -0500
committerJeff Carr <[email protected]>2025-03-10 07:59:25 -0500
commitc3e8971e30e39757d63cc440b0ba2ed68bb97533 (patch)
tree4155323940d617a4c698b34f2f09f5acc5a52766 /event.proto
parent18c1221efc1a4e6b97afb5547d44055a29150dff (diff)
more on events and auto save events pbv0.0.3
Diffstat (limited to 'event.proto')
-rw-r--r--event.proto19
1 files changed, 10 insertions, 9 deletions
diff --git a/event.proto b/event.proto
index b0c29d7..4f2e13a 100644
--- a/event.proto
+++ b/event.proto
@@ -5,15 +5,16 @@ package gus;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
message Event {
- string hostname = 1; // the hostname of the client
- string address = 2; // the IP address from the client
- string where = 3; // where gus was sending the client traffic
- google.protobuf.Timestamp ctime = 4; // when the socket opened
- google.protobuf.Timestamp etime = 5; // when the socket ended
+ string hostname = 1; // the hostname of the client
+ string address = 2; // the IP address from the client
+ string where = 3; // where gus was sending the client traffic
+ google.protobuf.Timestamp ctime = 4; // when the socket opened
+ google.protobuf.Timestamp etime = 5; // when the socket ended
+ int64 localPort = 6; // the port gus was listening on
}
-message Events { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex`
- string uuid = 1; // `autogenpb:uuid:4e91f9e6-f545-4c72-bec4-ab951276da1d`
- string version = 2; // `autogenpb:version:v0.0.1`
- repeated Event events = 3;
+message Events { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex`
+ string uuid = 1; // `autogenpb:uuid:4e91f9e6-f545-4c72-bec4-ab951276da1d`
+ string version = 2; // `autogenpb:version:v0.0.1`
+ repeated Event events = 3;
}