get_peer


Description:

public unowned WireGuardPeer get_peer (uint idx)

Parameters:

this

the SettingWireGuard instance

idx

the index to lookup.

Returns:

the WireGuardPeer entry at index idx. If the index is out of range, null is returned.