Middlewares returns registered route level middlewares. Does not contain any group level middlewares. Use this method to build your own ServeHTTP method. NOTE: returned slice is not a copy. Do not mutate.
()
| 747 | // |
| 748 | // NOTE: returned slice is not a copy. Do not mutate. |
| 749 | func (e *Echo) Middlewares() []MiddlewareFunc { |
| 750 | return e.middleware |
| 751 | } |
| 752 | |
| 753 | // AcquireContext returns an empty `Context` instance from the pool. |
| 754 | // You must return the context by calling `ReleaseContext()`. |
no outgoing calls