github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/waf/v1/alarmnotifications/urls.go (about)

     1  package alarmnotifications
     2  
     3  import golangsdk "github.com/opentelekomcloud/gophertelekomcloud"
     4  
     5  const (
     6  	configPath   = "config"
     7  	resourcePath = "alert"
     8  )
     9  
    10  func listURL(client *golangsdk.ServiceClient) string {
    11  	return client.ServiceURL(configPath, resourcePath)
    12  }
    13  
    14  func resourceURL(client *golangsdk.ServiceClient, id string) string {
    15  	return client.ServiceURL(configPath, resourcePath, id)
    16  }