mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
10 lines
238 B
Go
10 lines
238 B
Go
package interfaces
|
|
|
|
type EventFn func(data ...interface{}) (err error)
|
|
|
|
type EventService interface {
|
|
Register(key, include, exclude string, ch *chan EventData)
|
|
Unregister(key string)
|
|
SendEvent(eventName string, data ...interface{})
|
|
}
|