Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotSettings ¶
type BotSettings struct { AllowInvites bool MaxUser int64 `default:"-1"` SendReactions bool AllowIcalImport bool }
BotSettings holds information about the bot itself
type Config ¶
type Config struct { Debug bool `default:"false"` MatrixBotAccount Matrix MatrixUsers []string `required:"true"` Database Database Webserver Webserver BotSettings BotSettings }
Config holds all settings and credentials the application needs
type Database ¶
type Database struct {
Connection string `required:"true"`
}
Database holds all data for connection to the database
Click to show internal directories.
Click to hide internal directories.