You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
402 B

package base64Captcha
import "time"
var (
// GCLimitNumber The number of captchas created that triggers garbage collection used by default store.
GCLimitNumber = 10240
// Expiration time of captchas used by default store.
Expiration = 10 * time.Minute
// DefaultMemStore is a shared storage for captchas, generated by New function.
DefaultMemStore = NewMemoryStore(GCLimitNumber, Expiration)
)