diff options
| author | 2025-03-09 17:47:56 +0100 | |
|---|---|---|
| committer | 2025-12-01 22:08:04 +0100 | |
| commit | b1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch) | |
| tree | 9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go | |
| parent | [chore] update URLs to forked source (diff) | |
| download | gotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz | |
[chore] remove vendor
Diffstat (limited to 'vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go')
| -rw-r--r-- | vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go b/vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go deleted file mode 100644 index f77eb107c..000000000 --- a/vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go +++ /dev/null @@ -1,29 +0,0 @@ -package format - -import ( - "bufio" - "time" - - "gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser" -) - -type LogParts map[string]interface{} - -type LogParser interface { - Parse() error - Dump() LogParts - Location(*time.Location) -} - -type Format interface { - GetParser([]byte) LogParser - GetSplitFunc() bufio.SplitFunc -} - -type parserWrapper struct { - syslogparser.LogParser -} - -func (w *parserWrapper) Dump() LogParts { - return LogParts(w.LogParser.Dump()) -} |
