Skip to content

Commit

Permalink
feat: function to create noop netmanager
Browse files Browse the repository at this point in the history
Signed-off-by: u <[email protected]>
  • Loading branch information
matubu committed Apr 12, 2023
1 parent f167823 commit 7c8f74c
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 7c8f74c

Please sign in to comment.