| 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/sms/twilio" |
| 28 |
"github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/generic" |
| 29 |
"github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/logger" |
| 30 |
"github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/notifiarr" |
| 31 |
"github.com/nicholas-fedor/shoutrrr/pkg/types" |
| 32 |
) |
| 33 |
|
| 34 |
var serviceMap = map[string]func() types.Service{ |
| 35 |
"bark": func() types.Service { return &bark.Service{} }, |
| 36 |
"discord": func() types.Service { return &discord.Service{} }, |
| 37 |
"generic": func() types.Service { return &generic.Service{} }, |
| 38 |
"gotify": func() types.Service { return &gotify.Service{} }, |
| 39 |
"googlechat": func() types.Service { return &googlechat.Service{} }, |
| 40 |
"hangouts": func() types.Service { return &googlechat.Service{} }, |
| 41 |
"ifttt": func() types.Service { return &ifttt.Service{} }, |
| 42 |
"lark": func() types.Service { return &lark.Service{} }, |
| 43 |
"join": func() types.Service { return &join.Service{} }, |
| 44 |
"logger": func() types.Service { return &logger.Service{} }, |
| 45 |
"matrix": func() types.Service { return &matrix.Service{} }, |
| 46 |
"mattermost": func() types.Service { return &mattermost.Service{} }, |
| 47 |
"mqtt": func() types.Service { return &mqtt.Service{} }, |
| 48 |
"mqtts": func() types.Service { return &mqtt.Service{} }, |
| 49 |
"notifiarr": func() types.Service { return ¬ifiarr.Service{} }, |
| 50 |
"ntfy": func() types.Service { return &ntfy.Service{} }, |
| 51 |
"opsgenie": func() types.Service { return &opsgenie.Service{} }, |
| 52 |
"pagerduty": func() types.Service { return &pagerduty.Service{} }, |
| 53 |
"pushbullet": func() types.Service { return &pushbullet.Service{} }, |
| 54 |
"pushover": func() types.Service { return &pushover.Service{} }, |
| 55 |
"rocketchat": func() types.Service { return &rocketchat.Service{} }, |
| 56 |
"signal": func() types.Service { return &signal.Service{} }, |
| 57 |
"slack": func() types.Service { return &slack.Service{} }, |
| 58 |
"smtp": func() types.Service { return &smtp.Service{} }, |
| 59 |
"teams": func() types.Service { return &teams.Service{} }, |
| 60 |
"telegram": func() types.Service { return &telegram.Service{} }, |
| 61 |
"twilio": func() types.Service { return &twilio.Service{} }, |
| 62 |
"wecom": func() types.Service { return &wecom.Service{} }, |
| 63 |
"zulip": func() types.Service { return &zulip.Service{} }, |
| 64 |
} |