mailq-inspector/mailq/structure.go

24 lines
306 B
Go

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
}