blob: b7074df30cf5f8be575cc25ed5466227b1f466d7 [file] [log] [blame]
Ash Wilsonbdfc3302014-09-04 10:16:28 -04001package endpoints
2
3import "github.com/rackspace/gophercloud"
4
5// Endpoint describes the entry point for another service's API.
6type 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.
16type EndpointList struct {
17 gophercloud.Pagination
18 Endpoints []Endpoint
19}