Documentation ¶ Index ¶ func DefaultGenerate() (string, string, error) func Generate(height, width, length int) (string, string, error) func Verify(id, answer string, clear bool) bool type Config type Opt func SetSource(s string) Opt func SetStore(s cp.Store) Opt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DefaultGenerate ¶ func DefaultGenerate() (string, string, error) func Generate ¶ func Generate(height, width, length int) (string, string, error) func Verify ¶ func Verify(id, answer string, clear bool) bool Types ¶ type Config ¶ type Config struct { // contains filtered or unexported fields } type Opt ¶ type Opt func(*Config) func SetSource ¶ func SetSource(s string) Opt func SetStore ¶ func SetStore(s cp.Store) Opt Source Files ¶ View all Source files captcha.go Click to show internal directories. Click to hide internal directories.