Middleware can call Next() explicitly to call the next middleware in the chain. If Next() is not called and an error is not returned, Next() will automatically be called.
()
| 30 | context.Context |
| 31 | // Middleware can call Next() explicitly to call the next middleware in the chain. If Next() is not called and an error is not returned, Next() will automatically be called. |
| 32 | Next() |
| 33 | // Index returns the index of where we're at in the chain |
| 34 | Index() int |
| 35 | } |
no outgoing calls
no test coverage detected