summaryrefslogtreecommitdiff
path: root/internal/protocol/protocol.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-10-21 21:28:49 +0300
committerPaul Buetow <pbuetow@mimecast.com>2021-10-21 21:28:49 +0300
commitf4207a55f71bfbcfdc532d5cdd3befaa3474a157 (patch)
treeea5e4a2d2a67035f645bdee496ae55a52034178a /internal/protocol/protocol.go
parentd80d6070557e3a800e3a54967af9eced518f116b (diff)
parent739205206d63bf42f4e843b39d04d4c8cd8207c3 (diff)
merge develop
Diffstat (limited to 'internal/protocol/protocol.go')
-rw-r--r--internal/protocol/protocol.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/protocol/protocol.go b/internal/protocol/protocol.go
new file mode 100644
index 0000000..d29706c
--- /dev/null
+++ b/internal/protocol/protocol.go
@@ -0,0 +1,18 @@
+package protocol
+
+const (
+ // ProtocolCompat -ibility version
+ ProtocolCompat string = "4"
+ // MessageDelimiter delimits separate messages.
+ MessageDelimiter byte = '¬'
+ // FieldDelimiter delimits messagefields.
+ FieldDelimiter string = "|"
+ // CSVDelimiter delimits CSV file fields.kj:w
+ CSVDelimiter string = ","
+ // AggregateKVDelimiter delimits key-values of an aggregation message.
+ AggregateKVDelimiter string = "≔"
+ // AggregateDelimiter delimits parts of an aggregation message.
+ AggregateDelimiter string = "∥"
+ // AggregateGroupKeyCombinator combines the group set keys.
+ AggregateGroupKeyCombinator string = ","
+)