Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaSetting ¶
type CaptchaSetting struct { Enabled bool `json:"enabled"` CaptchaId string `json:"captchaId" yaml:"captchaId"` CaptchaValue string `json:"captchaValue" yaml:"captchaValue"` Height int `json:"height" yaml:"height"` Width int `json:"width" yaml:"width"` Length int `json:"length"` Store *CodeConfig.CodeStoreSetting `json:"store"` }
var Setting *CaptchaSetting = &CaptchaSetting{ Enabled: false, Width: 240, Height: 80, Length: 6, Store: &CodeConfig.CodeStoreSetting{ Enabled: true, RequestInterval: time.Duration(10) * time.Second, ExpireIn: time.Duration(5) * time.Minute, }, }
Click to show internal directories.
Click to hide internal directories.