start alerts

This commit is contained in:
Akhil Gupta
2021-09-03 15:46:39 +05:30
parent 0e7d105e52
commit fca2c3e7fa
6 changed files with 299 additions and 0 deletions

View File

@@ -36,6 +36,21 @@ const (
USER
)
type AlertFrequency int
const (
ONETIME AlertFrequency = iota
RECURRING
)
type AlertType int
const (
DISTANCE AlertType = iota
TIME
BOTH
)
type EnumDetail struct {
Short string `json:"short"`
Long string `json:"long"`