Jamie Hannaford | 01e1492 | 2014-09-11 15:23:49 +0200 | [diff] [blame] | 1 | package networks |
| 2 | |
Jamie Hannaford | 1ce30f2 | 2014-09-16 11:23:34 +0200 | [diff] [blame^] | 3 | import "github.com/rackspace/gophercloud" |
Jamie Hannaford | 01e1492 | 2014-09-11 15:23:49 +0200 | [diff] [blame] | 4 | |
Jamie Hannaford | 12bc247 | 2014-09-15 12:14:31 +0200 | [diff] [blame] | 5 | const Version = "v2.0" |
| 6 | |
Jamie Hannaford | d01a3c7 | 2014-09-15 12:51:00 +0200 | [diff] [blame] | 7 | func NetworkURL(c *gophercloud.ServiceClient, id string) string { |
| 8 | return c.ServiceURL(Version, "networks", id) |
| 9 | } |
Jamie Hannaford | d2d9f56 | 2014-09-15 15:35:07 +0200 | [diff] [blame] | 10 | |
| 11 | func CreateURL(c *gophercloud.ServiceClient) string { |
| 12 | return c.ServiceURL(Version, "networks") |
| 13 | } |