summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap/bsshchat.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-03-22 17:34:14 +0000
committerGitHub <noreply@github.com>2020-03-22 18:34:14 +0100
commit2b7eab629d959b10388d21cf6242fdfbdbe0e197 (patch)
treebe67fc524025928e2a99bfc1b67b5ed478e118c7 /gateway/bridgemap/bsshchat.go
parent0e4973e15c2a13455953bd72c9521cd9db88de64 (diff)
downloadmatterbridge-msglm-2b7eab629d959b10388d21cf6242fdfbdbe0e197.tar.gz
matterbridge-msglm-2b7eab629d959b10388d21cf6242fdfbdbe0e197.tar.bz2
matterbridge-msglm-2b7eab629d959b10388d21cf6242fdfbdbe0e197.zip
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
Diffstat (limited to 'gateway/bridgemap/bsshchat.go')
-rw-r--r--gateway/bridgemap/bsshchat.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/gateway/bridgemap/bsshchat.go b/gateway/bridgemap/bsshchat.go
new file mode 100644
index 00000000..14d42288
--- /dev/null
+++ b/gateway/bridgemap/bsshchat.go
@@ -0,0 +1,11 @@
+// +build !nosshchat
+
+package bridgemap
+
+import (
+ bsshchat "github.com/42wim/matterbridge/bridge/sshchat"
+)
+
+func init() {
+ FullMap["sshchat"] = bsshchat.New
+}