1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00
1Panel/backend/init/session/session.go

12 lines
253 B
Go
Raw Permalink Normal View History

2022-08-16 23:30:23 +08:00
package session
import (
"github.com/1Panel-dev/1Panel/backend/global"
"github.com/1Panel-dev/1Panel/backend/init/session/psession"
2022-08-16 23:30:23 +08:00
)
func Init() {
global.SESSION = psession.NewPSession(global.CACHE)
2023-03-01 18:17:31 +08:00
global.LOG.Info("init session successfully")
2022-08-16 23:30:23 +08:00
}