Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extensions ¶
type Extensions struct {
Extensions []*Extension `xml:"EXTENSION"`
}
Extensions is a list of Extension objects.
type Service ¶
type Service struct { Host string `xml:"HOSTNAME"` Type string `xml:"SERVICE_TYPE"` IsMonitored string `xml:"NODE_MONITORED"` URL string `xml:"URL"` Endpoints ServiceEndpoints `xml:"ENDPOINTS"` Extensions Extensions `xml:"EXTENSIONS"` }
Service represents a service in GOCDB.
type ServiceEndpoint ¶
type ServiceEndpoint struct { Name string `xml:"NAME"` URL string `xml:"URL"` Type string `xml:"INTERFACENAME"` IsMonitored string `xml:"ENDPOINT_MONITORED"` Extensions Extensions `xml:"EXTENSIONS"` }
ServiceEndpoint represents an additional service endpoint of a service in GOCDB.
type ServiceEndpoints ¶
type ServiceEndpoints struct {
Endpoints []*ServiceEndpoint `xml:"ENDPOINT"`
}
ServiceEndpoints is a list of ServiceEndpoint objects.
type ServiceType ¶
type ServiceType struct { Name string `xml:"SERVICE_TYPE_NAME"` Description string `xml:"SERVICE_TYPE_DESC"` }
ServiceType represents a service type in GOCDB.
type ServiceTypes ¶
type ServiceTypes struct {
Types []*ServiceType `xml:"SERVICE_TYPE"`
}
ServiceTypes is a list of ServiceType objects.
type Services ¶
type Services struct {
Services []*Service `xml:"SERVICE_ENDPOINT"`
}
Services is a list of Service objects.
type Site ¶
type Site struct { ShortName string `xml:"SHORT_NAME"` OfficialName string `xml:"OFFICIAL_NAME"` Description string `xml:"SITE_DESCRIPTION"` Homepage string `xml:"HOME_URL"` Email string `xml:"CONTACT_EMAIL"` Domain string `xml:"DOMAIN>DOMAIN_NAME"` Country string `xml:"COUNTRY"` CountryCode string `xml:"COUNTRY_CODE"` Latitude float32 `xml:"LATITUDE"` Longitude float32 `xml:"LONGITUDE"` Extensions Extensions `xml:"EXTENSIONS"` }
Site represents a site in GOCDB.
Click to show internal directories.
Click to hide internal directories.