Very minor clean-ups (import re-ordering by automated tooling) (#28)

This commit is contained in:
Michael Vorburger ⛑️
2021-12-12 01:20:19 +01:00
committed by GitHub
parent ca55bde751
commit 1f5ac0b49d
9 changed files with 31 additions and 27 deletions
+5 -5
View File
@@ -3,15 +3,16 @@ package server
import (
"bytes"
"context"
"io"
"net"
"strconv"
"time"
"github.com/go-kit/kit/metrics"
"github.com/itzg/mc-router/mcproto"
"github.com/juju/ratelimit"
"github.com/pires/go-proxyproto"
"github.com/sirupsen/logrus"
"io"
"net"
"strconv"
"time"
)
const (
@@ -243,7 +244,6 @@ func (c *connectorImpl) findAndConnectBackend(ctx context.Context, frontendConn
}
c.pumpConnections(ctx, frontendConn, backendConn)
return
}
func (c *connectorImpl) pumpConnections(ctx context.Context, frontendConn, backendConn net.Conn) {