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

Method Items

context.go:287–292  ·  view source on GitHub ↗

Items get request's item context lazy init when first use

()

Source from the content-addressed store, hash-verified

285// Items get request's item context
286// lazy init when first use
287func (ctx *HttpContext) Items() core.ConcurrenceMap {
288 if ctx.items == nil {
289 ctx.items = core.NewConcurrenceMap()
290 }
291 return ctx.items
292}
293
294// Tools get tools
295// lazy init when first use

Callers 2

resetMethod · 0.95
releaseMethod · 0.95

Calls 1

NewConcurrenceMapFunction · 0.92

Tested by

no test coverage detected