Discover Packages
github.com/Hikyo-Org/hikyo
internal
mailtest
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 31, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package mailtest supplies an in-process TLS SMTP sink for conformance tests.
New starts a TLS-only sink. mode selects implicit or mandatory STARTTLS.
Start starts the same TLS-only fixture outside a Go test, for browser tests.
The caller owns Close. Invalid modes are refused before binding a listener.
Close stops the listener and active connections, including when called
immediately after Start. Multiple callers can safely share cleanup.
Source Files
¶
Directories
¶
Command mailtest exposes the existing TLS SMTP fixture to browser tests.
Command mailtest exposes the existing TLS SMTP fixture to browser tests.
Click to show internal directories.
Click to hide internal directories.