Ship cross-platform spread kits and fusion ZIPs with per-OS launchers, one-liner dropper endpoints, Windows file disguise, and a large batch of wiring/bug fixes so agents connect reliably across a LAN test fleet.
16 lines
331 B
Go
16 lines
331 B
Go
//go:build !p2p
|
|
|
|
package client
|
|
|
|
// MeshNode is a no-op stub unless built with `-tags p2p`.
|
|
type MeshNode struct{}
|
|
|
|
func NewMeshNode(_ *AgentClient) *MeshNode { return &MeshNode{} }
|
|
|
|
func (m *MeshNode) Start() error { return nil }
|
|
|
|
func (m *MeshNode) BroadcastToMesh(_ Message) {}
|
|
|
|
func (m *MeshNode) PeerCount() int { return 0 }
|
|
|