Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
Session ...
func (*Session) Destroy ¶
// TO BE DONE
func (session *Session) Has(key string) bool { var h = session.getDriver() return h.Exists(session.Name).Val() == 1 }
// TO BE DONE func (session *Session) Push(key string, e interface{}) { }
Destroy 释放
func (*Session) Put ¶
Put https://laravel.com/docs/5.8/session Pushing To Array Session Values session.Put('user.teams', 'developers'); => {user: {teams: "developer"}}
Click to show internal directories.
Click to hide internal directories.