package
Version:
v0.0.0-...-4d652fa
Opens a new window with list of versions in this module.
Published: Nov 19, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
ServiceAddr string `yaml:"service_addr"`
Domain string `yaml:"domain" validate:"required"`
IMAP *Server `yaml:"imap"`
SMTP *Server `yaml:"smtp"`
}
type Server struct {
Host string `yaml:"server" validate:"required"`
Port int `yaml:"port" validate:"required"`
STARTTLS bool `yaml:"starttls"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.