diff options
author | Wim <wim@42.be> | 2016-10-30 22:32:29 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2016-10-30 22:32:29 +0100 |
commit | 92d9db5a2d6f568e3c21ecf56cde80b32c342868 (patch) | |
tree | 00ce7d6ce9e350ebc162bb6b85ba123a9b443a70 /matterclient/matterclient.go | |
parent | 96620a3c2c3ab70d0e451a19dccd20ee76416937 (diff) | |
download | matterbridge-msglm-92d9db5a2d6f568e3c21ecf56cde80b32c342868.tar.gz matterbridge-msglm-92d9db5a2d6f568e3c21ecf56cde80b32c342868.tar.bz2 matterbridge-msglm-92d9db5a2d6f568e3c21ecf56cde80b32c342868.zip |
Override config from environment. See #50
Expects uppercase environment variables of MATTERBRIDGE_PROTOCOL_ACCOUNT_KEY="value"
e.g. you can override this config
[mattermost]
[mattermost.work]
Team="yourteam"
Login="yourlogin"
Password="yourpass"
by using
MATTERBRIDGE_MATTERMOST_WORK_TEAM="newteam"
MATTERBRIDGE_MATTERMOST_WORK_LOGIN="newlogin"
MATTERBRIDGE_MATTERMOST_WORK_PASSWORD="newpassword"
Diffstat (limited to 'matterclient/matterclient.go')
0 files changed, 0 insertions, 0 deletions