summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-03-10 01:59:49 +0100
commit3ac1ee16f377d31a0fb80c8dae28b6239ac4229e (patch)
treef61faa581feaaeaba2542b9f2b8234a590684413 /vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-3ac1ee16f377d31a0fb80c8dae28b6239ac4229e.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.go29
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())
-}