summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
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