mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-15 11:29:27 -04:00
9 lines
302 B
Go
9 lines
302 B
Go
package cmd
|
|
|
|
import wgquick "github.com/nmiculinic/wg-quick-go"
|
|
|
|
type vpnHandler interface {
|
|
Create(coordinatorPubKey string, coordinatorPubIP string, clientPrivKey string, clientVPNIP string, mtu int) (*wgquick.Config, error)
|
|
Apply(*wgquick.Config) error
|
|
Marshal(*wgquick.Config) ([]byte, error)
|
|
}
|