MCPcopy Create free account
hub / github.com/AandStep/ResultV / GetNetworkStatus

Method GetNetworkStatus

app.go:1421–1426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1419}
1420
1421func (a *App) GetNetworkStatus() system.NetworkStatus {
1422 if a.netmon == nil {
1423 return system.NetworkStatus{Online: true}
1424 }
1425 return a.netmon.GetStatus()
1426}
1427
1428func (a *App) GetLANIPs() []string {
1429 ifaces, err := net.Interfaces()

Callers

nothing calls this directly

Calls 1

GetStatusMethod · 0.45

Tested by

no test coverage detected