db

package
v0.0.0-...-48a9fa9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InsertAP

func InsertAP(ctx context.Context, bssid, ssid, mode, discovered string, channel, frequency int64, rssi, latitude, longitude, altitude, accuracy float64, device string)

func Load

func Load()

func UpdateAP

func UpdateAP(ctx context.Context, bssid, ssid, mode string, channel, frequency int64, rssi, latitude, longitude, altitude, accuracy float64)

func UpdateAPHandshake

func UpdateAPHandshake(ctx context.Context, bssid string, value bool)

func UpdateAPNet

func UpdateAPNet(ctx context.Context, net string, value bool, list []string)

Types

type DataAP

type DataAP struct {
	BSSID      string  `json:"bssid"`
	SSID       string  `json:"ssid"`
	Mode       string  `json:"mode"`
	Discovered string  `json:"discovered"`
	Channel    int64   `json:"channel"`
	Frequency  int64   `json:"frequency"`
	RSSI       float64 `json:"rssi"`
	Latitude   float64 `json:"latitude"`
	Longitude  float64 `json:"longitude"`
	Altitude   float64 `json:"altitude"`
	Accuracy   float64 `json:"accuracy"`
	Device     string  `json:"device"`
	Handshake  bool    `json:"handshake"`
	Wigle      bool    `json:"wigle"`
	BeaconDB   bool    `json:"beacondb"`
	DWPA       bool    `json:"dwpa"`
}

func SelectAP

func SelectAP(ctx context.Context) []DataAP

func SelectAPInList

func SelectAPInList(ctx context.Context, id string, list []string) []DataAP

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL