diff --git a/README.md b/README.md index 3be8136..faa31cc 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,18 @@ From there you can use the client: ```golang wc, err := wireless.NewClient("wlan0") defer wc.Close() +``` + +Get a list of APs that are in range: -// get a list of APs that are in range +```golang aps, err := wc.Scan() fmt.Println(aps, err) +``` + +Get a list of known networks: -// get a list of known networks +```golang nets, err := wc.Networks() fmt.Println(nets, err) ```