Added GetExpireInterval() wrapper for CaptchaDB instance.

This commit is contained in:
Alexander Andreev 2022-06-26 15:46:23 +04:00
parent 4af8d67299
commit 7a7c3107d8
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 4 additions and 0 deletions

View File

@ -27,3 +27,7 @@ func Solve(id ID, answer Answer) (bool, error) {
func IsSolved(id ID) (bool, error) {
return captchaDb.IsSolved(id)
}
func GetExpireInterval() time.Duration {
return captchaDb.ExpireInterval
}