1package rules 2 3import "github.com/gophercloud/gophercloud" 4 5const ( 6 rootPath = "fwaas" 7 resourcePath = "firewall_rules" 8) 9 10func rootURL(c *gophercloud.ServiceClient) string { 11 return c.ServiceURL(rootPath, resourcePath) 12} 13 14func resourceURL(c *gophercloud.ServiceClient, id string) string { 15 return c.ServiceURL(rootPath, resourcePath, id) 16} 17