summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 15:54:14 -0400
committerFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 15:54:14 -0400
commita63433e41bad06a9ef8132082b8ef40d91d07aec (patch)
tree0a04c24e7d8ddb8d1beb67d0c3d28c15f9e30505 /config.go
parente0379ca5af0658f59dbee78b730ebd87c279886d (diff)
downloadmatterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.tar.gz
matterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.tar.bz2
matterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.zip
Move new config parameters from IRC to Mattermost.
PrefixMessagesWithNick, NickFormatter and NicksPerRow.
Diffstat (limited to 'config.go')
-rw-r--r--config.go32
1 files changed, 16 insertions, 16 deletions
diff --git a/config.go b/config.go
index 5732d051..e3fba6c9 100644
--- a/config.go
+++ b/config.go
@@ -8,28 +8,28 @@ 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
NicksPerRow int
NickFormatter string
}
- Mattermost struct {
- URL string
- Port int
- ShowJoinPart bool
- Token string
- IconURL string
- SkipTLSVerify bool
- BindAddress string
- Channel string
- }
Token map[string]*struct {
IRCChannel string
MMChannel string