Init: first commit 🎉
This commit is contained in:
15
constant/addr.go
Normal file
15
constant/addr.go
Normal file
@ -0,0 +1,15 @@
|
||||
package constant
|
||||
|
||||
// Socks addr type
|
||||
const (
|
||||
AtypIPv4 = 1
|
||||
AtypDomainName = 3
|
||||
AtypIPv6 = 4
|
||||
)
|
||||
|
||||
// Addr is used to store connection address
|
||||
type Addr struct {
|
||||
AddrType int
|
||||
Host string
|
||||
Port string
|
||||
}
|
Reference in New Issue
Block a user