1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

Add call and publish options

This commit is contained in:
Asim
2015-12-08 19:25:42 +00:00
parent 3d279ffcfd
commit 02985c35d5
4 changed files with 26 additions and 21 deletions

View File

@@ -17,6 +17,10 @@ type options struct {
selector Selector
}
type callOptions struct{}
type publishOptions struct{}
// Broker to be used for pub/sub
func Broker(b broker.Broker) Option {
return func(o *options) {