chrly/eventsubscribers/subscriber.go
ErickSkrauch 49a1aaada0
Cleanup: remove tests and scripts folders.
Introduce Subscriber interface to make eventsubscriber package independent of package dispatcher.
2020-04-03 22:20:56 +03:00

6 lines
97 B
Go

package eventsubscribers
type Subscriber interface {
Subscribe(topic string, fn interface{})
}