feat: add openconnect
This commit is contained in:
@@ -14,20 +14,20 @@ const (
|
||||
DefaultTaskTimeout = 30
|
||||
|
||||
// Settings Section 常量
|
||||
SectionSite = "site"
|
||||
SectionSystem = "system"
|
||||
SectionScheduler = "scheduler"
|
||||
SectionSecurity = "security"
|
||||
SectionNotify = "notify"
|
||||
SectionSite = "site"
|
||||
SectionSystem = "system"
|
||||
SectionScheduler = "scheduler"
|
||||
SectionSecurity = "security"
|
||||
SectionNotify = "notify"
|
||||
|
||||
// Site Settings Key 常量
|
||||
KeyTitle = "title"
|
||||
KeySubtitle = "subtitle"
|
||||
KeyIcon = "icon"
|
||||
KeyPageSize = "page_size"
|
||||
KeyCookieDays = "cookie_days"
|
||||
KeyOpenapiToken = "openapi_token"
|
||||
KeyActiveWebUI = "active_webui"
|
||||
KeyPageSize = "page_size"
|
||||
KeyCookieDays = "cookie_days"
|
||||
KeyOpenapiToken = "openapi_token"
|
||||
KeyActiveWebUI = "active_webui"
|
||||
|
||||
// Security Settings Key 常量
|
||||
KeySecret = "secret"
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
// CookieActiveInterconnectNodeID 穿越状态下标识目标子节点 ID 的 Cookie 键名
|
||||
CookieActiveInterconnectNodeID = "active_interconnect_node_id"
|
||||
|
||||
// SectionInterconnect 互联设置分组
|
||||
SectionInterconnect = "interconnect"
|
||||
|
||||
// 互联设置相关 Key
|
||||
KeyInterconnectToken = "interconnect_token"
|
||||
KeyInterconnectParentURL = "interconnect_parent_url"
|
||||
KeyInterconnectParentToken = "interconnect_parent_token"
|
||||
KeyInterconnectRole = "interconnect_role"
|
||||
|
||||
// 互联角色
|
||||
InterconnectRoleMaster = "master"
|
||||
InterconnectRoleChild = "child"
|
||||
|
||||
// 互联系统事件
|
||||
EventInterconnectChildStatus = "interconnect_child_status"
|
||||
)
|
||||
Reference in New Issue
Block a user