4 Commits

Author SHA1 Message Date
loveuer
3fc3c860bc feat: add notify scripts for state transitions
Some checks failed
Release / Build darwin-amd64 (push) Has been cancelled
Release / Build linux-amd64 (push) Has been cancelled
Release / Build darwin-arm64 (push) Has been cancelled
Release / Build linux-arm64 (push) Has been cancelled
Release / Create Release (push) Has been cancelled
- Add notify_master/notify_backup/notify_fault support
- Support both file path and inline shell script
- Async execution with 60s timeout
- Inject GO_ALIVED_INSTANCE and GO_ALIVED_EVENT env vars
- Bump version to 1.3.0

🤖 Generated with [Qoder][https://qoder.com]
2026-03-05 06:02:01 -08:00
loveuer
22e13c9c0d feat: add GitHub Actions release workflow and improve docs
Some checks failed
Release / Build darwin-amd64 (push) Has been cancelled
Release / Build linux-amd64 (push) Has been cancelled
Release / Build darwin-arm64 (push) Has been cancelled
Release / Build linux-arm64 (push) Has been cancelled
Release / Create Release (push) Has been cancelled
- Add GitHub Actions workflow for multi-platform releases
  - Build for linux/darwin on amd64/arm64
  - Auto-create GitHub Release with checksums
  - Version injection via ldflags
- Add init.d script support for install command
- Rewrite README with clearer documentation
  - Quick start guide
  - Two-node HA setup example
  - Health check configuration
  - Troubleshooting section
- Bump version to 1.2.1

🤖 Generated with [Qoder][https://qoder.com]
2026-03-04 23:36:09 -08:00
loveuer
4e66d187a7 feat: add install command for easy deployment
- Add `install` subcommand with alias `i`
- Support two installation methods: systemd (default) and service
- Copy binary to /usr/local/bin/go-alived
- Auto-detect network interface and hostname for config generation
- Create /etc/go-alived directory and config.yaml
- Install systemd service file with proper capabilities
- Display clear completion message with next steps
- Bump version to 1.2.0

🤖 Generated with [Qoder][https://qoder.com]
2026-03-04 00:54:08 -08:00
loveuer
894ddb53d3 feat: initial VRRP implementation with health checking
- VRRP protocol implementation (RFC 3768/5798)
- Virtual IP management (add/remove VIPs)
- State machine (INIT/BACKUP/MASTER/FAULT)
- Priority-based master election
- Gratuitous ARP for network updates
- Health checking (TCP, HTTP, ICMP, Script)
- Configuration hot-reload (SIGHUP)

🤖 Generated with [Qoder][https://qoder.com]
2026-03-04 00:13:35 -08:00