github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/elb/v3/monitors/urls.go (about) 1 package monitors 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const ( 6 resourcePath = "healthmonitors" 7 ) 8 9 func rootURL(client *golangsdk.ServiceClient) string { 10 return client.ServiceURL(resourcePath) 11 } 12 13 func resourceURL(client *golangsdk.ServiceClient, id string) string { 14 return client.ServiceURL(resourcePath, id) 15 }