WIP: Save agent roles integration work before CHORUS rebrand
- Agent roles and coordination features - Chat API integration testing - New configuration and workspace management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
37
vendor/github.com/koron/go-ssdp/ssdp.go
generated
vendored
Normal file
37
vendor/github.com/koron/go-ssdp/ssdp.go
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
package ssdp
|
||||
|
||||
import (
|
||||
"log"
|
||||
"net"
|
||||
|
||||
"github.com/koron/go-ssdp/internal/multicast"
|
||||
"github.com/koron/go-ssdp/internal/ssdplog"
|
||||
)
|
||||
|
||||
func init() {
|
||||
multicast.InterfacesProvider = func() []net.Interface {
|
||||
return Interfaces
|
||||
}
|
||||
ssdplog.LoggerProvider = func() *log.Logger {
|
||||
return Logger
|
||||
}
|
||||
}
|
||||
|
||||
// Interfaces specify target interfaces to multicast. If no interfaces are
|
||||
// specified, all interfaces will be used.
|
||||
var Interfaces []net.Interface
|
||||
|
||||
// Logger is default logger for SSDP module.
|
||||
var Logger *log.Logger
|
||||
|
||||
// SetMulticastRecvAddrIPv4 updates multicast address where to receive packets.
|
||||
// This never fail now.
|
||||
func SetMulticastRecvAddrIPv4(addr string) error {
|
||||
return multicast.SetRecvAddrIPv4(addr)
|
||||
}
|
||||
|
||||
// SetMulticastSendAddrIPv4 updates a UDP address to send multicast packets.
|
||||
// This never fail now.
|
||||
func SetMulticastSendAddrIPv4(addr string) error {
|
||||
return multicast.SetSendAddrIPv4(addr)
|
||||
}
|
||||
Reference in New Issue
Block a user