blob: 3f49261ff30395a75c485df4b87543a069cf4f46 [file] [log] [blame]
Jamie Hannaford01e14922014-09-11 15:23:49 +02001package networks
2
3import (
Jamie Hannafordf14d4562014-09-11 17:46:18 +02004 "strings"
5
Jamie Hannaford01e14922014-09-11 15:23:49 +02006 "github.com/rackspace/gophercloud"
7)
8
9func APIVersionsURL(c *gophercloud.ServiceClient) string {
10 return c.ServiceURL("")
11}
Jamie Hannafordf14d4562014-09-11 17:46:18 +020012
13func APIInfoURL(c *gophercloud.ServiceClient, version string) string {
14 return c.ServiceURL(strings.TrimRight(version, "/") + "/")
15}