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.
| 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. |
| 69 | type DatabaseRequestHandler interface { |
| 70 | EndRequest(ctx *context.Context, session *Session) |
| 71 | } |
| 72 | |
| 73 | type mem struct { |
| 74 | values map[string]*memstore.Store |
no outgoing calls
no test coverage detected
searching dependent graphs…