github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/dms/v1/topics/urls.go (about) 1 package topics 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const resourcePath = "instances" 6 7 func createURL(client *golangsdk.ServiceClient, instanceId string) string { 8 return client.ServiceURL(resourcePath, instanceId, "topics") 9 } 10 11 func getURL(client *golangsdk.ServiceClient, instanceId string) string { 12 return client.ServiceURL(resourcePath, instanceId, "topics") 13 } 14 15 func deleteURL(client *golangsdk.ServiceClient, instanceId string) string { 16 return client.ServiceURL(resourcePath, instanceId, "topics", "delete") 17 }