fix: 代理集转换ws类型

feat: 新增grpc h2 http 等支持
This commit is contained in:
MetaCubeX
2022-06-07 03:17:33 +08:00
parent 100c9b94ba
commit f8366f6e42
2 changed files with 126 additions and 52 deletions

View File

@ -291,7 +291,7 @@ var (
)
func RandHost() string {
id, _ := uuid.NewV4()
id, _ := uuid.NewV6()
base := strings.ToLower(base64.RawURLEncoding.EncodeToString(id.Bytes()))
base = strings.ReplaceAll(base, "-", "")
base = strings.ReplaceAll(base, "_", "")