ack

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ack houses core functionality for the AMQ CLI.

TODO: Implement package responsibilities defined in specs/001-local-maildir-queue.

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL