feat: use a debug logger for agent

This commit is contained in:
Aarnav Tale
2025-04-08 14:51:28 -04:00
parent 3dca401837
commit 608fcacdb1
9 changed files with 151 additions and 79 deletions
+11
View File
@@ -0,0 +1,11 @@
package hpagent
import (
"tailscale.com/tailcfg"
)
// Sends the status to the Headplane master
func (s *Socket) SendStatus(status map[string]*tailcfg.HostinfoView) error {
err := s.WriteJSON(status)
return err
}