diff --git a/server/proxy/https.go b/server/proxy/https.go index 238f0489..1fb579e1 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -17,10 +17,11 @@ package proxy import ( "strings" + "golang.org/x/time/rate" + "github.com/fatedier/frp/pkg/config" "github.com/fatedier/frp/pkg/util/util" "github.com/fatedier/frp/pkg/util/vhost" - "golang.org/x/time/rate" ) type HTTPSProxy struct { diff --git a/server/proxy/stcp.go b/server/proxy/stcp.go index fd45e69b..2ece4057 100644 --- a/server/proxy/stcp.go +++ b/server/proxy/stcp.go @@ -15,8 +15,9 @@ package proxy import ( - "github.com/fatedier/frp/pkg/config" "golang.org/x/time/rate" + + "github.com/fatedier/frp/pkg/config" ) type STCPProxy struct { diff --git a/server/proxy/sudp.go b/server/proxy/sudp.go index b327b8a2..93707f23 100644 --- a/server/proxy/sudp.go +++ b/server/proxy/sudp.go @@ -15,8 +15,9 @@ package proxy import ( - "github.com/fatedier/frp/pkg/config" "golang.org/x/time/rate" + + "github.com/fatedier/frp/pkg/config" ) type SUDPProxy struct { diff --git a/server/proxy/tcp.go b/server/proxy/tcp.go index feae2c17..1ba0fb1a 100644 --- a/server/proxy/tcp.go +++ b/server/proxy/tcp.go @@ -19,8 +19,9 @@ import ( "net" "strconv" - "github.com/fatedier/frp/pkg/config" "golang.org/x/time/rate" + + "github.com/fatedier/frp/pkg/config" ) type TCPProxy struct { diff --git a/server/proxy/tcpmux.go b/server/proxy/tcpmux.go index 7de43ef5..4b413c36 100644 --- a/server/proxy/tcpmux.go +++ b/server/proxy/tcpmux.go @@ -19,11 +19,12 @@ import ( "net" "strings" + "golang.org/x/time/rate" + "github.com/fatedier/frp/pkg/config" "github.com/fatedier/frp/pkg/consts" "github.com/fatedier/frp/pkg/util/util" "github.com/fatedier/frp/pkg/util/vhost" - "golang.org/x/time/rate" ) type TCPMuxProxy struct {