From 78ef3b19d40aa6f63412ba961ab5c8bf0939237e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 17:08:27 +0800 Subject: ssh.go: Add anonymous SSH cloning --- config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.go') 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"` -- cgit v1.2.3