refactor: move LetsEncryptDomain to HttpServer config

This commit is contained in:
braginini
2021-08-07 13:35:52 +02:00
parent 1f29975737
commit 08d44b1d5f
4 changed files with 31 additions and 13 deletions

View File

@@ -16,18 +16,19 @@ type Config struct {
Turns []*Host
Signal *Host
Datadir string
LetsEncryptDomain string
Datadir string
HttpConfig *HttpServerConfig
}
// HttpServerConfig is a config of the HTTP Management service server
type HttpServerConfig struct {
Address string
AuthDomain string
AuthClientId string
AuthClientSecret string
AuthCallback string
LetsEncryptDomain string
Address string
AuthDomain string
AuthClientId string
AuthClientSecret string
AuthCallback string
}
// Host represents a Wiretrustee host (e.g. STUN, TURN, Signal)