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