package
Version:
v0.0.0-...-269b0f3
Opens a new window with list of versions in this module.
Published: May 10, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
HTTP API for managing a mail queue.
Create a new API instance for the specified queue.
Process an incoming request. This method logs the request and checks to
ensure that HTTP basic auth credentials were supplied if required.
Start listening for new requests.
Stop listening for new requests.
type Config struct {
Addr string `json:"bind"`
CORSOrigin string `json:"cors-origin"`
TLSCert string `json:"tls-cert"`
TLSKey string `json:"tls-key"`
Username string `json:"username"`
Password string `json:"password"`
}
Configuration for the HTTP API.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.