mirror of
https://github.com/muun/recovery.git
synced 2025-11-11 06:20:16 -05:00
Release v0.1.0
This commit is contained in:
21
vendor/github.com/btcsuite/go-socks/socks/addr.go
generated
vendored
Normal file
21
vendor/github.com/btcsuite/go-socks/socks/addr.go
generated
vendored
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user