Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SessionInfos = map[string]StatusInfo{}
{ "terminus-org.app.terminus.io": { "sessionid": "", "id": "0001", "nickName": "username", }, "terminus-org.test.terminus.io": { "sessionid": "", "id": "0002", "nickName": "username", } }
Functions ¶
func GetSessionInfos ¶
func GetSessionInfos() (map[string]StatusInfo, error)
GetSessionInfos fetch sessions
func StoreSessionInfo ¶
func StoreSessionInfo(host string, stat StatusInfo) error
StoreSessionInfo write session info to file ~/.erda.d/sessions
Types ¶
type StatusInfo ¶
Click to show internal directories.
Click to hide internal directories.