status-keycard-go/signal/events_keycard.go

14 lines
226 B
Go
Raw Normal View History

2021-09-29 11:32:34 +02:00
package signal
const (
EventKeycardConnected = "keycard.connected"
)
func SendKeycardConnected(event interface{}) {
send(EventKeycardConnected, event)
}
2021-10-15 10:35:01 +03:00
func SendEvent(typ string, event interface{}) {
send(typ, event)
}