mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
grammar fixes(?)
Former-commit-id: bf2ff1df8c841643eb2ebfc8524ba869d02c99b3
This commit is contained in:
parent
68cc6641d4
commit
e67621b8ec
|
@ -2,15 +2,15 @@ package mvc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/kataras/golog"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kataras/iris/mvc/di"
|
|
||||||
|
|
||||||
"github.com/kataras/iris/context"
|
"github.com/kataras/iris/context"
|
||||||
"github.com/kataras/iris/core/router"
|
"github.com/kataras/iris/core/router"
|
||||||
"github.com/kataras/iris/core/router/macro"
|
"github.com/kataras/iris/core/router/macro"
|
||||||
|
"github.com/kataras/iris/mvc/di"
|
||||||
|
|
||||||
|
"github.com/kataras/golog"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BaseController is the optional controller interface, if it's
|
// BaseController is the optional controller interface, if it's
|
||||||
|
|
|
@ -31,10 +31,12 @@ type (
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// Destroy destroys this session, it removes all sessions and flash values,
|
// Destroy destroys this session, it removes its session values and any flashes.
|
||||||
// the session entry from the server and updates the registered session databases,
|
// This session entry will be removed from the server,
|
||||||
// note that this method does NOT removes the client's cookie, although
|
// the registered session databases will be notified for this deletion as well.
|
||||||
// it should be re-seted if new session is attached to that (client).
|
//
|
||||||
|
// 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.
|
// Use the session's manager `Destroy(ctx)` in order to remove the cookie as well.
|
||||||
func (s *Session) Destroy() {
|
func (s *Session) Destroy() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user