(ctx context.Context, u *url.URL)
| 72 | } |
| 73 | |
| 74 | func (o *defaultDialer) OpenTopicURL(ctx context.Context, u *url.URL) (*pubsub.Topic, error) { |
| 75 | opener, err := o.defaultConn(ctx) |
| 76 | if err != nil { |
| 77 | return nil, fmt.Errorf("open topic %v: failed to open default connection: %w", u, err) |
| 78 | } |
| 79 | return opener.OpenTopicURL(ctx, u) |
| 80 | } |
| 81 | |
| 82 | func (o *defaultDialer) OpenSubscriptionURL(ctx context.Context, u *url.URL) (*pubsub.Subscription, error) { |
| 83 | opener, err := o.defaultConn(ctx) |
nothing calls this directly
no test coverage detected