config 중복 수정
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user