OpenTopic opens the Topic identified by the URL given. See the URLOpener documentation in driver subpackages for details on supported URL formats, and https://gocloud.dev/concepts/urls for more information.
(ctx context.Context, urlstr string)
| 935 | // details on supported URL formats, and https://gocloud.dev/concepts/urls |
| 936 | // for more information. |
| 937 | func OpenTopic(ctx context.Context, urlstr string) (*Topic, error) { |
| 938 | return defaultURLMux.OpenTopic(ctx, urlstr) |
| 939 | } |
| 940 | |
| 941 | // OpenSubscription opens the Subscription identified by the URL given. |
| 942 | // See the URLOpener documentation in driver subpackages for |