Commit Graph

12 Commits

Author SHA1 Message Date
a23c80ae88
GenerateImage() method was changed to be private. 2022-06-26 21:00:06 +04:00
3ebfcb2c95
In handlers.go GetExpireInterval() changed to GetExpiry(). 2022-06-26 20:54:15 +04:00
3251b68629
In instance.go GetExpireInterval() changed to GetExpiry(). And changed name of corresponding field of CaptchaDB to ExpireIn. 2022-06-26 20:53:48 +04:00
bb4b3bd1ba
Method Expire() changed to Expiry(). 2022-06-26 20:52:29 +04:00
f7d55b9c44
In dwelling_captcha.go. Renamed ExpireDate() to ExpiryDate(). In NewDwellingCaptcha() argument expiration changed to expiry. 2022-06-26 20:51:04 +04:00
1dd070abd4
Refactor of db.go to change expiration and expire to expiry. ExpireInterval field renamed to ExpireIn. 2022-06-26 20:49:43 +04:00
2e3d41a628
Changed Expire() method in ICaptcha to Expiry().
ExpireDate() changed to ExpiryDate() and its argument expiration changed to expiry.
2022-06-26 20:47:25 +04:00
be4050d1f5
Removed excessive variable n, and multiplying by time.Second. 2022-06-26 20:36:36 +04:00
7a7c3107d8
Added GetExpireInterval() wrapper for CaptchaDB instance. 2022-06-26 15:46:23 +04:00
4af8d67299
Expiration time now being get from CaptchaDB. 2022-06-26 15:45:42 +04:00
c5d159531c
Added GetExpireInterval() method to DB. 2022-06-26 15:44:41 +04:00
21b2f24986
Initial commit with a fully working program, lel. 2022-06-24 23:09:46 +04:00