ETRI_SMARTFARM_POC/watcher/interface.go

14 lines
173 B
Go

package watcher
type Watcher interface {
}
type Event interface {
Type() interface{}
Param() map[string]interface{}
}
type EventListener interface {
Handle(e Event)
}