mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 02:30:53 +00:00
Move interface change to pkg/session/README.md
This commit is contained in:
parent
ce50ca22d7
commit
009074725e
@ -101,7 +101,7 @@ Maybe you will find the **memory** provider is a good example.
|
|||||||
type Provider interface {
|
type Provider interface {
|
||||||
SessionInit(gclifetime int64, config string) error
|
SessionInit(gclifetime int64, config string) error
|
||||||
SessionRead(sid string) (SessionStore, error)
|
SessionRead(sid string) (SessionStore, error)
|
||||||
SessionExist(sid string) bool
|
SessionExist(sid string) (bool, error)
|
||||||
SessionRegenerate(oldsid, sid string) (SessionStore, error)
|
SessionRegenerate(oldsid, sid string) (SessionStore, error)
|
||||||
SessionDestroy(sid string) error
|
SessionDestroy(sid string) error
|
||||||
SessionAll() int //get all active session
|
SessionAll() int //get all active session
|
||||||
|
Loading…
Reference in New Issue
Block a user