(ctx context.Context, u *url.URL)
| 80 | } |
| 81 | |
| 82 | func (o *defaultDialer) OpenSubscriptionURL(ctx context.Context, u *url.URL) (*pubsub.Subscription, error) { |
| 83 | opener, err := o.defaultConn(ctx) |
| 84 | if err != nil { |
| 85 | return nil, fmt.Errorf("open subscription %v: failed to open default connection: %w", u, err) |
| 86 | } |
| 87 | return opener.OpenSubscriptionURL(ctx, u) |
| 88 | } |
| 89 | |
| 90 | // Scheme is the URL scheme rabbitpubsub registers its URLOpeners under on pubsub.DefaultMux. |
| 91 | const Scheme = "rabbit" |
nothing calls this directly
no test coverage detected