Added GetExpireInterval() wrapper for CaptchaDB instance.
This commit is contained in:
parent
4af8d67299
commit
7a7c3107d8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user