Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 1 | package objects |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | // getObjectURL returns the URI for making Object requests. | ||||
6 | func getObjectURL(c *gophercloud.ServiceClient, container, object string) string { | ||||
7 | return c.ServiceURL(container, object) | ||||
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 | } |