f8979fe7af
* golint and minor changes to make code readable
7 lines
134 B
Go
7 lines
134 B
Go
package pubsub
|
|
|
|
// Subscriber will listen for Events from publishers
|
|
type Subscriber interface {
|
|
Topics() []EventType
|
|
Emit(Event)
|
|
}
|