diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:33:19 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:33:19 +0800 |
commit | 91ca7bf1baf7ab077bdd63a7a3930c15af5be325 (patch) | |
tree | 1c670aa1da48f1e3edc7144a0c63231aa7b465e2 /config.go | |
parent | TODO: Fix diff view (diff) | |
download | forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.gz forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.zst forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.zip |
http_*.go: Use http.Error
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,9 +16,9 @@ var err_unsupported_database_type = errors.New("Unsupported database type") var config struct { HTTP struct { - Net string `scfg:"net"` - Addr string `scfg:"addr"` - CookieExpiry int `scfg:"cookie_expiry"` + Net string `scfg:"net"` + Addr string `scfg:"addr"` + CookieExpiry int `scfg:"cookie_expiry"` } `scfg:"http"` SSH struct { Net string `scfg:"net"` |