github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/bms/v2/servers/urls.go (about)

     1  package servers
     2  
     3  import (
     4  	"github.com/huaweicloud/golangsdk"
     5  )
     6  
     7  func getURL(client *golangsdk.ServiceClient, server_id string) string {
     8  	return client.ServiceURL("servers", server_id)
     9  }
    10  
    11  func listURL(client *golangsdk.ServiceClient) string {
    12  	return client.ServiceURL("servers", "detail")
    13  }