Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Transport string
Transport is the type of network transport (TCP/UDP) used to communicate with the Tritium CAN-Ethernet bridge
Functions ¶
Types ¶
type BridgeConfig ¶ added in v0.3.0
type BridgeConfig struct { ID uint8 `toml:"id"` IP string `toml:"ip"` NetworkInterface string `toml:"network_interface"` SocketCANInterface string `toml:"vcan"` }
BridgeConfig contains all the configuration for a particular Tritium Bridge
type Config ¶ added in v0.3.0
type Config struct {
Bridge []BridgeConfig `toml:"bridge"`
}
Config contains the representation of a TOML file describing the network
Click to show internal directories.
Click to hide internal directories.