mirror of
https://github.com/go-gost/gost.git
synced 2026-10-11 05:25:45 +00:00
add socks5 udp relay
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package v5
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"net/url"
|
||||
"time"
|
||||
)
|
||||
@@ -8,11 +9,12 @@ import (
|
||||
const (
|
||||
connectTimeout = "timeout"
|
||||
auth = "auth"
|
||||
disable4a = "disable4a"
|
||||
noTLS = "notls"
|
||||
)
|
||||
|
||||
type metadata struct {
|
||||
connectTimeout time.Duration
|
||||
User *url.Userinfo
|
||||
disable4a bool
|
||||
tlsConfig *tls.Config
|
||||
noTLS bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user