Added comment for CaptchaDB.GetExpiry().
This commit is contained in:
parent
f2d7271111
commit
21e5ec118e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user