blob: 3243cd821dd4ee13fa05e6d55b549e2156c9cd7a [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 {
gophercloud.PaginationLinks `json:"links"`
service *gophercloud.ServiceClient
Endpoints []Endpoint `json:"endpoints"`
}