mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-01-31 17:49:17 +01:00
1a864b7c80
rtnetlink calls
16 lines
350 B
Go
16 lines
350 B
Go
package wg
|
|
|
|
type WgInterfaceManipulatorStub struct{}
|
|
|
|
func (i *WgInterfaceManipulatorStub) CreateInterface(params *CreateInterfaceParams) error {
|
|
return nil
|
|
}
|
|
|
|
func (i *WgInterfaceManipulatorStub) AddAddress(ifName string, addr string) error {
|
|
return nil
|
|
}
|
|
|
|
func (i *WgInterfaceManipulatorStub) RemoveInterface(ifName string) error {
|
|
return nil
|
|
}
|