mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-12-18 10:27:16 +00:00
24 lines
478 B
Go
24 lines
478 B
Go
//go:generate msgp
|
|
|
|
package fluent
|
|
|
|
//msgp:tuple Entry
|
|
type Entry struct {
|
|
Time int64 `msg:"time"`
|
|
Record interface{} `msg:"record"`
|
|
}
|
|
|
|
//msgp:tuple Forward
|
|
type Forward struct {
|
|
Tag string `msg:"tag"`
|
|
Entries []Entry `msg:"entries"`
|
|
Option interface{} `msg:"option"`
|
|
}
|
|
|
|
//msgp:tuple Message
|
|
type Message struct {
|
|
Tag string `msg:"tag"`
|
|
Time int64 `msg:"time"`
|
|
Record interface{} `msg:"record"`
|
|
Option interface{} `msg:"option"`
|
|
}
|