mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-19 04:19:48 +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)
|
GetInterfaceGUIDStringFunc func() (string, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *MockWGIface) GetInterfaceGUIDString() (string, error) {
|
||||||
|
return m.GetInterfaceGUIDStringFunc()
|
||||||
|
}
|
||||||
|
|
||||||
func (m *MockWGIface) Create() error {
|
func (m *MockWGIface) Create() error {
|
||||||
//TODO implement me
|
return m.Create()
|
||||||
panic("implement me")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *MockWGIface) CreateOnAndroid(routeRange []string, ip string, domains []string) error {
|
func (m *MockWGIface) CreateOnAndroid(routeRange []string, ip string, domains []string) error {
|
||||||
//TODO implement me
|
return m.CreateOnAndroid(routeRange, ip, domains)
|
||||||
panic("implement me")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *MockWGIface) IsUserspaceBind() bool {
|
func (m *MockWGIface) IsUserspaceBind() bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user