github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/networking/v2/extensions/layer3/extraroutes/urls.go (about) 1 package extraroutes 2 3 import "github.com/vnpaycloud-console/gophercloud/v2" 4 5 const resourcePath = "routers" 6 7 func addExtraRoutesURL(c *gophercloud.ServiceClient, id string) string { 8 return c.ServiceURL(resourcePath, id, "add_extraroutes") 9 } 10 11 func removeExtraRoutesURL(c *gophercloud.ServiceClient, id string) string { 12 return c.ServiceURL(resourcePath, id, "remove_extraroutes") 13 }