sum7
/
yaja
Archived
1
0
Fork 0
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.
yaja/cmd/tester/config.go

25 lines
779 B
Go

package tester
import (
"github.com/FreifunkBremen/yanic/lib/duration"
log "github.com/sirupsen/logrus"
"dev.sum7.eu/genofire/yaja/xmpp/base"
)
type Config struct {
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 []*xmppbase.JID `toml:"admins"`
Client struct {
JID *xmppbase.JID `toml:"jid"`
Password string `toml:"password"`
} `toml:"client"`
}