Documentation ¶
Index ¶
- type CaptchaServer
- func (cs *CaptchaServer) CheckCaptcha(req *m.CheckCaptchaRequest) (resp *m.CheckCaptchaResponse, err error)
- func (cs *CaptchaServer) CreateCaptcha() (resp *m.CreateCaptchaResponse, err error)
- func (cs *CaptchaServer) GetCaptchaImage(req *m.GetCaptchaImageRequest) (resp *m.GetCaptchaImageResponse, err error)
- func (cs *CaptchaServer) GetListenDsn() (dsn string)
- func (cs *CaptchaServer) HasCaptcha(req *m.HasCaptchaRequest) (resp *m.HasCaptchaResponse, err error)
- func (cs *CaptchaServer) Start() (err error)
- func (cs *CaptchaServer) Stop() (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaServer ¶ added in v0.11.0
type CaptchaServer struct {
// contains filtered or unexported fields
}
func NewCaptchaServer ¶ added in v0.11.0
func NewCaptchaServer(s *m.CaptchaServerSettings) (cm *CaptchaServer, err error)
func (*CaptchaServer) CheckCaptcha ¶ added in v0.11.0
func (cs *CaptchaServer) CheckCaptcha(req *m.CheckCaptchaRequest) (resp *m.CheckCaptchaResponse, err error)
func (*CaptchaServer) CreateCaptcha ¶ added in v0.11.0
func (cs *CaptchaServer) CreateCaptcha() (resp *m.CreateCaptchaResponse, err error)
func (*CaptchaServer) GetCaptchaImage ¶ added in v0.11.0
func (cs *CaptchaServer) GetCaptchaImage(req *m.GetCaptchaImageRequest) (resp *m.GetCaptchaImageResponse, err error)
func (*CaptchaServer) GetListenDsn ¶ added in v0.11.0
func (cs *CaptchaServer) GetListenDsn() (dsn string)
func (*CaptchaServer) HasCaptcha ¶ added in v0.11.0
func (cs *CaptchaServer) HasCaptcha(req *m.HasCaptchaRequest) (resp *m.HasCaptchaResponse, err error)
func (*CaptchaServer) Start ¶ added in v0.11.0
func (cs *CaptchaServer) Start() (err error)
func (*CaptchaServer) Stop ¶ added in v0.11.0
func (cs *CaptchaServer) Stop() (err error)
Click to show internal directories.
Click to hide internal directories.