diff options
| author | Paul Buetow <paul@buetow.org> | 2021-08-28 20:26:32 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-08-28 20:28:34 +0100 |
| commit | 23982f331c2154a66b86d596226c24454fd06be5 (patch) | |
| tree | f8aa72eb5110a4de914f28a063b528fd166a3a6b /internal/protocol | |
| parent | 8c2e94030d0e31289c35fcfb56499707fd4a7ccd (diff) | |
1. Major performance gain by not checking for file truncation aftter
each bytes read.
2. Introduce field separator to the protocol package.
Diffstat (limited to 'internal/protocol')
| -rw-r--r-- | internal/protocol/protocol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/protocol/protocol.go b/internal/protocol/protocol.go index 43021a2..d3035e4 100644 --- a/internal/protocol/protocol.go +++ b/internal/protocol/protocol.go @@ -6,7 +6,7 @@ const ( // MessageDelimiter delimits separate messages. MessageDelimiter byte = '¬' // FieldDelimiter delimits aggregation fields. - FieldDelimiter byte = '|' + FieldDelimiter string = "|" // AggregateDelimiter delimits parts of an aggregation message. AggregateDelimiter string = "➔" ) |
