AcquireContext returns an empty `Context` instance from the pool. You must return the context by calling `ReleaseContext()`.
()
| 753 | // AcquireContext returns an empty `Context` instance from the pool. |
| 754 | // You must return the context by calling `ReleaseContext()`. |
| 755 | func (e *Echo) AcquireContext() *Context { |
| 756 | return e.contextPool.Get().(*Context) |
| 757 | } |
| 758 | |
| 759 | // ReleaseContext returns the `Context` instance back to the pool. |
| 760 | // You must call it after `AcquireContext()`. |