package
module
Version:
v0.0.0-...-bf27d4a
Opens a new window with list of versions in this module.
Published: Apr 15, 2022
License: GPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
xlx-xml-parse
A simple xml parser for XLX .xml log
For use with Teamwaves dashboard
Please note we ignore the XLXWVV linked peers tag.
Documentation
¶
type Node struct {
Callsign string `xml:"Callsign"`
IP string `xml:"IP"`
LinkedModule string `xml:"LinkedModule"`
Protocol string `xml:"Protocol"`
ConnectTime string `xml:"ConnectTime"`
LastHeardTime string `xml:"LastHeardTime"`
}
type Nodes struct {
Nodex []Node `xml:"NODE"`
}
type Station struct {
Stationx []Stations `xml:"STATION"`
Timestamp int64
}
type Stations struct {
XMLName xml.Name `xml:"STATION"`
Callsign string `xml:"Callsign"`
Vianode string `xml:"Via-node"`
Onmodule string `xml:"On-module"`
Viapeer string `xml:"Via-peer"`
LastHeardTime string `xml:"LastHeardTime"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.