summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/mcuadros/go-syslog.v2/format/format.go
diff options
context:
space:
mode:
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())
-}