24 lines
306 B
Go
24 lines
306 B
Go
package mailq
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type MailQ struct {
|
|
NumTotal int
|
|
NumActive int
|
|
NumHold int
|
|
NumDeferred int
|
|
Entries []QEntry
|
|
}
|
|
|
|
type QEntry struct {
|
|
Id string
|
|
Status string
|
|
Date time.Time
|
|
Size int
|
|
Sender string
|
|
Recipients []string
|
|
Reason string
|
|
}
|