status-keycard-go/signal/events_keycard.go
2021-10-18 14:50:56 +03:00

14 lines
226 B
Go

package signal
const (
EventKeycardConnected = "keycard.connected"
)
func SendKeycardConnected(event interface{}) {
send(EventKeycardConnected, event)
}
func SendEvent(typ string, event interface{}) {
send(typ, event)
}