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