mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-28 19:13:31 +01:00
fd67892cb4
Refactor the flat code structure
14 lines
290 B
Go
14 lines
290 B
Go
package firewall
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/iface/device"
|
|
)
|
|
|
|
// IFaceMapper defines subset methods of interface required for manager
|
|
type IFaceMapper interface {
|
|
Name() string
|
|
Address() device.WGAddress
|
|
IsUserspaceBind() bool
|
|
SetFilter(device.PacketFilter) error
|
|
}
|