add socks
This commit is contained in:
18
pkg/connector/socks/v5/metadata.go
Normal file
18
pkg/connector/socks/v5/metadata.go
Normal file
@ -0,0 +1,18 @@
|
||||
package v5
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
connectTimeout = "timeout"
|
||||
auth = "auth"
|
||||
disable4a = "disable4a"
|
||||
)
|
||||
|
||||
type metadata struct {
|
||||
connectTimeout time.Duration
|
||||
User *url.Userinfo
|
||||
disable4a bool
|
||||
}
|
Reference in New Issue
Block a user