Documentation ¶
Index ¶
Constants ¶
View Source
const OID string = ".1.3.6.1.4.1.96.255.1"
View Source
const TIMEOUT int = 10
View Source
const WorstValue int = 99999
Variables ¶
This section is empty.
Functions ¶
func NewTimeoutClient ¶
The following functions are for the roger state and its timeout
Types ¶
type LBCluster ¶
type LBCluster struct { Cluster_name string Loadbalancing_username string Loadbalancing_password string Host_metric_table map[string]int Parameters Params Time_of_last_evaluation time.Time Current_best_hosts []string Previous_best_hosts []string Previous_best_hosts_dns []string Statistics_filename string Per_cluster_filename string Current_index int Slog *Log }
func (*LBCluster) Find_best_hosts ¶
func (self *LBCluster) Find_best_hosts()
func (*LBCluster) Refresh_dns ¶
This is the only public function here. It retrieves the status of the dns,
and then updates it with the new hosts
func (*LBCluster) Time_to_refresh ¶
type Log ¶
Click to show internal directories.
Click to hide internal directories.