Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 1 | package objects |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Jon Perritt | fc39b94 | 2014-09-10 21:18:19 -0500 | [diff] [blame^] | 5 | // objectURL returns the URI for making Object requests. |
| 6 | func objectURL(c *gophercloud.ServiceClient, container, object string) string { |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 7 | return c.ServiceURL(container, object) |
| 8 | } |
| 9 | |
Jon Perritt | fc39b94 | 2014-09-10 21:18:19 -0500 | [diff] [blame^] | 10 | // containerURL returns the URI for making Container requests. |
| 11 | func containerURL(c *gophercloud.ServiceClient, container string) string { |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 12 | return c.ServiceURL(container) |
| 13 | } |