Move network/environment to netenv
This commit is contained in:
12
netenv/dbus_linux_mock.go
Normal file
12
netenv/dbus_linux_mock.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build !linux
|
||||
|
||||
package netenv
|
||||
|
||||
func getNameserversFromDbus() ([]Nameserver, error) {
|
||||
var nameservers []Nameserver
|
||||
return nameservers, nil
|
||||
}
|
||||
|
||||
func getConnectivityStateFromDbus() (uint8, error) {
|
||||
return StatusUnknown, nil
|
||||
}
|
||||
Reference in New Issue
Block a user