package config import "time" type ConfigStruct struct { Hosts map[string]string Commands map[string][]string CommandTimeout time.Duration } var Config = ConfigStruct{ Hosts: map[string]string{ "alpha": "127.0.0.1", "beta": "127.0.0.1", "gamma": "127.0.0.1", "delta": "127.0.0.1", "epsilon": "127.0.0.1", "zeta": "127.0.0.1", "eta": "127.0.0.1", "omega": "127.0.0.1", }, Commands: map[string][]string{ "update": {"yes", "|", "sudo", "pacman", "-Syyu"}, "neofetch": {"neofetch"}, "uptime": {"uptime"}, "uname": {"uname", "-A"}, }, CommandTimeout: 20 * time.Minute, } var AuthSecret = []byte("ChangeMe!")