2018-11-30 23:53:00 +01:00
|
|
|
package bridgemap
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/42wim/matterbridge/bridge"
|
|
|
|
"github.com/42wim/matterbridge/bridge/api"
|
2019-05-30 15:00:40 +02:00
|
|
|
bdiscord "github.com/42wim/matterbridge/bridge/discord"
|
|
|
|
bgitter "github.com/42wim/matterbridge/bridge/gitter"
|
|
|
|
birc "github.com/42wim/matterbridge/bridge/irc"
|
2019-08-26 21:00:31 +02:00
|
|
|
bkeybase "github.com/42wim/matterbridge/bridge/keybase"
|
2019-05-30 15:00:40 +02:00
|
|
|
bmatrix "github.com/42wim/matterbridge/bridge/matrix"
|
|
|
|
bmattermost "github.com/42wim/matterbridge/bridge/mattermost"
|
2019-12-26 23:12:28 +01:00
|
|
|
bmsteams "github.com/42wim/matterbridge/bridge/msteams"
|
2019-05-30 15:00:40 +02:00
|
|
|
brocketchat "github.com/42wim/matterbridge/bridge/rocketchat"
|
|
|
|
bslack "github.com/42wim/matterbridge/bridge/slack"
|
|
|
|
bsshchat "github.com/42wim/matterbridge/bridge/sshchat"
|
|
|
|
bsteam "github.com/42wim/matterbridge/bridge/steam"
|
|
|
|
btelegram "github.com/42wim/matterbridge/bridge/telegram"
|
|
|
|
bwhatsapp "github.com/42wim/matterbridge/bridge/whatsapp"
|
|
|
|
bxmpp "github.com/42wim/matterbridge/bridge/xmpp"
|
|
|
|
bzulip "github.com/42wim/matterbridge/bridge/zulip"
|
2018-11-30 23:53:00 +01:00
|
|
|
)
|
|
|
|
|
2019-05-30 15:00:40 +02:00
|
|
|
var (
|
|
|
|
FullMap = map[string]bridge.Factory{
|
|
|
|
"api": api.New,
|
|
|
|
"discord": bdiscord.New,
|
|
|
|
"gitter": bgitter.New,
|
|
|
|
"irc": birc.New,
|
|
|
|
"mattermost": bmattermost.New,
|
|
|
|
"matrix": bmatrix.New,
|
|
|
|
"rocketchat": brocketchat.New,
|
|
|
|
"slack-legacy": bslack.NewLegacy,
|
|
|
|
"slack": bslack.New,
|
|
|
|
"sshchat": bsshchat.New,
|
|
|
|
"steam": bsteam.New,
|
|
|
|
"telegram": btelegram.New,
|
|
|
|
"whatsapp": bwhatsapp.New,
|
|
|
|
"xmpp": bxmpp.New,
|
|
|
|
"zulip": bzulip.New,
|
2019-08-26 21:00:31 +02:00
|
|
|
"keybase": bkeybase.New,
|
2019-12-26 23:12:28 +01:00
|
|
|
"msteams": bmsteams.New,
|
2019-05-30 15:00:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
UserTypingSupport = map[string]struct{}{
|
2019-10-04 00:18:56 +02:00
|
|
|
"slack": {},
|
|
|
|
"discord": {},
|
2019-05-30 15:00:40 +02:00
|
|
|
}
|
|
|
|
)
|