Use same as `Self.Use` but it accepts dynamic functions as its "handlersFn" input. See `OnError`, `RegisterDependency`, `Done` and `Handle` for more.
(handlersFn ...interface{})
| 156 | // |
| 157 | // See `OnError`, `RegisterDependency`, `Done` and `Handle` for more. |
| 158 | func (api *APIContainer) Use(handlersFn ...interface{}) { |
| 159 | handlers := api.convertHandlerFuncs("/", handlersFn...) |
| 160 | api.Self.Use(handlers...) |
| 161 | } |
| 162 | |
| 163 | // Done same as `Self.Done` but it accepts dynamic functions as its "handlersFn" input. |
| 164 | // See `OnError`, `RegisterDependency`, `Use` and `Handle` for more. |
nothing calls this directly
no test coverage detected