MCPcopy Create free account
hub / github.com/devfeel/dotweb / AppItems

Method AppItems

context.go:263–269  ·  view source on GitHub ↗

AppContext get application's global appcontext issue #3

()

Source from the content-addressed store, hash-verified

261// AppContext get application's global appcontext
262// issue #3
263func (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
272func (ctx *HttpContext) Cache() cache.Cache {

Callers

nothing calls this directly

Calls 1

NewConcurrenceMapFunction · 0.92

Tested by

no test coverage detected