mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-26 08:47:47 +08:00
12 lines
247 B
Go
12 lines
247 B
Go
|
package session
|
||
|
|
||
|
import (
|
||
|
"github.com/1Panel-dev/1Panel/core/global"
|
||
|
"github.com/1Panel-dev/1Panel/core/init/session/psession"
|
||
|
)
|
||
|
|
||
|
func Init() {
|
||
|
global.SESSION = psession.NewPSession(global.CACHE)
|
||
|
global.LOG.Info("init session successfully")
|
||
|
}
|