2022-02-22 11:02:45 +01:00
|
|
|
package config
|
|
|
|
|
|
|
|
// AppConfig Contient toute la configuration du server
|
|
|
|
type AppConfig struct {
|
2022-03-08 14:58:41 +01:00
|
|
|
// MulticastNetworkInterface
|
|
|
|
MulticastNetworkInterface string `json:"multicastNetworkInterface"`
|
|
|
|
|
|
|
|
// MulticastAddress Contient l'adresse multicast du FileFrontEnd
|
2022-02-22 13:05:33 +01:00
|
|
|
MulticastAddress string `json:"multicastAddress"`
|
2022-02-22 11:02:45 +01:00
|
|
|
|
2022-03-08 14:58:41 +01:00
|
|
|
// MulticastSecond Contient le nombre de seconde entre chaque annonce
|
2022-02-22 13:05:33 +01:00
|
|
|
MulticastSecond int `json:"multicastSecond"`
|
2022-02-22 11:02:45 +01:00
|
|
|
|
2022-03-08 14:58:41 +01:00
|
|
|
// Domain du StoreBackEnd
|
2022-02-26 18:08:52 +01:00
|
|
|
Domain string `json:"domain"`
|
|
|
|
|
2022-03-08 14:58:41 +01:00
|
|
|
// UnicastPort Contient le port unicast auquel le FileFrontEnd se connecte
|
2022-02-26 18:08:52 +01:00
|
|
|
UnicastPort int `json:"unicastPort"`
|
2022-02-22 11:02:45 +01:00
|
|
|
}
|