2023-11-05 19:03:58 +01:00
|
|
|
package wg
|
|
|
|
|
|
|
|
type WgInterfaceManipulatorStub struct{}
|
|
|
|
|
2023-11-21 14:31:34 +01:00
|
|
|
func (i *WgInterfaceManipulatorStub) CreateInterface(port int) (string, error) {
|
|
|
|
return "", nil
|
2023-11-05 19:03:58 +01:00
|
|
|
}
|
|
|
|
|
2023-11-07 20:48:53 +01:00
|
|
|
func (i *WgInterfaceManipulatorStub) AddAddress(ifName string, addr string) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (i *WgInterfaceManipulatorStub) RemoveInterface(ifName string) error {
|
2023-11-05 19:03:58 +01:00
|
|
|
return nil
|
|
|
|
}
|