mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
implement uncloudd daemon that starts a WireGuard network without peer probing
This commit is contained in:
1 parent
222edb7647
commit
e074b6855f
13 files changed
+347
-145
No files matched your search
@@ -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