Discover LAN servers and relay authenticated browser peer connections
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package protocol
|
||||
|
||||
const (
|
||||
DiscoverServersRequest = "discover_servers"
|
||||
DiscoverServersResult = "discovered_servers"
|
||||
)
|
||||
|
||||
// DiscoveredServer is one Pipelines DNS-SD advertisement on the serving LAN.
|
||||
type DiscoveredServer struct {
|
||||
Name string `json:"name"`
|
||||
Endpoint string `json:"endpoint"`
|
||||
Auth string `json:"auth"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
Reference in New Issue
Block a user