Benjamin
4c368ef551
- Suppression HelloRule.go qui n'était pas adaptée - Création EraseFileRule.go et implémentation de son interface IProtocol.go - Rename méthode RegexMatcher.go match -> Match
21 lines
289 B
Go
21 lines
289 B
Go
package main
|
|
|
|
import (
|
|
"_StorBackEnd/pkg/network"
|
|
)
|
|
|
|
const (
|
|
MULTICAST_ADDRESS = "226.0.0.1:42500"
|
|
MULTICAST_SECOND = 10
|
|
)
|
|
|
|
func main() {
|
|
println("StorBackEnd started !")
|
|
|
|
multicast := network.CreateClientMulticast(MULTICAST_ADDRESS, MULTICAST_SECOND)
|
|
|
|
/* go */
|
|
multicast.Run()
|
|
|
|
}
|