This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2018-02-07 19:32:11 +01:00
|
|
|
package tester
|
|
|
|
|
|
|
|
import (
|
|
|
|
"dev.sum7.eu/genofire/yaja/model"
|
2018-02-11 09:07:07 +01:00
|
|
|
"github.com/FreifunkBremen/yanic/lib/duration"
|
2018-02-07 19:32:11 +01:00
|
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
2018-02-11 22:03:58 +01:00
|
|
|
TLSDir string `toml:"tlsdir"`
|
|
|
|
AccountsPath string `toml:"accounts_path"`
|
|
|
|
OutputPath string `toml:"output_path"`
|
|
|
|
Logging log.Level `toml:"logging"`
|
|
|
|
LoggingClients log.Level `toml:"logging_clients"`
|
|
|
|
LoggingBots log.Level `toml:"logging_bots"`
|
|
|
|
Timeout duration.Duration `toml:"timeout"`
|
|
|
|
Interval duration.Duration `toml:"interval"`
|
|
|
|
Admins []*model.JID `toml:"admins"`
|
|
|
|
Client struct {
|
2018-02-10 13:34:42 +01:00
|
|
|
JID *model.JID `toml:"jid"`
|
|
|
|
Password string `toml:"password"`
|
2018-02-07 19:32:11 +01:00
|
|
|
} `toml:"client"`
|
|
|
|
}
|