support go1.20 (#3287)

This commit is contained in:
fatedier
2023-02-05 20:52:36 +08:00
committed by GitHub
parent 6b3daffaf0
commit 100148d925
9 changed files with 14 additions and 16 deletions

View File

@@ -19,7 +19,6 @@ import (
"crypto/tls"
"fmt"
"io"
"math/rand"
"net"
"runtime"
"strconv"
@@ -47,7 +46,6 @@ import (
func init() {
crypto.DefaultSalt = "frp"
rand.Seed(time.Now().UnixNano())
}
// Service is a client service.