summaryrefslogtreecommitdiff
path: root/plugins/broadcast/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-06 19:06:46 +0300
committerValery Piashchynski <[email protected]>2021-05-06 19:06:46 +0300
commitf6ba3c077ccbc572eda26701b9dbacaf9fa453b9 (patch)
treeab6c34128aa61a21aa62ba1211ff0f9e352f1b76 /plugins/broadcast/plugin.go
parent4fa94bb7f73a705293c2afd40fc1151a3aaa04e2 (diff)
- Update arch diagramm
- Update config Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/plugin.go')
-rw-r--r--plugins/broadcast/plugin.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/broadcast/plugin.go b/plugins/broadcast/plugin.go
index 45051a7f..f1ea258e 100644
--- a/plugins/broadcast/plugin.go
+++ b/plugins/broadcast/plugin.go
@@ -12,7 +12,7 @@ const (
)
type Plugin struct {
- broker Broker
+ broker Subscriber
log logger.Logger
cfg *Config
@@ -53,6 +53,7 @@ func (p *Plugin) Serve() chan error {
errCh <- errors.E(op, err)
}
}()
+
return errCh
}
@@ -76,7 +77,7 @@ func (p *Plugin) Collects() []interface{} {
}
}
-func (p *Plugin) CollectBroker(name endure.Named, broker Broker) {
+func (p *Plugin) CollectBroker(name endure.Named, broker Subscriber) {
p.broker = broker
}