github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/smn/v2/topicattributes/urls.go (about) 1 package topicattributes 2 3 import "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const ( 6 topics = "topics" 7 attributes = "attributes" 8 ) 9 10 func listURL(client *golangsdk.ServiceClient, topicURN string) string { 11 return client.ServiceURL(topics, topicURN, attributes) 12 } 13 14 func attributeURL(client *golangsdk.ServiceClient, topicURN, attribute string) string { 15 return client.ServiceURL(topics, topicURN, attributes, attribute) 16 }