Jamie Hannaford | 276a032 | 2014-11-06 14:26:12 +0100 | [diff] [blame] | 1 | package throttle |
2 | |||||
3 | import ( | ||||
4 | "strconv" | ||||
5 | |||||
6 | "github.com/rackspace/gophercloud" | ||||
7 | ) | ||||
8 | |||||
9 | const ( | ||||
10 | path = "loadbalancers" | ||||
11 | sslPath = "ssltermination" | ||||
12 | ) | ||||
13 | |||||
14 | func rootURL(c *gophercloud.ServiceClient, id int) string { | ||||
15 | return c.ServiceURL(path, strconv.Itoa(id), sslPath) | ||||
16 | } |