1Panel/backend/init/session/session.go
2023-03-01 18:19:14 +08:00

12 lines
253 B
Go

package session
import (
"github.com/1Panel-dev/1Panel/backend/global"
"github.com/1Panel-dev/1Panel/backend/init/session/psession"
)
func Init() {
global.SESSION = psession.NewPSession(global.CACHE)
global.LOG.Info("init session successfully")
}