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/model/config/struct.go

20 lines
472 B
Go
Raw Normal View History

2017-10-01 23:30:48 +02:00
package config
2017-10-02 14:38:52 +02:00
import "dev.sum7.eu/genofire/yaja/model"
2017-10-01 23:30:48 +02:00
type Config struct {
2017-10-02 14:38:52 +02:00
TLSDir string `toml:"tlsdir"`
PortClient int `toml:"port_client"`
PortServer int `toml:"port_server"`
Domain []*Domain `toml:"domain"`
}
type Domain struct {
FQDN string `toml:"fqdn"`
Admins []*model.JID `toml:"admins"`
TLSDisable bool `toml:"tls_disable"`
TLSPrivate string `toml:"tls_private"`
TLSPublic string `toml:"tls_public"`
2017-10-01 23:30:48 +02:00
}