Documentation
¶
Index ¶
Constants ¶
View Source
const ( // VERSION contains the IRChuu~ version. VERSION = "1.1.1" // LAYER contains IRChuu~ version in an integer (for comparison with // HQ server's last version). LAYER = 19 )
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
JoinDelay int
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
IgnoreList []string
IgnoreMap map[string]bool
StatusTimeout int
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
KomfDate string
}
Telegram is the struct of Telegram part in config.
Click to show internal directories.
Click to hide internal directories.