Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
func (*Session) Destroy ¶
// TO BE DONE
func (this *Session) Has(key string) bool { var h = this.getDriver() return h.Exists(this.Name).Val() == 1 }
// TO BE DONE func (this *Session) Push(key string, e interface{}) { }
Destroy 释放
func (*Session) 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.