Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaFunc ¶
type CaptchaFunc struct {
// contains filtered or unexported fields
}
CaptchaFunc is a template helper to generate a new captcha
func (*CaptchaFunc) Func ¶
func (f *CaptchaFunc) Func() interface{}
Func returns the template function to generate a new captcha
func (*CaptchaFunc) Inject ¶
func (f *CaptchaFunc) Inject( config *struct { Len float64 `inject:"config:captcha.len"` }, g *application.Generator, )
Inject dependencies
type CaptchaImgFunc ¶
type CaptchaImgFunc struct{}
CaptchaImgFunc is a template helper to get the image URL for a captcha
func (*CaptchaImgFunc) Func ¶
func (f *CaptchaImgFunc) Func() interface{}
Func returns the template function to get the image URL from a given captcha
type CaptchaSoundFunc ¶
type CaptchaSoundFunc struct{}
CaptchaSoundFunc is a template helper to get the audio URL for a captcha
func (*CaptchaSoundFunc) Func ¶
func (f *CaptchaSoundFunc) Func() interface{}
Func returns the template function to get the audio URL from a given captcha
Click to show internal directories.
Click to hide internal directories.