github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/internal/server/utils/const/const.go (about)

     1  package serverConst
     2  
     3  import consts "github.com/easysoft/zendata/internal/pkg/const"
     4  
     5  const (
     6  	HeartBeatInterval    = 60
     7  	CheckUpgradeInterval = 30
     8  
     9  	AgentRunTime = 30 * 60
    10  	AgentLogDir  = "log"
    11  
    12  	QiNiuURL         = "https://dl.cnezsoft.com/" + consts.AppName + "/"
    13  	AgentVersionURL  = QiNiuURL + "version.txt"
    14  	AgentDownloadURL = QiNiuURL + "%s/%s/" + consts.AppName + ".zip"
    15  )