github.com/godaddy-x/freego@v1.0.156/geetest/geetest_config.go (about)

     1  package geetest
     2  
     3  const (
     4  	GEETEST_ID                = "123456"
     5  	GEETEST_KEY               = "123456"
     6  	REDIS_SERVER              = "127.0.0.1:6379"                                 // 对bypass状态进行缓存的redis服务地址
     7  	BYPASS_URL                = "http://bypass.geetest.com/v1/bypass_status.php" // 向geetest发送获取bypass状态请求的url
     8  	CYCLE_TIME                = 10                                               // 轮询发送获取bypass状态请求的时间间隔(单位为秒)
     9  	GEETEST_BYPASS_STATUS_KEY = "gt_server_bypass_status"                        // bypass状态存入redis时使用的key值
    10  )