-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default all bridges are available. You can turn off certain bridges by providing e.g. "withoutdiscord" as a build tag. go build -tags withoutmsteams,withoutapi
- Loading branch information
Showing
17 changed files
with
181 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutapi | ||
|
||
package bridgemap | ||
|
||
import ( | ||
"github.com/42wim/matterbridge/bridge/api" | ||
) | ||
|
||
func init() { | ||
FullMap["api"] = api.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// +build !withoutdiscord | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bdiscord "github.com/42wim/matterbridge/bridge/discord" | ||
) | ||
|
||
func init() { | ||
FullMap["discord"] = bdiscord.New | ||
UserTypingSupport["discord"] = struct{}{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutgitter | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bgitter "github.com/42wim/matterbridge/bridge/gitter" | ||
) | ||
|
||
func init() { | ||
FullMap["gitter"] = bgitter.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutirc | ||
|
||
package bridgemap | ||
|
||
import ( | ||
birc "github.com/42wim/matterbridge/bridge/irc" | ||
) | ||
|
||
func init() { | ||
FullMap["irc"] = birc.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutkeybase | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bkeybase "github.com/42wim/matterbridge/bridge/keybase" | ||
) | ||
|
||
func init() { | ||
FullMap["keybase"] = bkeybase.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutmatrix | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bmatrix "github.com/42wim/matterbridge/bridge/matrix" | ||
) | ||
|
||
func init() { | ||
FullMap["matrix"] = bmatrix.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutmattermost | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bmattermost "github.com/42wim/matterbridge/bridge/mattermost" | ||
) | ||
|
||
func init() { | ||
FullMap["mattermost"] = bmattermost.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutmsteams | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bmsteams "github.com/42wim/matterbridge/bridge/msteams" | ||
) | ||
|
||
func init() { | ||
FullMap["msteams"] = bmsteams.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutrocketchat | ||
|
||
package bridgemap | ||
|
||
import ( | ||
brocketchat "github.com/42wim/matterbridge/bridge/rocketchat" | ||
) | ||
|
||
func init() { | ||
FullMap["rocketchat"] = brocketchat.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// +build !withoutslack | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bslack "github.com/42wim/matterbridge/bridge/slack" | ||
) | ||
|
||
func init() { | ||
FullMap["slack-legacy"] = bslack.NewLegacy | ||
FullMap["slack"] = bslack.New | ||
UserTypingSupport["slack"] = struct{}{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutsshchat | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bsshchat "github.com/42wim/matterbridge/bridge/sshchat" | ||
) | ||
|
||
func init() { | ||
FullMap["sshchat"] = bsshchat.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutsteam | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bsteam "github.com/42wim/matterbridge/bridge/steam" | ||
) | ||
|
||
func init() { | ||
FullMap["steam"] = bsteam.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withouttelegram | ||
|
||
package bridgemap | ||
|
||
import ( | ||
btelegram "github.com/42wim/matterbridge/bridge/telegram" | ||
) | ||
|
||
func init() { | ||
FullMap["telegram"] = btelegram.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutwhatsapp | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bwhatsapp "github.com/42wim/matterbridge/bridge/whatsapp" | ||
) | ||
|
||
func init() { | ||
FullMap["whatsapp"] = bwhatsapp.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutxmpp | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bxmpp "github.com/42wim/matterbridge/bridge/xmpp" | ||
) | ||
|
||
func init() { | ||
FullMap["xmpp"] = bxmpp.New | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !withoutzulip | ||
|
||
package bridgemap | ||
|
||
import ( | ||
bzulip "github.com/42wim/matterbridge/bridge/zulip" | ||
) | ||
|
||
func init() { | ||
FullMap["zulip"] = bzulip.New | ||
} |