summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-03-28 23:56:58 +0200
committerWim <wim@42.be>2017-03-28 23:56:58 +0200
commit2e4d58cb921afe074e761285b311963ba5f358c6 (patch)
treed535c6b5ef208830bf01bb5806539624c28654e7 /bridge/config/config.go
parent02d7e2db65a954256fc6a66d7bb6a0d769c883df (diff)
downloadmatterbridge-msglm-2e4d58cb921afe074e761285b311963ba5f358c6.tar.gz
matterbridge-msglm-2e4d58cb921afe074e761285b311963ba5f358c6.tar.bz2
matterbridge-msglm-2e4d58cb921afe074e761285b311963ba5f358c6.zip
Refactor
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 23f8db18..f48da10f 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -25,6 +25,14 @@ type Message struct {
Timestamp time.Time
}
+type ChannelInfo struct {
+ Name string
+ Account string
+ Direction string
+ ID string
+ Options ChannelOptions
+}
+
type Protocol struct {
BindAddress string // mattermost, slack
Buffer int // api