internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT

Directories

Path Synopsis
Package api owns the HTTP layer: the chi router, the JSON wire types, and the handlers.
Package api owns the HTTP layer: the chi router, the JSON wire types, and the handlers.
Package cloud is the Mailtrap Sandbox Send API client.
Package cloud is the Mailtrap Sandbox Send API client.
Package config loads optional user configuration from YAML at `$XDG_CONFIG_HOME/mailtrap-local/config.yml` (override path with MAILTRAP_LOCAL_CONFIG).
Package config loads optional user configuration from YAML at `$XDG_CONFIG_HOME/mailtrap-local/config.yml` (override path with MAILTRAP_LOCAL_CONFIG).
Package htmlcheck implements the email-client compatibility report served at GET /api/v1/message/{id}/html_check.
Package htmlcheck implements the email-client compatibility report served at GET /api/v1/message/{id}/html_check.
Package jobs runs the side effects that fire on every newly captured message: cloud mirror, relay mirror, webhook delivery.
Package jobs runs the side effects that fire on every newly captured message: cloud mirror, relay mirror, webhook delivery.
Package live is the in-process pub-sub for SPA live updates.
Package live is the in-process pub-sub for SPA live updates.
Package relay forwards messages through an upstream SMTP server.
Package relay forwards messages through an upstream SMTP server.
Package secrets owns at-rest encryption for sensitive values stored in the local SQLite DB — the Mailtrap cloud API token, the SMTP relay password, the webhook signing secret.
Package secrets owns at-rest encryption for sensitive values stored in the local SQLite DB — the Mailtrap cloud API token, the SMTP relay password, the webhook signing secret.
Package smtpd is the in-process SMTP listener.
Package smtpd is the in-process SMTP listener.
Package store owns the SQLite database — schema, models, queries.
Package store owns the SQLite database — schema, models, queries.
Package webhook delivers HMAC-signed POSTs to a configured receiver URL on every newly captured message.
Package webhook delivers HMAC-signed POSTs to a configured receiver URL on every newly captured message.

Jump to

Keyboard shortcuts

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