8000 Calling middleware handler when routing is not hit · Issue #201 · go-openapi/runtime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Calling middleware handler when routing is not hit #201
Open
@tnoborio

Description

@tnoborio

I would like to output the Principal to the log if the authentication is successful.
when the API routing exists, I could log it out by writing the following.

However, when the routing is not hit, the middleware handler is not called.

https://github.com/go-openapi/runtime/blob/master/middleware/router.go#L82-L88

Is there any way to deal with this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0