mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-28 00:34:04 +00:00
25 lines
478 B
Go
25 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"`
|
||
|
}
|