ETRI_SMARTFARM_POC/watcher/interface.go

14 lines
173 B
Go
Raw Permalink Normal View History

2021-12-13 05:39:16 +00:00
package watcher
type Watcher interface {
}
type Event interface {
Type() interface{}
Param() map[string]interface{}
}
type EventListener interface {
Handle(e Event)
}