Files

31 lines
598 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
}
func (n *WireGuardNetwork) Cleanup() error {
return errors.New("not implemented on darwin")
}