diff options
author | Runxi Yu <me@runxiyu.org> | 2025-09-14 22:28:12 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-09-14 22:28:12 +0800 |
commit | 01e4fd482ebcc827d3c76c00910529abbf666454 (patch) | |
tree | 300156b866864a07a0ed7680e6572ae97c20e325 /forged/internal/unsorted/config.go | |
parent | Update dependencies (diff) | |
download | forge-01e4fd482ebcc827d3c76c00910529abbf666454.tar.gz forge-01e4fd482ebcc827d3c76c00910529abbf666454.tar.zst forge-01e4fd482ebcc827d3c76c00910529abbf666454.zip |
Add basic mailing listspre-refactor
Diffstat (limited to 'forged/internal/unsorted/config.go')
-rw-r--r-- | forged/internal/unsorted/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/forged/internal/unsorted/config.go b/forged/internal/unsorted/config.go index 9f07480..a8ab718 100644 --- a/forged/internal/unsorted/config.go +++ b/forged/internal/unsorted/config.go @@ -36,6 +36,15 @@ type Config struct { WriteTimeout uint32 `scfg:"write_timeout"` ReadTimeout uint32 `scfg:"read_timeout"` } `scfg:"lmtp"` + SMTP struct { + Net string `scfg:"net"` + Addr string `scfg:"addr"` + HelloName string `scfg:"hello_name"` + Transport string `scfg:"transport"` // plain, tls, starttls + TLSInsecure bool `scfg:"tls_insecure"` + Username string `scfg:"username"` + Password string `scfg:"password"` + } `scfg:"smtp"` Git struct { RepoDir string `scfg:"repo_dir"` Socket string `scfg:"socket"` |