Skip to content

Middleware for Authentication #291

@alfnsnff

Description

@alfnsnff

I wanna ask about the middleware

What if there is middleware for auth?

Is it also put under the middleware folder, inside e.g controller/http same like logger and recovery with plain function (no constructor like "NewAuthMiddleware"?

Or should it have another folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions