Jamie Hannaford | 1943b38 | 2015-02-12 11:50:02 +0100 | [diff] [blame] | 1 | package databases |
| 2 | |
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame] | 3 | import "github.com/gophercloud/gophercloud" |
Jamie Hannaford | 1943b38 | 2015-02-12 11:50:02 +0100 | [diff] [blame] | 4 | |
| 5 | func baseURL(c *gophercloud.ServiceClient, instanceID string) string { |
| 6 | return c.ServiceURL("instances", instanceID, "databases") |
| 7 | } |
| 8 | |
| 9 | func dbURL(c *gophercloud.ServiceClient, instanceID, dbName string) string { |
| 10 | return c.ServiceURL("instances", instanceID, "databases", dbName) |
| 11 | } |