Documentation ¶
Index ¶
Constants ¶
View Source
const SemVer = "v0.1.3"
global
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MongoDB string // [UNIEX_MONGODB] mongodb uri, default: mongodb://127.0.0.1:27117 Format string // [UNIEX_FORMAT] export format, default: csv [csv|json] Scope string // [UNIEX_SCOPE] export scope, default: client [client] TODO: infra }
Config
type Device ¶
type Device struct { NAME string `bson:"name"` NOTE string `bson:"note"` HOSTNAME string // hostname (from stats) IP string // ip address (from stats) MAC string `bson:"mac"` OUI string `bson:"oui"` SWITCHNAME string `bson:"last_uplink_name"` SWITCHMAC string `bson:"last_uplink_mac"` SWITCHPORT string // switch port (from stats) VLANNETWORK string `bson:"last_connection_network_name"` FIRSTSEEN string // rfc3339 timestamp (calculated) LASTSEEN string // rfc3339 timestamp (calculated) FIRSTSEEN_UNIX int64 `bson:"first_seen"` LASTSEEN_UNIX int64 `bson:"last_seen"` }
Device
Click to show internal directories.
Click to hide internal directories.