mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	accept publisher options
This commit is contained in:
		| @@ -12,5 +12,5 @@ type publisher struct { | ||||
| } | ||||
|  | ||||
| func (p *publisher) Publish(ctx context.Context, msg interface{}, opts ...client.PublishOption) error { | ||||
| 	return p.c.Publish(ctx, p.c.NewMessage(p.topic, msg)) | ||||
| 	return p.c.Publish(ctx, p.c.NewMessage(p.topic, msg), opts...) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user