Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dchest/captcha
/ types & classes
Types & classes
8 in github.com/dchest/captcha
⨍
Functions
91
◇
Types & classes
8
Struct
Audio
audio.go:22
Struct
Image
image.go:26
Interface
Store
An object implementing Store interface can be registered with SetCustomStore function to handle storage and retrieval of captcha ids and solutions for
store.go:20
Struct
byteCounter
image_test.go:9
Struct
captchaHandler
server.go:15
Struct
idByTimeValue
expValue stores timestamp and id of captchas. It is used in the list inside memoryStore for indexing generated captchas by timestamp to enable garbage
store.go:32
Struct
memoryStore
memoryStore is an internal store for captcha ids and their values.
store.go:38
Struct
siprng
siprng is PRNG based on SipHash-2-4. (Note: it's not safe to use a single siprng from multiple goroutines.)
siprng.go:11