blob: 69664620aff99c07ea55fdcf6d3e57f4d8093b63 [file] [log] [blame]
Joe Topjian99a06132015-02-22 05:06:25 +00001package networks
2
3import "github.com/rackspace/gophercloud"
4
5const resourcePath = "os-networks"
6
7func resourceURL(c *gophercloud.ServiceClient) string {
8 return c.ServiceURL(resourcePath)
9}
10
11func listURL(c *gophercloud.ServiceClient) string {
12 return resourceURL(c)
13}
14
15func getURL(c *gophercloud.ServiceClient, id string) string {
16 return c.ServiceURL(resourcePath, id)
17}