Debian Codegraph @

pkg/router/servicemap.go

raw
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/xmpp"
16 "github.com/nicholas-fedor/shoutrrr/pkg/services/chat/zulip"
17 "github.com/nicholas-fedor/shoutrrr/pkg/services/email/smtp"
18 "github.com/nicholas-fedor/shoutrrr/pkg/services/incident/opsgenie"
19 "github.com/nicholas-fedor/shoutrrr/pkg/services/incident/pagerduty"
20 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/bark"
21 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/gotify"
22 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/homeassistant"
23 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/ifttt"
24 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/join"
25 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/mqtt"
26 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/ntfy"
27 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/pushbullet"
28 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/pushover"
29 "github.com/nicholas-fedor/shoutrrr/pkg/services/push/signalgrid"
30 "github.com/nicholas-fedor/shoutrrr/pkg/services/sms/twilio"
31 "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/generic"
32 "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/logger"
33 "github.com/nicholas-fedor/shoutrrr/pkg/services/specialized/notifiarr"
34 "github.com/nicholas-fedor/shoutrrr/pkg/types"
35 )
36
37 var serviceMap = map[string]func() types.Service{
38 "bark": func() types.Service { return &bark.Service{} },
39 "discord": func() types.Service { return &discord.Service{} },
40 "generic": func() types.Service { return &generic.Service{} },
41 "gotify": func() types.Service { return &gotify.Service{} },
42 "googlechat": func() types.Service { return &googlechat.Service{} },
43 "hangouts": func() types.Service { return &googlechat.Service{} },
44 "homeassistant": func() types.Service { return &homeassistant.Service{} },
45 "ifttt": func() types.Service { return &ifttt.Service{} },
46 "lark": func() types.Service { return &lark.Service{} },
47 "join": func() types.Service { return &join.Service{} },
48 "logger": func() types.Service { return &logger.Service{} },
49 "matrix": func() types.Service { return &matrix.Service{} },
50 "mattermost": func() types.Service { return &mattermost.Service{} },
51 "mqtt": func() types.Service { return &mqtt.Service{} },
52 "mqtts": func() types.Service { return &mqtt.Service{} },
53 "notifiarr": func() types.Service { return &notifiarr.Service{} },
54 "ntfy": func() types.Service { return &ntfy.Service{} },
55 "opsgenie": func() types.Service { return &opsgenie.Service{} },
56 "pagerduty": func() types.Service { return &pagerduty.Service{} },
57 "pushbullet": func() types.Service { return &pushbullet.Service{} },
58 "pushover": func() types.Service { return &pushover.Service{} },
59 "rocketchat": func() types.Service { return &rocketchat.Service{} },
60 "signal": func() types.Service { return &signal.Service{} },
61 "signalgrid": func() types.Service { return &signalgrid.Service{} },
62 "slack": func() types.Service { return &slack.Service{} },
63 "smtp": func() types.Service { return &smtp.Service{} },
64 "teams": func() types.Service { return &teams.Service{} },
65 "telegram": func() types.Service { return &telegram.Service{} },
66 "twilio": func() types.Service { return &twilio.Service{} },
67 "wecom": func() types.Service { return &wecom.Service{} },
68 "xmpp": func() types.Service { return &xmpp.Service{} },
69 "xmpps": func() types.Service { return &xmpp.Service{} },
70 "zulip": func() types.Service { return &zulip.Service{} },
71 }