Skip to content

Commit

Permalink
Merge pull request #56 from matubu/feat/noop_netmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton authored Apr 12, 2023
2 parents f167823 + 7c8f74c commit 36b25b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/netmanager/netmanager_noop.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package netmanager

func NewNoopNetManager() *NetManager {
return NewNetManager(ConnectivityInfo{
State: ConnectivityStateOn,
NetType: ConnectivityNetWifi,
})
}

0 comments on commit 36b25b5

Please sign in to comment.