config 중복 수정

This commit is contained in:
2023-06-20 17:02:09 +09:00
parent 15ba3e93d6
commit 174830ff5f
5 changed files with 11 additions and 76 deletions

View File

@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"errors"
"flag"
"fmt"
"io"
"math"
@ -63,10 +62,6 @@ type Server struct {
interrupt chan os.Signal
}
var PrefixPtr = flag.String("prefix", "", "'")
var portptr = flag.Int("port", 80, "")
var tls = flag.String("tls", "", "")
var NoSessionFlag = flag.Bool("nosession", false, "nosession=[true|false]")
var healthcheckcounter = int64(0)
func healthCheckHandler(w http.ResponseWriter, r *http.Request) {