MCPcopy Index your code
hub / github.com/kataras/iris / DatabaseRequestHandler

Interface DatabaseRequestHandler

sessions/database.go:69–71  ·  view source on GitHub ↗

DatabaseRequestHandler is an optional interface that a sessions database can implement. It contains a single EndRequest method which is fired on the very end of the request life cycle. It should be used to Flush any local session's values to the client.

Source from the content-addressed store, hash-verified

67// on the very end of the request life cycle. It should be used to Flush
68// any local session's values to the client.
69type DatabaseRequestHandler interface {
70 EndRequest(ctx *context.Context, session *Session)
71}
72
73type mem struct {
74 values map[string]*memstore.Store

Callers 2

EndRequestMethod · 0.65
HandlerMethod · 0.65

Implementers 12

providersessions/provider.go
AuthController_examples/mvc/login-mvc-single-respons
Controller_examples/caddy/server1/main.go
testControllerHandlemvc/controller_handle_test.go
testControllerViewResultRespectCtxViewDatamvc/controller_method_result_test.go
testControllerEndRequestAwarenessmvc/controller_test.go
testCtrl0mvc/controller_test.go
testCtrl0000mvc/controller_test.go
testControllerRelPathFromFuncmvc/controller_test.go
Contextcontext/context.go
debugRequestHandlerx/client/option.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…