MCPcopy Create free account
hub / github.com/kataras/iris / Acquire

Method Acquire

context_wrapper.go:40–40  ·  view source on GitHub ↗

Acquire must return a new T from a pool.

(ctx Context)

Source from the content-addressed store, hash-verified

38 ContextPool[T any] interface {
39 // Acquire must return a new T from a pool.
40 Acquire(ctx Context) T
41 // Release must put the T back to the pool.
42 Release(T)
43 }

Callers 5

HandlerMethod · 0.65
HandlerReturnErrorMethod · 0.65
HandlerReturnDurationMethod · 0.65
FilterMethod · 0.65
FallbackViewFuncMethod · 0.65

Implementers 7

Poolcache/entry/pool.go
memsessions/database.go
Databasesessions/sessiondb/boltdb/database.go
Databasesessions/sessiondb/badger/database.go
Databasesessions/sessiondb/redis/database.go
myCustomContextPool_examples/routing/custom-context/main.
Poolcontext/pool.go

Calls

no outgoing calls

Tested by

no test coverage detected