mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-05 06:47:44 +00:00
proxy: fix gofmt violations
Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
@@ -4,8 +4,8 @@ package libproxy
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
"github.com/djs55/vsock"
|
||||
"net"
|
||||
)
|
||||
|
||||
// Proxy defines the behavior of a proxy. It forwards traffic back and forth
|
||||
@@ -25,8 +25,6 @@ type Proxy interface {
|
||||
BackendAddr() net.Addr
|
||||
}
|
||||
|
||||
|
||||
|
||||
// NewProxy creates a Proxy according to the specified frontendAddr and backendAddr.
|
||||
func NewProxy(frontendAddr *vsock.VsockAddr, backendAddr net.Addr) (Proxy, error) {
|
||||
switch backendAddr.(type) {
|
||||
|
||||
Reference in New Issue
Block a user