github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/networking/v2/routes/urls.go (about)

     1  package routes
     2  
     3  import "github.com/huaweicloud/golangsdk"
     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  }