Discover Packages
github.com/jxo-me/plus-core/pkg/v2
captcha
package
Version:
v2.0.53
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func DriverDigitFunc() (id, b64s, answer string, err error)
func DriverStringFunc() (id, b64s, answer string, err error)
func NewCacheStore(cache cacheLib.ICache, prefix string, expiration int) base64Captcha.Store
func SetStore(s base64Captcha.Store)
func Verify(id, code string, clear bool) bool
func DriverDigitFunc() (id, b64s, answer string , err error )
func DriverStringFunc() (id, b64s, answer string , err error )
NewCacheStore returns a new standard memory store for captchas with the
given collection threshold and expiration time (duration). The returned
store must be registered with SetCustomStore to replace the default one.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.