Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config yaml.MapSlice Waittotal int Grouptotal int ServersPerGroup []int )
Config global var to be able to access it in all packages
Functions ¶
func ParseServersList ¶
func ParseServersList() string
ParseServersList server list parser, parses it to a map of structs in main function
func Rollcall ¶
func Rollcall()
Rollcall Tally up the number of servers and groups and servers in groups
func ServersPerGroupcount ¶
func ServersPerGroupcount(parsed yaml.MapSlice) []int
ServersPerGroupcount Will run on init, to get total number of servers per group
func TotalServercount ¶
func TotalServercount(parsed yaml.MapSlice) int
TotalServercount Will run on init, to get a total number of servers in all groups
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.