add socks5 udp relay

This commit is contained in:
ginuerzh
2021-11-07 23:39:35 +08:00
parent e8f040cbdf
commit 16f34d3e94
39 changed files with 728 additions and 131 deletions

View File

@ -1,10 +1,14 @@
package http
import "net/url"
import (
"net/url"
"time"
)
const (
userAgent = "userAgent"
auth = "auth"
connectTimeout = "timeout"
userAgent = "userAgent"
auth = "auth"
)
const (
@ -12,6 +16,7 @@ const (
)
type metadata struct {
UserAgent string
User *url.Userinfo
connectTimeout time.Duration
UserAgent string
User *url.Userinfo
}