Ajout système d'interface

This commit is contained in:
2022-03-08 14:58:41 +01:00
parent 30e21ce042
commit 51defc39ac
5 changed files with 77 additions and 23 deletions

View File

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