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