ccchatbot/config.go

22 lines
421 B
Go
Raw Normal View History

2019-08-06 13:31:58 -05:00
package main
import (
"github.com/bdlm/std/logger"
2019-08-07 05:27:18 -05:00
"dev.sum7.eu/ccchb/ccchatbot/mqtt"
2019-08-06 13:31:58 -05:00
"dev.sum7.eu/ccchb/ccchatbot/schalter"
)
type Config struct {
LogLevel logger.Level `toml:"log_level"`
XMPP struct {
Host string `toml:"host"`
JID string `toml:"jid"`
Password string `toml:"password"`
} `toml:"xmpp"`
2019-08-07 05:27:18 -05:00
Schalter *schalter.Schalter `toml:"schalter"`
MQTT *mqtt.Config `toml:"mqtt"`
2019-08-06 13:31:58 -05:00
}