aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/unsorted/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-09-14 22:28:12 +0800
committerRunxi Yu <me@runxiyu.org>2025-09-14 22:28:12 +0800
commit01e4fd482ebcc827d3c76c00910529abbf666454 (patch)
tree300156b866864a07a0ed7680e6572ae97c20e325 /forged/internal/unsorted/config.go
parentUpdate dependencies (diff)
downloadforge-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.go9
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"`