Jamie Hannaford | 1943b38 | 2015-02-12 11:50:02 +0100 | [diff] [blame] | 1 | package databases |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
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 | } |