-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
featureNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersnmrsChanges to nmrsChanges to nmrsrefactorChange or improve codeChange or improve code
Description
Creating VpnCredentials and EapOptions requires setting all fields manually, which is error-prone.
We could do something like this:
let creds = VpnCredentials::builder()
.name("MyVPN")
.wireguard()
.gateway("vpn.example.com:51820")
.private_key("...")
.address("10.0.0.2/24")
.add_peer(peer)
.build()?;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersnmrsChanges to nmrsChanges to nmrsrefactorChange or improve codeChange or improve code