mailq-inspector/mailq/structure.go

24 lines
306 B
Go
Raw Normal View History

2019-01-01 16:02:04 +01:00
package mailq
import (
"time"
)
type QEntry struct {
Id string
Status string
Date time.Time
Size int
Sender string
Recipients []string
Reason string
}
type MailQ struct {
NumTotal int
NumActive int
NumHold int
NumDeferred int
Entries []QEntry
}