struct

Pared::NetworkManager::WireGuardPeerSettings

Inherits Struct < Value < Object

Constructors

new(public_key : String, endpoint : Nil | String = nil, allowed_ips : Array(String) = [] of String, persistent_keepalive : UInt32 | Nil = nil, preshared_key : Nil | String = nil)
Source

Instance methods

allowed_ips
Source
allowed_ips=(allowed_ips : Array(String))
Source
endpoint
Source
endpoint=(endpoint : String | Nil)
Source
persistent_keepalive
Source
persistent_keepalive=(persistent_keepalive : UInt32 | Nil)
Source
preshared_key
Source
preshared_key=(preshared_key : String | Nil)
Source
public_key
Source
public_key=(public_key : String)
Source