Separate multicast package.

This commit is contained in:
jdl
2026-06-12 13:37:05 +02:00
parent 2b4cbae49c
commit 991fcffa68
5 changed files with 224 additions and 0 deletions

9
peer/multicast/global.go Normal file
View File

@@ -0,0 +1,9 @@
package multicast
import "time"
const (
errorTimeout = 16 * time.Second
broadcastInterval = 16 * time.Second
maxPacketAge = time.Minute
)