Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator handles image generation
func (*Generator) GenerateCaptcha ¶
func (g *Generator) GenerateCaptcha(width, height int, text string) (*interfaces.CaptchaResult, error)
GenerateCaptcha generates a captcha image with the provided text If text is empty, it will generate random digits
Click to show internal directories.
Click to hide internal directories.