Documentation ¶
Index ¶
- Constants
- type Bilinear
- type BilinearSrc
- type Captcha
- type Image
- type Service
- func (s *Service) CaptchaImg(c context.Context, token, bid string) (img []byte, err error)
- func (s *Service) Close()
- func (s *Service) LookUp(bid string) (business *conf.Business)
- func (s *Service) Ping(c context.Context) error
- func (s *Service) Token(c context.Context, bid string) (url string, token string, err error)
- func (s *Service) VerifyCaptcha(c context.Context, token, code string) (err error)
Constants ¶
View Source
const ( NORMAL = int(4) MEDIUM = int(8) HIGH = int(16) MinLenStart = int(4) MinWidth = int(48) MinLength = int(20) Length48 = int(48) TypeNone = int(0) TypeLOWER = int(1) TypeUPPER = int(2) TypeALL = int(3) )
CONST VALUE.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BilinearSrc ¶
type BilinearSrc struct {
// contains filtered or unexported fields
}
BilinearSrc BilinearSrc.
Click to show internal directories.
Click to hide internal directories.