Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 1 | package containers |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | // getAccountURL returns the URI used to list Containers. | ||||
6 | func getAccountURL(c *gophercloud.ServiceClient) string { | ||||
7 | return c.Endpoint | ||||
8 | } | ||||
9 | |||||
10 | // getContainerURL returns the URI for making Container requests. | ||||
11 | func getContainerURL(c *gophercloud.ServiceClient, container string) string { | ||||
12 | return c.ServiceURL(container) | ||||
13 | } |