瀏覽代碼

move struct back to netclient

Matthew R Kasun 2 年之前
父節點
當前提交
4e2e66c06f
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      models/proxy.go

+ 0 - 12
models/proxy.go

@@ -26,18 +26,6 @@ const (
 	NoProxy ProxyAction = "NO_PROXY"
 )
 
-// Proxy - struct for proxy config
-type Proxy struct {
-	PeerPublicKey  wgtypes.Key
-	IsExtClient    bool
-	PeerConf       wgtypes.PeerConfig
-	PeerEndpoint   *net.UDPAddr
-	RemoteConnAddr *net.UDPAddr
-	LocalConnAddr  *net.UDPAddr
-	ListenPort     int
-	ProxyStatus    bool
-}
-
 // RelayedConf - struct relayed peers config
 type RelayedConf struct {
 	RelayedPeerEndpoint *net.UDPAddr         `json:"relayed_peer_endpoint"`