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

     1  package vpcs
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  const resourcePath = "vpcs"
     6  
     7  func rootURL(c *golangsdk.ServiceClient) string {
     8  	return c.ServiceURL(c.ProjectID, resourcePath)
     9  }
    10  
    11  func resourceURL(c *golangsdk.ServiceClient, id string) string {
    12  	return c.ServiceURL(c.ProjectID, resourcePath, id)
    13  }