github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/dayu/v1/instances/urls.go (about)

     1  package instances
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  const resourcePath = "instances"
     6  
     7  func listURL(c *golangsdk.ServiceClient) string {
     8  	return c.ServiceURL(resourcePath)
     9  }
    10  
    11  func createURL(c *golangsdk.ServiceClient) string {
    12  	return c.ServiceURL(resourcePath, "onekey-purchase")
    13  }