You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1Panel/backend/init/session/session.go

12 lines
253 B

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")
}