Mise à jours du App config

This commit is contained in:
2022-02-26 18:08:52 +01:00
parent dfd6096898
commit c379c15932
5 changed files with 24 additions and 12 deletions

View File

@@ -2,12 +2,15 @@ package config
// AppConfig Contient toute la configuration du server
type AppConfig struct {
// multicastAddress Contient l'adresse multicast du FileFrontEnd (adresse:port)
// multicastAddress Contient l'adresse multicast du FileFrontEnd
MulticastAddress string `json:"multicastAddress"`
// multicastSecond Contient le nombre de seconde entre chaque annonce
MulticastSecond int `json:"multicastSecond"`
// unicastAddress Contient l'adresse unicast auquel le FileFrontEnd se connecte (adresse:port)
UnicastAddress string `json:"unicastAddress"`
// domain Domain du StorBackEnd
Domain string `json:"domain"`
// unicastPort Contient le port unicast auquel le FileFrontEnd se connecte
UnicastPort int `json:"unicastPort"`
}