Jamie Hannaford | 1ba046f | 2014-11-06 13:21:30 +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 | ctPath = "connectionthrottle" | ||||
12 | ) | ||||
13 | |||||
14 | func rootURL(c *gophercloud.ServiceClient, id int) string { | ||||
15 | return c.ServiceURL(path, strconv.Itoa(id), ctPath) | ||||
16 | } |