diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2022-10-05 12:12:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 12:12:42 +0200 |
commit | 8c0c3441d88a612ca8e9ba4f83c6ff29ca73f5d0 (patch) | |
tree | 74b355bf97be6ad1b82cf89d16d564105f5373de /setup | |
parent | ebd137cf6b2fbd767625dc5289b0bef6d1e51971 (diff) |
Add `RoomEventType` nats.Header to avoid unneeded unmarshalling (#2765)
Diffstat (limited to 'setup')
-rw-r--r-- | setup/jetstream/streams.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/setup/jetstream/streams.go b/setup/jetstream/streams.go index ee9810da..590f0cbd 100644 --- a/setup/jetstream/streams.go +++ b/setup/jetstream/streams.go @@ -9,9 +9,10 @@ import ( ) const ( - UserID = "user_id" - RoomID = "room_id" - EventID = "event_id" + UserID = "user_id" + RoomID = "room_id" + EventID = "event_id" + RoomEventType = "output_room_event_type" ) var ( |