mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
implement uncloudd daemon that starts a WireGuard network without peer probing
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
//go:build darwin
|
||||
|
||||
package network
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
)
|
||||
|
||||
type WireGuardNetwork struct{}
|
||||
|
||||
func NewWireGuardNetwork() (*WireGuardNetwork, error) {
|
||||
return &WireGuardNetwork{}, nil
|
||||
}
|
||||
|
||||
func (n *WireGuardNetwork) Configure(config Config) error {
|
||||
return errors.New("not implemented on darwin")
|
||||
}
|
||||
|
||||
func (n *WireGuardNetwork) Run(ctx context.Context) error {
|
||||
return errors.New("not implemented on darwin")
|
||||
}
|
||||
Reference in New Issue
Block a user