diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-27 23:32:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-27 23:32:00 +0800 |
commit | 4cf0fec12f3596cc17d313db3be4d46b91ef9862 (patch) | |
tree | 7151374cd880f7b9154e51f1eb02411e09cfc8cc /config.go | |
parent | Fix out of bounds in commit path handling (diff) | |
download | forge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.tar.gz forge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.tar.zst forge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.zip |
Lint
Diffstat (limited to '')
-rw-r--r-- | config.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,9 +21,9 @@ var config struct { Addr string `scfg:"addr"` CookieExpiry int `scfg:"cookie_expiry"` Root string `scfg:"root"` - ReadTimeout uint `scfg:"read_timeout"` - WriteTimeout uint `scfg:"write_timeout"` - IdleTimeout uint `scfg:"idle_timeout"` + ReadTimeout uint32 `scfg:"read_timeout"` + WriteTimeout uint32 `scfg:"write_timeout"` + IdleTimeout uint32 `scfg:"idle_timeout"` ReverseProxy bool `scfg:"reverse_proxy"` } `scfg:"http"` Hooks struct { |