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

     1  /*
     2   Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved.
     3  */
     4  
     5  package valuelists
     6  
     7  import "github.com/huaweicloud/golangsdk"
     8  
     9  const rootPath = "valuelist"
    10  
    11  func rootURL(c *golangsdk.ServiceClient) string {
    12  	return c.ServiceURL(rootPath)
    13  }
    14  
    15  func resourceURL(c *golangsdk.ServiceClient, id string) string {
    16  	return c.ServiceURL(rootPath, id)
    17  }