Documentation ¶
Index ¶
Constants ¶
View Source
const ( Inbound EnvelopeType = 0 Outbound = 1 Pending EnvelopeStatus = 0 //only meaningful if Type is Outbound Delivered = 1 Failed = 2 //DeliverTries exceeded maximum tries Assigned = 3 )
Variables ¶
This section is empty.
Functions ¶
func UnassignAll ¶
Types ¶
type Envelope ¶
type Envelope struct { Type EnvelopeType Status EnvelopeStatus //checked by outbound delivery agent during dispatch DeliverTries int //times the delivery agent has tried delivering the envelope NextDeliverTime time.Time //checked periodically by outbound delivery agent ID string //<client session id>:<random string> Session string OutboundAllowed bool //whether envelope is allowed to be delivered to external recipients Sender string Recipients []string Body string Date time.Time Deleted bool }
type EnvelopeStatus ¶
type EnvelopeStatus uint8
type EnvelopeType ¶
type EnvelopeType uint8
Click to show internal directories.
Click to hide internal directories.