mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-12 11:10:35 +00:00
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)
|
|
}
|