aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-22 02:31:41 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-22 02:37:17 +0800
commit9a132559c44f025c0a73915b3fe418751294089b (patch)
tree64060de02352af533d5df49a07202c57070a3b6b /config.go
parenterrorPage404 should actually do 404 (diff)
downloadforge-9a132559c44f025c0a73915b3fe418751294089b.tar.gz
forge-9a132559c44f025c0a73915b3fe418751294089b.tar.zst
forge-9a132559c44f025c0a73915b3fe418751294089b.zip
Add rudimentary IRC logic
Diffstat (limited to 'config.go')
-rw-r--r--config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.go b/config.go
index 8cd76c9..9a5647f 100644
--- a/config.go
+++ b/config.go
@@ -35,6 +35,11 @@ var config struct {
Key string `scfg:"key"`
Root string `scfg:"root"`
} `scfg:"ssh"`
+ IRC struct {
+ Net string `scfg:"net"`
+ Addr string `scfg:"addr"`
+ TLS bool `scfg:"tls"`
+ } `scfg:"irc"`
General struct {
Title string `scfg:"title"`
} `scfg:"general"`