From 916df56951e6d7b0405f7af071c09f877a9f793f Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Mon, 6 Feb 2023 21:17:39 -0500 Subject: [PATCH] gci write --- server/proxy/https.go | 3 ++- server/proxy/stcp.go | 3 ++- server/proxy/sudp.go | 3 ++- server/proxy/tcp.go | 3 ++- server/proxy/tcpmux.go | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) 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 {