Return of errors was removed for methods of CaptchaDB interface.
This commit is contained in:
parent
cebf4b572f
commit
c0d776fa40
@ -38,8 +38,8 @@ type CaptchaDB interface {
|
||||
New(data string, captcha Captcha) (Captcha, ID)
|
||||
GetExpiry() time.Duration
|
||||
SetExpiry(expiry time.Duration)
|
||||
Image(id ID, style string) (*image.Image, error)
|
||||
Solve(id ID, answer Answer) (bool, error)
|
||||
IsSolved(id ID) (bool, error)
|
||||
Remove(id ID) error
|
||||
Image(id ID, style string) *image.Image
|
||||
Solve(id ID, answer Answer) bool
|
||||
IsSolved(id ID) bool
|
||||
Remove(id ID)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user