summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-01-04 14:10:35 +0100
committerWim <wim@42.be>2017-01-04 14:10:35 +0100
commit7685fe1724075c66ac140700c42ea1c21c19d510 (patch)
treea53d6b9f5ae3142d34c739988a4e512445664614 /bridge/config/config.go
parent01afe03a3fe062dd568f64169226d95f59a8fb30 (diff)
downloadmatterbridge-msglm-7685fe1724075c66ac140700c42ea1c21c19d510.tar.gz
matterbridge-msglm-7685fe1724075c66ac140700c42ea1c21c19d510.tar.bz2
matterbridge-msglm-7685fe1724075c66ac140700c42ea1c21c19d510.zip
Add channel key support (irc). Closes #27
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 971013d7..ac3e939b 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -52,9 +52,14 @@ type Protocol struct {
UseTLS bool // IRC
}
+type ChannelOptions struct {
+ Key string // irc
+}
+
type Bridge struct {
Account string
Channel string
+ Options ChannelOptions
}
type Gateway struct {