Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Keys used as names for input elements in captcha form HTML IDKey = "captchouli-id" ColourKey = "captchouli-color" BackgroundKey = "captchouli-background" )
Variables ¶
View Source
var ( RootDir string IsTest = false )
View Source
var CryptoSource mRand.Source = new(cryptoSource)
Source of cryptographically secure integers
View Source
var (
ErrNoMatch = Error{errors.New("not enough images match tag")}
)
Functions ¶
Types ¶
type DataSource ¶
type DataSource uint8
Source of image database to use for captcha image generation
const ( Gelbooru DataSource = iota Danbooru )
func (DataSource) String ¶
func (d DataSource) String() string
type FetchRequest ¶
type FetchRequest struct {
Tag string
}
Click to show internal directories.
Click to hide internal directories.