diff --git a/main.go b/main.go index f707d10..89beb07 100644 --- a/main.go +++ b/main.go @@ -34,6 +34,12 @@ var config struct { default: history.db help: path to a sqlite file used for storing the user's history ` + + Timeout time.Duration ` + name: timeout + default: 30s + help: useless timeout value for testing durations + ` } func httpHandler(w http.ResponseWriter, r *http.Request) {