mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
5d7c8933fa
commit
e22ce22716
2 changed files with 27 additions and 22 deletions
|
@ -21,8 +21,6 @@ import (
|
|||
"github.com/bettercap/bettercap/network"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
|
||||
"github.com/adrianmo/go-nmea"
|
||||
|
||||
"github.com/evilsocket/islazy/fs"
|
||||
"github.com/evilsocket/islazy/log"
|
||||
"github.com/evilsocket/islazy/ops"
|
||||
|
@ -74,8 +72,13 @@ func (mm ModuleList) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type GPS struct {
|
||||
GNGGA nmea.GNGGA
|
||||
GPGGA nmea.GPGGA
|
||||
Latitude float64 // Latitude.
|
||||
Longitude float64 // Longitude.
|
||||
FixQuality string // Quality of fix.
|
||||
NumSatellites int64 // Number of satellites in use.
|
||||
HDOP float64 // Horizontal dilution of precision.
|
||||
Altitude float64 // Altitude.
|
||||
Separation float64 // Geoidal separation
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue