| Jamie Hannaford | 8c072a3 | 2014-10-16 14:33:32 +0200 | [diff] [blame] | 1 | package extensions |
| 2 | |||||
| 3 | import "github.com/rackspace/gophercloud" | ||||
| 4 | |||||
| 5 | // ExtensionURL generates the URL for an extension resource by name. | ||||
| 6 | func ExtensionURL(c *gophercloud.ServiceClient, name string) string { | ||||
| 7 | return c.ServiceURL("extensions", name) | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | // ListExtensionURL generates the URL for the extensions resource collection. | ||||
| 11 | func ListExtensionURL(c *gophercloud.ServiceClient) string { | ||||
| 12 | return c.ServiceURL("extensions") | ||||
| 13 | } | ||||