4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-09-10 23:32:30 +00:00

Add support for build tags (#1054)

By default all bridges are available.

You can turn off certain bridges by providing
e.g. "nodiscord" as a build tag.

    go build -tags nomsteams,noapi
This commit is contained in:
Qais Patankar
2020-03-22 17:34:14 +00:00
committed by GitHub
parent 0e4973e15c
commit 2b7eab629d
17 changed files with 181 additions and 40 deletions

View File

@@ -0,0 +1,11 @@
// +build !nosshchat
package bridgemap
import (
bsshchat "github.com/42wim/matterbridge/bridge/sshchat"
)
func init() {
FullMap["sshchat"] = bsshchat.New
}