1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 10:57:05 +00:00

grammar fixes(?)

Former-commit-id: bf2ff1df8c841643eb2ebfc8524ba869d02c99b3
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-12-16 23:12:49 +02:00
parent 68cc6641d4
commit e67621b8ec
2 changed files with 9 additions and 7 deletions

View File

@@ -31,10 +31,12 @@ type (
}
)
// Destroy destroys this session, it removes all sessions and flash values,
// the session entry from the server and updates the registered session databases,
// note that this method does NOT removes the client's cookie, although
// it should be re-seted if new session is attached to that (client).
// Destroy destroys this session, it removes its session values and any flashes.
// This session entry will be removed from the server,
// the registered session databases will be notified for this deletion as well.
//
// Note that this method does NOT remove the client's cookie, although
// it should be reseted if new session is attached to that (client).
//
// Use the session's manager `Destroy(ctx)` in order to remove the cookie as well.
func (s *Session) Destroy() {