forked from extern/smegmesh
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
|
|
}
|