Jamie Hannaford | af4570f | 2015-02-12 13:33:25 +0100 | [diff] [blame] | 1 | package users |
| 2 | |
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame] | 3 | import "github.com/gophercloud/gophercloud" |
Jamie Hannaford | af4570f | 2015-02-12 13:33:25 +0100 | [diff] [blame] | 4 | |
| 5 | func baseURL(c *gophercloud.ServiceClient, instanceID string) string { |
| 6 | return c.ServiceURL("instances", instanceID, "users") |
| 7 | } |
| 8 | |
| 9 | func userURL(c *gophercloud.ServiceClient, instanceID, userName string) string { |
| 10 | return c.ServiceURL("instances", instanceID, "users", userName) |
| 11 | } |