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:
@@ -7,6 +7,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/elyby/chrly/api/mojang"
|
||||
"github.com/elyby/chrly/dispatcher"
|
||||
)
|
||||
|
||||
type broadcastResult struct {
|
||||
@@ -72,7 +73,7 @@ type TexturesProvider interface {
|
||||
}
|
||||
|
||||
type Emitter interface {
|
||||
Emit(name string, args ...interface{})
|
||||
dispatcher.Emitter
|
||||
}
|
||||
|
||||
type Provider struct {
|
||||
|
Reference in New Issue
Block a user