• Denis Arh's avatar
    Implements JWT authorization along with some refactoring · d886a987
    Denis Arh authored
     - introduces auth package, for common (sam, crm) auth handlers
     - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
     - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
    d886a987
Gopkg.lock 4.51 KB