mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 04:44:02 +03:00
Add event stream module
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package events
|
||||
|
||||
import "github.com/9seconds/mtg/v2/mtglib"
|
||||
|
||||
type Observer interface {
|
||||
EventStart(mtglib.EventStart)
|
||||
EventFinish(mtglib.EventFinish)
|
||||
|
||||
Shutdown()
|
||||
}
|
||||
|
||||
type ObserverFactory func() Observer
|
||||
Reference in New Issue
Block a user