myxce/src/frontend/apiserver/backend
Rongsong Shen ffc5b20cdb feat: P1-3 add heartbeat keep-alive goroutine
- add heartbeat.go with heartbeatIntervalSecs var, SetHeartbeatInterval, runHeartbeat (no build tag, CGO-free)
- add heartbeat_test.go with 5 tests covering interval validation and goroutine lifecycle
- add StartHeartbeat to clib.go (CGO impl calling xcecli_heartbeat)
- remove SetHeartbeatInterval stub from stub.go (now real code in heartbeat.go)
- remove TestSetHeartbeatInterval_StubNoOp from stub_funcs_test.go
- call SetHeartbeatInterval in OnClusterUpdated to track backend-pushed interval
- call backend.StartHeartbeat in cmd/main.go after backend registration
2026-04-17 14:12:40 +00:00
..
auth Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
clib.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00
config.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
control_host_test.go fix: address P0-2b review issues - build tag and actionType guard 2026-04-17 08:25:05 +00:00
convert.go feat: P1-1 handle resource value push via OPCode_notify 2026-04-17 13:54:03 +00:00
convert_pure.go feat: P1-1 handle resource value push via OPCode_notify 2026-04-17 13:54:03 +00:00
convert_test.go feat: P1-1 handle resource value push via OPCode_notify 2026-04-17 13:54:03 +00:00
handler.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00
handler_test.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
heartbeat.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00
heartbeat_test.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00
notification.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
stub.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00
stub_funcs_test.go feat: P1-3 add heartbeat keep-alive goroutine 2026-04-17 14:12:40 +00:00