peer

package
v0.0.0-...-82fb81f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewPeer

func AddNewPeer(conn *ssh.Client, wireguard tools.WGConfig) error

AddNewPeer With ssh connection and peer information, Adds the peer to the Wireguard server

func DeletePeer

func DeletePeer(conn *ssh.Client, peerKey string) error

DeletePeer Delete the peer from the WG server

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL