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

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