Jamie Hannaford | 924c09d | 2014-11-19 12:05:38 +0100 | [diff] [blame] | 1 | package secgroups |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | const ( | ||||
6 | secgrouppath = "os-security-groups" | ||||
7 | ) | ||||
8 | |||||
9 | func resourceURL(c *gophercloud.ServiceClient, id string) string { | ||||
10 | return c.ServiceURL(secgrouppath, id) | ||||
11 | } | ||||
12 | |||||
13 | func rootURL(c *gophercloud.ServiceClient) string { | ||||
14 | return c.ServiceURL(secgrouppath) | ||||
15 | } |