openTopic returns the driver for OpenTopic. This function exists so the test harness can get the driver interface implementation if it needs to.
(publisher *raw.Publisher)
| 355 | // openTopic returns the driver for OpenTopic. This function exists so the test |
| 356 | // harness can get the driver interface implementation if it needs to. |
| 357 | func openTopic(publisher *raw.Publisher) driver.Topic { |
| 358 | return &topic{publisher} |
| 359 | } |
| 360 | |
| 361 | // SendBatch implements driver.Topic.SendBatch. |
| 362 | func (t *topic) SendBatch(ctx context.Context, dms []*driver.Message) error { |
no outgoing calls