blob: 0a1e6df5f493202fed01da17460909e28da6e71e [file] [log] [blame]
Jamie Hannaford7afb7af2014-11-04 13:32:20 +01001package monitors
2
3import (
4 "strconv"
5
6 "github.com/rackspace/gophercloud"
7)
8
9const (
10 path = "loadbalancers"
11 monitorPath = "healthmonitor"
12)
13
14func rootURL(c *gophercloud.ServiceClient, lbID int) string {
15 return c.ServiceURL(path, strconv.Itoa(lbID), monitorPath)
16}