Documentation ¶ Index ¶ type Port type ScanResult func Scanneate(ip string, port int32) (result ScanResult, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Port ¶ type Port struct { PortType flexlegacy.PortType `json:"port-type"` Name string `json:"name"` Port int16 `json:"port"` Details string `json:"details"` OID string `json:"oid"` } type ScanResult ¶ type ScanResult struct { Name string `json:"name"` SerialNumber string `json:"serial-number"` Latitude string `json:"latitude"` Longitude string `json:"longitude"` Ports []Port `json:"ports"` } func Scanneate ¶ func Scanneate(ip string, port int32) (result ScanResult, err error) Source Files ¶ View all Source files db.go ports.go scan.go system.go Click to show internal directories. Click to hide internal directories.