2019-08-06 20:31:58 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/bdlm/std/logger"
|
|
|
|
|
2019-08-07 12:27:18 +02:00
|
|
|
"dev.sum7.eu/ccchb/ccchatbot/mqtt"
|
2019-08-06 20:31:58 +02: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 12:27:18 +02:00
|
|
|
Schalter *schalter.Schalter `toml:"schalter"`
|
|
|
|
MQTT *mqtt.Config `toml:"mqtt"`
|
2019-08-06 20:31:58 +02:00
|
|
|
}
|