aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-12 17:08:27 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-12 17:08:27 +0800
commit78ef3b19d40aa6f63412ba961ab5c8bf0939237e (patch)
treed7758dc2071a8cedf02eeba9d731af4ea8ad5c3b /config.go
parentrouter.go: Fix out-of-bounds read on /: (diff)
downloadforge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.gz
forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.zst
forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.zip
ssh.go: Add anonymous SSH cloning
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 2445d88..bf4e571 100644
--- a/config.go
+++ b/config.go
@@ -19,6 +19,11 @@ var config struct {
Net string `scfg:"net"`
Addr string `scfg:"addr"`
} `scfg:"http"`
+ SSH struct {
+ Net string `scfg:"net"`
+ Addr string `scfg:"addr"`
+ Key string `scfg:"key"`
+ } `scfg:"ssh"`
Git struct {
Root string `scfg:"root"`
} `scfg:"git"`