add more config options for kcp

This commit is contained in:
ginuerzh
2023-11-16 22:19:42 +08:00
parent 0d494f5ef2
commit 4c934cd737
3 changed files with 5 additions and 3 deletions

View File

@ -28,6 +28,8 @@ var (
)
func init() {
log.SetFlags(log.LstdFlags | log.Lshortfile | log.Lmicroseconds)
args := strings.Join(os.Args[1:], " ")
if strings.Contains(args, " -- ") {