natsio/js/subject/selly.go

20 lines
341 B
Go
Raw Normal View History

2022-09-23 04:17:03 +00:00
package jssubject
import (
"fmt"
)
// getSellyValue ...
func getSellyValue(val string) string {
return fmt.Sprintf("%s.%s.%s", root, prefixes.Selly, val)
}
// Selly ...
var Selly = struct {
Stream string
PushNotification string
}{
Stream: prefixes.Selly,
PushNotification: getSellyValue("push_notifications"),
}