summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap/bridgemap.go
blob: cb9a3932f694b4c2202e289e06dbb961ad6212fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package bridgemap

import (
	"github.com/42wim/matterbridge/bridge"
	"github.com/42wim/matterbridge/bridge/api"
	bdiscord "github.com/42wim/matterbridge/bridge/discord"
	bgitter "github.com/42wim/matterbridge/bridge/gitter"
	birc "github.com/42wim/matterbridge/bridge/irc"
	bkeybase "github.com/42wim/matterbridge/bridge/keybase"
	bmatrix "github.com/42wim/matterbridge/bridge/matrix"
	bmattermost "github.com/42wim/matterbridge/bridge/mattermost"
	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"
)

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,
		"keybase":      bkeybase.New,
	}

	UserTypingSupport = map[string]struct{}{
		"slack":   {},
		"discord": {},
	}
)