Ash Wilson | 0a997f8 | 2014-09-03 15:50:52 -0400 | [diff] [blame] | 1 | package endpoints |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Ash Wilson | 1e1b733 | 2014-09-30 16:38:11 -0400 | [diff] [blame] | 5 | func listURL(client *gophercloud.ServiceClient) string { |
Ash Wilson | 0a997f8 | 2014-09-03 15:50:52 -0400 | [diff] [blame] | 6 | return client.ServiceURL("endpoints") |
| 7 | } |
| 8 | |
Ash Wilson | 1e1b733 | 2014-09-30 16:38:11 -0400 | [diff] [blame] | 9 | func endpointURL(client *gophercloud.ServiceClient, endpointID string) string { |
Ash Wilson | 0a997f8 | 2014-09-03 15:50:52 -0400 | [diff] [blame] | 10 | return client.ServiceURL("endpoints", endpointID) |
| 11 | } |