Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllDatacenters = []Datacenter{ Datacenter_MCI, Datacenter_Irancell, Datacenter_Tehran2, Datacenter_Tehran3, Datacenter_Hostiran, Datacenter_Parsonline, Datacenter_Afranet, Datacenter_BertinaXrx, Datacenter_BertinaThr, Datacenter_AjkAbrbaran, }
View Source
var AllServices = []Service{ Service_Google, Service_Github, Service_Wikipedia, Service_Playstation, Service_Bing, Service_Digikala, Service_Divar, Service_Aparat, }
Functions ¶
This section is empty.
Types ¶
type Datacenter ¶
type Datacenter string
const ( Datacenter_MCI Datacenter = "mci" Datacenter_Irancell Datacenter = "irancell" Datacenter_Tehran2 Datacenter = "tehran-2" Datacenter_Tehran3 Datacenter = "tehran-3" Datacenter_Hostiran Datacenter = "hostiran" Datacenter_Parsonline Datacenter = "parsonline" Datacenter_Afranet Datacenter = "afranet" Datacenter_BertinaXrx Datacenter = "bertina-xrx" Datacenter_BertinaThr Datacenter = "bertina-thr" Datacenter_AjkAbrbaran Datacenter = "ajk-abrbaran" Datacenter_Amin Datacenter = "amin" )
type ServiceStatistics ¶
func CheckDatacenterServiceStatistics ¶
func CheckDatacenterServiceStatistics(datacenter Datacenter, service Service) (*ServiceStatistics, error)
CheckDatacenterServiceStatistics fetches the latest monitoring value for the given datacenter and service.
func (*ServiceStatistics) IsAccessibleNow ¶
func (ss *ServiceStatistics) IsAccessibleNow() bool
Click to show internal directories.
Click to hide internal directories.