Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker struct {
// contains filtered or unexported fields
}
HealthChecker is a heals checker.
func NewHealthChecker ¶
func NewHealthChecker(ctx context.Context, client ...httpClient) *HealthChecker
NewHealthChecker creates heals checker.
func (*HealthChecker) Check ¶
func (c *HealthChecker) Check(port uint16) error
Check application using liveness probe.
type ReadyChecker ¶
type ReadyChecker struct {
// contains filtered or unexported fields
}
ReadyChecker is a readiness checker.
func NewReadyChecker ¶
func NewReadyChecker(ctx context.Context, rdb *redis.Client) *ReadyChecker
NewReadyChecker creates readiness checker.
func (*ReadyChecker) Check ¶
func (c *ReadyChecker) Check() error
Check application is ready for incoming requests processing?
Click to show internal directories.
Click to hide internal directories.