Jamie Hannaford | 4721abc | 2014-09-16 16:29:04 +0200 | [diff] [blame^] | 1 | package extensions |
Jamie Hannaford | 1ce30f2 | 2014-09-16 11:23:34 +0200 | [diff] [blame] | 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
| 5 | const Version = "v2.0" |
| 6 | |
| 7 | func ExtensionURL(c *gophercloud.ServiceClient, name string) string { |
| 8 | return c.ServiceURL(Version, "extensions", name) |
| 9 | } |
Jamie Hannaford | 4721abc | 2014-09-16 16:29:04 +0200 | [diff] [blame^] | 10 | |
| 11 | func ListExtensionURL(c *gophercloud.ServiceClient) string { |
| 12 | return c.ServiceURL(Version, "extensions") |
| 13 | } |