PublishingTemplate Publisher's functional option. Provide template amqp.Publishing and save typing.
(t amqp.Publishing)
| 133 | // PublishingTemplate Publisher's functional option. Provide template |
| 134 | // amqp.Publishing and save typing. |
| 135 | func PublishingTemplate(t amqp.Publishing) PublisherOpt { |
| 136 | return func(p *Publisher) { |
| 137 | p.tmpl = t |
| 138 | } |
| 139 | } |
no outgoing calls