feat(tcp): вернуть поддержку bond

This commit is contained in:
samosvalishe committed 2026-09-22 22:33:56 +03:00
1 parent a8b8363b79
commit 6f84a18b43
25 files changed
+1099 -10

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ type turnJSON struct {
}
type proxyJSON struct {
Bond bool `json:"bond,omitempty"`
Mode string `json:"mode"`
Listen string `json:"listen"`
}
@@ -167,6 +168,7 @@ func (j ClientJSON) toRaw() raw {
StreamsPerCred: j.VK.StreamsPerCred,
Transport: j.TURN.Transport,
Mode: j.Proxy.Mode,
Bond: j.Proxy.Bond,
ObfProfile: j.Obf.Profile,
ObfKey: j.Obf.Key,