github.com/gophercloud/gophercloud@v1.11.0/openstack/networking/v2/extensions/fwaas_v2/groups/urls.go (about) 1 package groups 2 3 import "github.com/gophercloud/gophercloud" 4 5 const ( 6 rootPath = "fwaas" 7 resourcePath = "firewall_groups" 8 ) 9 10 func rootURL(c *gophercloud.ServiceClient) string { 11 return c.ServiceURL(rootPath, resourcePath) 12 } 13 14 func resourceURL(c *gophercloud.ServiceClient, id string) string { 15 return c.ServiceURL(rootPath, resourcePath, id) 16 }