config

package
v0.17.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2018 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *logrus.Entry

Functions

This section is empty.

Types

type Config

type Config struct {
	Slack         Settings
	Mattermost    Settings
	Debug         bool
	Bind          string
	BindInterface string
	BindPort      int
	TLSBind       string
	TLSDir        string
	Insecure      bool
	SkipTLSVerify bool
	DefaultServer string
	DefaultTeam   string
	Restrict      string
	JoinExclude   []string
	JoinInclude   []string
	PartFake      bool
}

func LoadConfig

func LoadConfig(cfgfile string, defaultcfg Config) *Config

type Settings added in v0.17.0

type Settings struct {
	BlackListUser  []string
	DefaultServer  string
	DefaultTeam    string
	Insecure       bool
	JoinExclude    []string
	JoinInclude    []string
	JoinMpImOnTalk bool
	PartFake       bool
	Restrict       []string
	SkipTLSVerify  bool
	UseDisplayName bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL