Documentation ¶ Index ¶ Variables func New(captchaId, secretId, secretKey string) (*neCaptchaVerifier, error) type VerifyResult Constants ¶ This section is empty. Variables ¶ View Source var ( CaptchaIdIsEmpty = errors.New("captchaId is empty") SecretIdIsEmpty = errors.New("secretId is empty") SecretKeyIsEmpty = errors.New("secretKey is empty") ValidateDataIsEmpty = errors.New("validate data is empty") ) Functions ¶ func New ¶ func New(captchaId, secretId, secretKey string) (*neCaptchaVerifier, error) Types ¶ type VerifyResult ¶ type VerifyResult struct { Err int `json:"error"` Msg string `json:"msg"` Result bool `json:"result"` Phone string `json:"phone"` ExtraData string `json:"extraData"` } Source Files ¶ View all Source files sdk.go Click to show internal directories. Click to hide internal directories.