mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
27 lines
502 B
Go
27 lines
502 B
Go
//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")
|
|
}
|
|
|
|
func (n *WireGuardNetwork) WatchEndpoints() <-chan EndpointChangeEvent {
|
|
return nil
|
|
}
|