github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/elb/v3/listeners/urls.go (about)

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