Skip to content

Commit

Permalink
Merge branch 'master' into unmarshal_unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed May 14, 2024
2 parents a7dbf16 + 92a93d8 commit b38bdc5
Show file tree
Hide file tree
Showing 8 changed files with 547 additions and 215 deletions.
455 changes: 246 additions & 209 deletions client.pb.go

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions client.pb_easyjson.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ message Publication {
ClientInfo info = 5;
uint64 offset = 6;
map<string, string> tags = 7;
bool delta = 8; // When set indicates that data in Publication is a delta from previous data.
}

message Join {
Expand Down Expand Up @@ -174,6 +175,7 @@ message ConnectResult {
bool pong = 8;
string session = 9;
string node = 10;
int64 time = 11; // Server time as Unix timestamp in milliseconds (not sent by default).
}

message RefreshRequest {
Expand All @@ -198,6 +200,7 @@ message SubscribeRequest {
bool positioned = 9;
bool recoverable = 10;
bool join_leave = 11;
string delta = 12;
}

message SubscribeResult {
Expand All @@ -212,6 +215,7 @@ message SubscribeResult {
bool positioned = 10;
bytes data = 11;
bool was_recovering = 12;
bool delta = 13;
}

message SubRefreshRequest {
Expand Down
Loading

0 comments on commit b38bdc5

Please sign in to comment.