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

Struct Pool

context/pool.go:9–11  ·  view source on GitHub ↗

Pool is the context pool, it's used inside router and the framework by itself.

Source from the content-addressed store, hash-verified

7
8// Pool is the context pool, it's used inside router and the framework by itself.
9type Pool struct {
10 pool *sync.Pool
11}
12
13// New creates and returns a new context pool.
14func New(newFunc func() interface{}) *Pool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected