Added comment for CaptchaDB.GetExpiry().

This commit is contained in:
Alexander Andreev 2022-06-27 03:19:39 +04:00
parent f2d7271111
commit 21e5ec118e
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ func (cdb *CaptchaDB) IsSolved(id ID) (bool, error) {
return false, errorNotFound
}
// GetExpiry returns time for how long captcha will last.
func (cdb *CaptchaDB) GetExpiry() time.Duration {
return cdb.ExpireIn
}