mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Split Dispatcher interface and use it across application
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package eventsubscribers
|
||||
|
||||
import "github.com/elyby/chrly/dispatcher"
|
||||
|
||||
type Subscriber interface {
|
||||
Subscribe(topic string, fn interface{})
|
||||
dispatcher.Subscriber
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user