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

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