summaryrefslogtreecommitdiff
path: root/internal/protocol/protocol.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2022-02-04 21:37:29 +0000
committerPaul Buetow <pbuetow@mimecast.com>2022-02-04 21:37:29 +0000
commit20bd2a6330b2a5da3dc42c92e4c4e634c78561ff (patch)
treecab22128af9e54131facd0062a474459383a1c90 /internal/protocol/protocol.go
parent8c714057a07ab494689c9e262d95519e34c204e1 (diff)
parent1e205898c1270915b192db51acfdfc6e1a92e3e3 (diff)
merge 4.0.0-RC
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..d53d07e
--- /dev/null
+++ b/internal/protocol/protocol.go
@@ -0,0 +1,18 @@
+package protocol
+
+const (
+ // ProtocolCompat -ibility version
+ ProtocolCompat string = "4.1"
+ // 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 = ","
+)