cmd

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2019 License: MIT Imports: 12 Imported by: 0

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

func Execute

func Execute()

Execute runs the root command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL