Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VERSION contains the IRChuu~ version. VERSION = "0.9.0" // LAYER contains IRChuu~ version in an integer (for comparison with // HQ server's last version). LAYER = 14 )
Variables ¶
This section is empty.
Functions ¶
func PopulateConfig ¶
PopulateConfig copies the sample config to <path>.
Types ¶
type Irc ¶
type Irc struct { Server string Port uint16 SSL bool ServerPassword string Nick string Password string SASL bool Channel string ChanPassword string Colorize bool Palette []string Prefix string Postfix string MaxLength int Ellipsis string FloodDelay int AllowStickers bool Moderation bool KickPermission int MaxHist int NamesUpdateInterval int SendNotices bool RelayJoinsParts bool RelayModes bool KickRejoin bool AnnounceTopic bool Debug bool }
Irc is the stuct of IRC part in config.
type Telegram ¶
type Telegram struct { Token string Group int64 TTL int64 Prefix string Postfix string AllowBots bool AllowInvites bool Moderation bool DownloadMedia bool Storage string CertFilePath string KeyFilePath string ServerPort uint16 ReadTimeout int WriteTimeout int BaseURL string DataDir string Pomf string Komf string KomfPublicURL string KomfDate string }
Telegram is the struct of Telegram part in config.
Click to show internal directories.
Click to hide internal directories.