module: run go mod tidy && go mod vendor

This commit is contained in:
George Tankersley
2019-02-14 18:56:16 +00:00
parent e910ee0475
commit 51614ecd2b
181 changed files with 41119 additions and 2 deletions

21
vendor/github.com/btcsuite/go-socks/socks/addr.go generated vendored Normal file
View File

@@ -0,0 +1,21 @@
// Copyright 2012 Samuel Stauffer. All rights reserved.
// Use of this source code is governed by a 3-clause BSD
// license that can be found in the LICENSE file.
package socks
import "fmt"
type ProxiedAddr struct {
Net string
Host string
Port int
}
func (a *ProxiedAddr) Network() string {
return a.Net
}
func (a *ProxiedAddr) String() string {
return fmt.Sprintf("%s:%d", a.Host, a.Port)
}