1Panel/backend/init/session/session.go

12 lines
253 B
Go
Raw Normal View History

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