github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/waf/v1/preciseprotection_rules/urls.go (about) 1 package preciseprotection_rules 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 func rootURL(c *golangsdk.ServiceClient, policyID string) string { 6 return c.ServiceURL("policy", policyID, "custom") 7 } 8 9 func resourceURL(c *golangsdk.ServiceClient, policyID, id string) string { 10 return c.ServiceURL("policy", policyID, "custom", id) 11 }