Documentation
¶
Index ¶
Constants ¶
View Source
const ( SessionUserId = "_userId_" IsRootUser = "_isRootUser_" )
session key
View Source
const ( DateFormat = "2006-01-02T15:04:05.999Z" // 日期格式 RequestId = "X-Request-Id" // http请求头 Swagger = "/swagger" //swagger路径 SshEstablishTimeoutInSeconds = 30 // ssh建立连接的超时时间 )
View Source
const (
// LoginSession 登录成功后,保存的cookie信息
LoginSession = "LOGIN_SESSION"
)
cookie name
View Source
const NewLine = "\n"
View Source
const (
ServerInternalError = "Server internal error"
)
Variables ¶
This section is empty.
Functions ¶
func CacheKeyHostInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.