mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
add helper function to build example WiFi struct
to be used in the rest of the tests, basically
This commit is contained in:
parent
7f34d0f6e7
commit
92395b6170
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
package network
|
package network
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
||||||
|
func buildExampleWiFi() *WiFi {
|
||||||
|
return NewWiFi(buildExampleEndpoint(), func(ap *AccessPoint) {}, func(ap *AccessPoint) {})
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue