summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
author@42wim <wim@42.be>2016-03-18 23:48:05 +0100
committer@42wim <wim@42.be>2016-03-18 23:48:05 +0100
commit4984473c1bf48bbf1e530eaecba841baca2fe3e6 (patch)
tree30a1cab9fd4ca8fbe1035f31f4d6e336b22c086e /config.go
parent4759ee6132e1a8ec1274870b5cf20ae36d02996c (diff)
parent3fcce2d8a05d45da9b13c85702ec6b9069585214 (diff)
downloadmatterbridge-msglm-4984473c1bf48bbf1e530eaecba841baca2fe3e6.tar.gz
matterbridge-msglm-4984473c1bf48bbf1e530eaecba841baca2fe3e6.tar.bz2
matterbridge-msglm-4984473c1bf48bbf1e530eaecba841baca2fe3e6.zip
Merge pull request #14 from fdevibe/enable-users-2
Enable !users command and add a table formatter
Diffstat (limited to 'config.go')
-rw-r--r--config.go34
1 files changed, 18 insertions, 16 deletions
diff --git a/config.go b/config.go
index d0bf8044..e3fba6c9 100644
--- a/config.go
+++ b/config.go
@@ -8,25 +8,27 @@ import (
type Config struct {
IRC struct {
- UseTLS bool
- SkipTLSVerify bool
- Server string
+ UseTLS bool
+ SkipTLSVerify bool
+ Server string
+ Port int
+ Nick string
+ Password string
+ Channel string
+ UseSlackCircumfix bool
+ }
+ Mattermost struct {
+ URL string
Port int
- Nick string
- Password string
+ ShowJoinPart bool
+ Token string
+ IconURL string
+ SkipTLSVerify bool
+ BindAddress string
Channel string
- UseSlackCircumfix bool
PrefixMessagesWithNick bool
- }
- Mattermost struct {
- URL string
- Port int
- ShowJoinPart bool
- Token string
- IconURL string
- SkipTLSVerify bool
- BindAddress string
- Channel string
+ NicksPerRow int
+ NickFormatter string
}
Token map[string]*struct {
IRCChannel string