Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSDServer ¶
type FSDServer struct {
IpAddress string `json:"ip_address" yaml:"ip_address"`
Name string `json:"name" yaml:"name"`
Country string `json:"country" yaml:"country"`
Latitude float64 `json:"latitude" yaml:"latitude"`
Longitude float64 `json:"longitude" yaml:"longitude"`
CurrentUsers int `json:"current_users" yaml:"current_users"`
MaxUsers int `json:"max_users" yaml:"max_users"`
RemainingSlots int `json:"remaining_slots" yaml:"remaining_slots"`
Distance float64 `json:"distance" yaml:"distance"`
AbleToUpdate bool `json:"able_to_update" yaml:"able_to_update"`
UpdateFailureCount int `json:"update_failure_count" yaml:"update_failure_count"`
PrometheusCollector prometheus.Collector
}
func NewFSDServer ¶
func NewMockFSDServer ¶
func (*FSDServer) AcceptingConnections ¶
type FSDServerLocation ¶
type MockDnsQuery ¶
type TestingDataYaml ¶
type TestingDataYaml struct {
MockFsdServers []FSDServer `yaml:"mockFsdServers"`
MockDnsQueries []MockDnsQuery `yaml:"mockDnsQueries"`
}
Click to show internal directories.
Click to hide internal directories.