mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-18 20:08:28 +01:00
Fix moc interface
This commit is contained in:
parent
d4ff55e6fe
commit
1065e0a6c5
@ -28,14 +28,16 @@ type MockWGIface struct {
|
||||
GetInterfaceGUIDStringFunc func() (string, error)
|
||||
}
|
||||
|
||||
func (m *MockWGIface) GetInterfaceGUIDString() (string, error) {
|
||||
return m.GetInterfaceGUIDStringFunc()
|
||||
}
|
||||
|
||||
func (m *MockWGIface) Create() error {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
return m.Create()
|
||||
}
|
||||
|
||||
func (m *MockWGIface) CreateOnAndroid(routeRange []string, ip string, domains []string) error {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
return m.CreateOnAndroid(routeRange, ip, domains)
|
||||
}
|
||||
|
||||
func (m *MockWGIface) IsUserspaceBind() bool {
|
||||
|
Loading…
Reference in New Issue
Block a user