mirror of
https://github.com/astaxie/beego.git
synced 2024-11-21 16:10:54 +00:00
Revert "Change interface in session README"
This reverts commit 6f5c5bd3a6
.
This commit is contained in:
parent
009074725e
commit
5c8c088684
@ -101,7 +101,7 @@ Maybe you will find the **memory** provider is a good example.
|
||||
type Provider interface {
|
||||
SessionInit(gclifetime int64, config string) error
|
||||
SessionRead(sid string) (SessionStore, error)
|
||||
SessionExist(sid string) (bool, error)
|
||||
SessionExist(sid string) bool
|
||||
SessionRegenerate(oldsid, sid string) (SessionStore, error)
|
||||
SessionDestroy(sid string) error
|
||||
SessionAll() int //get all active session
|
||||
|
Loading…
Reference in New Issue
Block a user