blob: a7bff83a7e321e780a5bb8400f3f3dd6e5841c2d [file] [log] [blame]
package endpoints
import "github.com/rackspace/gophercloud"
// Endpoint describes the entry point for another service's API.
type Endpoint struct {
ID string `json:"id"`
Interface Interface `json:"interface"`
Name string `json:"name"`
Region string `json:"region"`
ServiceID string `json:"service_id"`
URL string `json:"url"`
}
// EndpointList contains a page of Endpoint results.
type EndpointList struct {
service *gophercloud.ServiceClient
Endpoints []Endpoint
}