Add healthcheck to all stores
This commit is contained in:
@@ -35,4 +35,9 @@ type LoginAttemptStore interface {
|
||||
All() ([]models.LoginAttempt, error)
|
||||
Stats(statType LoginStats, limit int) ([]StatsResult, error)
|
||||
Query(query AttemptQuery) ([]models.LoginAttempt, error)
|
||||
HealthCheker
|
||||
}
|
||||
|
||||
type HealthCheker interface {
|
||||
IsHealthy() bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user