package
Version:
v0.0.0-...-cdbd811
Opens a new window with list of versions in this module.
Published: Jul 10, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
PathFor gives you the config file path for a given computer name
type Config struct {
IPAddress string `toml:"ip_address"`
MacAddress string `toml:"mac_address"`
Port uint16 `toml:"port"`
}
Config contains an unmarshalled configuration file's values
LoadConfig loads the config for the given computer name
Source Files
¶
Click to show internal directories.
Click to hide internal directories.