| 1 | package router |
| 2 | |
| 3 | import ( |
| 4 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/discord" |
| 5 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/googlechat" |
| 6 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/lark" |
| 7 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/matrix" |
| 8 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost" |
| 9 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/rocketchat" |
| 10 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/signal" |
| 11 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/slack" |
| 12 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/teams" |
| 13 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/telegram" |
| 14 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom" |
| 15 | "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/zulip" |
| 16 | "github.com/nicholas-fedor/shoutrrr/pkg/services/email/smtp" |
| 17 | "github.com/nicholas-fedor/shoutrrr/pkg/services/incident/opsgenie" |
| 18 | "github.com/nicholas-fedor/shoutrrr/pkg/services/incident/pagerduty" |
| 19 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/bark" |
| 20 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/gotify" |
| 21 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/ifttt" |
| 22 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/join" |
| 23 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/mqtt" |
| 24 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/ntfy" |
| 25 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/pushbullet" |
| 26 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/pushover" |
| 27 | "github.com/nicholas-fedor/shoutrrr/pkg/services/push/signalgrid" |
| 28 | "github.com/nicholas-fedor/shoutrrr/pkg/services/sms/twilio" |
| 29 | "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/generic" |
| 30 | "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/logger" |
| 31 | "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/notifiarr" |
| 32 | "github.com/nicholas-fedor/shoutrrr/pkg/types" |
| 33 | ) |
| 34 | |
| 35 | var serviceMap = map[string]func() types.Service{ |
| 36 | "bark": func() types.Service { return &bark.Service{} }, |
| 37 | "discord": func() types.Service { return &discord.Service{} }, |
| 38 | "generic": func() types.Service { return &generic.Service{} }, |
| 39 | "gotify": func() types.Service { return &gotify.Service{} }, |
| 40 | "googlechat": func() types.Service { return &googlechat.Service{} }, |
| 41 | "hangouts": func() types.Service { return &googlechat.Service{} }, |
| 42 | "ifttt": func() types.Service { return &ifttt.Service{} }, |
| 43 | "lark": func() types.Service { return &lark.Service{} }, |
| 44 | "join": func() types.Service { return &join.Service{} }, |
| 45 | "logger": func() types.Service { return &logger.Service{} }, |
| 46 | "matrix": func() types.Service { return &matrix.Service{} }, |
| 47 | "mattermost": func() types.Service { return &mattermost.Service{} }, |
| 48 | "mqtt": func() types.Service { return &mqtt.Service{} }, |
| 49 | "mqtts": func() types.Service { return &mqtt.Service{} }, |
| 50 | "notifiarr": func() types.Service { return ¬ifiarr.Service{} }, |
| 51 | "ntfy": func() types.Service { return &ntfy.Service{} }, |
| 52 | "opsgenie": func() types.Service { return &opsgenie.Service{} }, |
| 53 | "pagerduty": func() types.Service { return &pagerduty.Service{} }, |
| 54 | "pushbullet": func() types.Service { return &pushbullet.Service{} }, |
| 55 | "pushover": func() types.Service { return &pushover.Service{} }, |
| 56 | "rocketchat": func() types.Service { return &rocketchat.Service{} }, |
| 57 | "signal": func() types.Service { return &signal.Service{} }, |
| 58 | "signalgrid": func() types.Service { return &signalgrid.Service{} }, |
| 59 | "slack": func() types.Service { return &slack.Service{} }, |
| 60 | "smtp": func() types.Service { return &smtp.Service{} }, |
| 61 | "teams": func() types.Service { return &teams.Service{} }, |
| 62 | "telegram": func() types.Service { return &telegram.Service{} }, |
| 63 | "twilio": func() types.Service { return &twilio.Service{} }, |
| 64 | "wecom": func() types.Service { return &wecom.Service{} }, |
| 65 | "zulip": func() types.Service { return &zulip.Service{} }, |
| 66 | } |