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/daemon/tester/config.go

22 lines
637 B
Go
Raw Normal View History

package tester
import (
"dev.sum7.eu/genofire/yaja/model"
2018-02-11 09:07:07 +01:00
"github.com/FreifunkBremen/yanic/lib/duration"
log "github.com/sirupsen/logrus"
)
type Config struct {
2018-02-11 09:07:07 +01:00
TLSDir string `toml:"tlsdir"`
AccountsPath string `toml:"accounts_path"`
OutputPath string `toml:"output_path"`
Logging log.Level `toml:"logging"`
Timeout duration.Duration `toml:"timeout"`
Interval duration.Duration `toml:"interval"`
Admins []*model.JID `toml:"admins"`
2018-02-10 13:34:42 +01:00
Client struct {
JID *model.JID `toml:"jid"`
Password string `toml:"password"`
} `toml:"client"`
}