move struct back to netclient

This commit is contained in:
Matthew R Kasun 2023-01-31 08:53:37 -05:00
parent 4d4252d271
commit 4e2e66c06f

View file

@ -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"`