GoDoxy/internal/utils/atomic/std.go
yusing 8025af6067 feat(healthcheck): add retries before notifying (default: 3 times)
- Introduced NotifyFunc type for customizable notification handling in tests.
- Added Retries field to HealthCheckConfig for controlling notification thresholds.
- Implemented tests for notification behavior under various health check scenarios.
2025-07-20 12:03:45 +08:00

7 lines
114 B
Go

package atomic
import "sync/atomic"
type Bool = atomic.Bool
type Int32 = atomic.Int32
type Int64 = atomic.Int64