mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Create + Delete session.
This commit is contained in:
@ -19,9 +19,9 @@ type Session interface {
|
||||
}
|
||||
|
||||
type SessionManager interface {
|
||||
New(id string, admin bool) Session
|
||||
Create(profile MemberProfile) (Session, error)
|
||||
Get(id string) (Session, bool)
|
||||
Destroy(id string) error
|
||||
Delete(id string) error
|
||||
|
||||
HasHost() bool
|
||||
SetHost(host Session)
|
||||
|
Reference in New Issue
Block a user