| Ash Wilson | bdfc330 | 2014-09-04 10:16:28 -0400 | [diff] [blame] | 1 | package endpoints | 
|  | 2 |  | 
|  | 3 | import "github.com/rackspace/gophercloud" | 
|  | 4 |  | 
|  | 5 | // Endpoint describes the entry point for another service's API. | 
|  | 6 | type Endpoint struct { | 
|  | 7 | ID        string    `json:"id"` | 
|  | 8 | Interface Interface `json:"interface"` | 
|  | 9 | Name      string    `json:"name"` | 
|  | 10 | Region    string    `json:"region"` | 
|  | 11 | ServiceID string    `json:"service_id"` | 
|  | 12 | URL       string    `json:"url"` | 
|  | 13 | } | 
|  | 14 |  | 
|  | 15 | // EndpointList contains a page of Endpoint results. | 
|  | 16 | type EndpointList struct { | 
|  | 17 | gophercloud.Pagination | 
|  | 18 | Endpoints []Endpoint | 
|  | 19 | } |