Documentation ¶ Overview ¶ Package ack houses core functionality for the AMQ CLI. TODO: Implement package responsibilities defined in specs/001-local-maildir-queue. Index ¶ type Ack func New(msgID, thread, from, to string, received time.Time) Ack func (a Ack) Marshal() ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Ack ¶ type Ack struct { Schema int `json:"schema"` MsgID string `json:"msg_id"` Thread string `json:"thread"` From string `json:"from"` To string `json:"to"` Received string `json:"received"` } Ack records that a message was received and acknowledged. func New ¶ func New(msgID, thread, from, to string, received time.Time) Ack func (Ack) Marshal ¶ func (a Ack) Marshal() ([]byte, error) Source Files ¶ View all Source files ack.godoc.go Click to show internal directories. Click to hide internal directories.