Remove separate tracking structures and store protocol data directly on nodes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,10 +33,7 @@ func getInterfaceIPv4(iface net.Interface) (srcIP, broadcast net.IP) {
|
||||
type Tendrils struct {
|
||||
activeInterfaces map[string]context.CancelFunc
|
||||
nodes *Nodes
|
||||
artnet *ArtNetNodes
|
||||
artnetConn *net.UDPConn
|
||||
sacnSources *SACNSources
|
||||
danteFlows *DanteFlows
|
||||
errors *ErrorTracker
|
||||
ping *PingManager
|
||||
broadcast *BroadcastStats
|
||||
@@ -78,9 +75,6 @@ type Tendrils struct {
|
||||
func New() *Tendrils {
|
||||
t := &Tendrils{
|
||||
activeInterfaces: map[string]context.CancelFunc{},
|
||||
artnet: NewArtNetNodes(),
|
||||
sacnSources: NewSACNSources(),
|
||||
danteFlows: NewDanteFlows(),
|
||||
ping: NewPingManager(),
|
||||
sseSubs: map[int]chan struct{}{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user