diff options
| author | Paul Buetow <paul@buetow.org> | 2021-08-21 14:54:24 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-08-21 14:54:24 +0300 |
| commit | c2522ffb59514443816a96386c16bb7527cbe57c (patch) | |
| tree | 6e6fb065e14b92e362f66103cfed2cbdc51ceccf /internal/protocol | |
| parent | 70cc67e78278fcf103acc57dfe513bd6f5f258c9 (diff) | |
read files bytewise for more control of whats happening - change transport protocol for more control over newlines
Diffstat (limited to 'internal/protocol')
| -rw-r--r-- | internal/protocol/protocol.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/protocol/protocol.go b/internal/protocol/protocol.go new file mode 100644 index 0000000..2a570cd --- /dev/null +++ b/internal/protocol/protocol.go @@ -0,0 +1,10 @@ +package protocol + +const ( + // ProtocolCompat -ibility version + ProtocolCompat string = "4" + // MessageDelimiter delimits separate messages. + MessageDelimiter byte = '¬' + // AggregateDelimiter delimits parts of an aggregation message. + AggregateDelimiter string = "➔" +) |
