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)
|
|
|
|
}
|