minimal docker image aprox 3mb

This commit is contained in:
olebedev
2018-04-15 23:08:32 +05:00
parent 8bb8cf279b
commit 38c14c1d8e
653 changed files with 163739 additions and 167 deletions
+18
View File
@@ -0,0 +1,18 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proxy
import (
"net"
)
type direct struct{}
// Direct is a direct proxy: one that makes network connections directly.
var Direct = direct{}
func (direct) Dial(network, addr string) (net.Conn, error) {
return net.Dial(network, addr)
}