Initial commit (code only without large binaries)
This commit is contained in:
24
EdgeUser/internal/const/const.go
Normal file
24
EdgeUser/internal/const/const.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package teaconst
|
||||
|
||||
const (
|
||||
Version = "1.4.7" //1.3.8.2
|
||||
|
||||
ProductName = "Edge User"
|
||||
ProcessName = "edge-user"
|
||||
ProductNameZH = "Edge"
|
||||
|
||||
Role = "user"
|
||||
|
||||
EncryptKey = "8f983f4d69b83aaa0d74b21a212f6967"
|
||||
EncryptMethod = "aes-256-cfb"
|
||||
|
||||
ErrServer = "服务器出了点小问题,请联系技术人员处理。"
|
||||
CookieSID = "edgeusid"
|
||||
SessionUserId = "userId"
|
||||
|
||||
SystemdServiceName = "edge-user"
|
||||
UpdatesURL = "https://goedge.cn/api/boot/versions?os=${os}&arch=${arch}&version=${version}"
|
||||
|
||||
IsPlus = true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user