Vendor dependencies with dep

This commit is contained in:
James Munnelly
2018-01-07 12:55:55 +00:00
parent d5d145409a
commit 92f73e0b7b
5488 changed files with 2117388 additions and 0 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)
}