Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "v0.0.1"
Variables ¶
View Source
var MeridioVersion = "(unknown)"
Functions ¶
This section is empty.
Types ¶
type Export ¶
type Export struct { // Version represents the version of the Export type. Version string `json:"version"` MeridioVersion string `json:"meridio-version"` // UnixTime represents the time at which the info has been exported. UnixTime int64 `json:"unix-time"` NetworkInterfaces []*NetworkInterface `json:"network-interfaces"` Rules []*Rule `json:"rules"` Routes []*Route `json:"route"` Neighbors []*Neighbor `json:"neighbors"` System *System `json:"system"` EnvironmentVariables []string `json:"environment-variables"` }
type NetworkInterface ¶
type Statistics ¶
type Statistics struct { RxPackets uint64 `json:"rx-packets"` TxPackets uint64 `json:"tx-packets"` RxBytes uint64 `json:"rx-bytes"` TxBytes uint64 `json:"tx-bytes"` RxErrors uint64 `json:"rx-errors"` TxErrors uint64 `json:"tx-errors"` RxDropped uint64 `json:"rx-dropped"` TxDropped uint64 `json:"tx-dropped"` }
Click to show internal directories.
Click to hide internal directories.