mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-11 15:44:52 +08:00
move struct back to netclient
This commit is contained in:
parent
4d4252d271
commit
4e2e66c06f
1 changed files with 0 additions and 12 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Reference in a new issue