AppContext get application's global appcontext issue #3
()
| 261 | // AppContext get application's global appcontext |
| 262 | // issue #3 |
| 263 | func (ctx *HttpContext) AppItems() core.ConcurrenceMap { |
| 264 | if ctx.httpServer != nil { |
| 265 | return ctx.httpServer.DotApp.Items |
| 266 | } else { |
| 267 | return core.NewConcurrenceMap() |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | // Cache get application's global cache |
| 272 | func (ctx *HttpContext) Cache() cache.Cache { |
nothing calls this directly
no test coverage detected