mirror of
https://github.com/rjNemo/auth
synced 2026-06-06 08:26:39 +00:00
9 lines
203 B
Go
9 lines
203 B
Go
package server
|
|
|
|
import "github.com/go-chi/chi/v5"
|
|
|
|
func (s *Server) registerRoutes(r chi.Router) {
|
|
r.Get("/", s.indexHandler())
|
|
r.Get("/in", s.dashboardHandler())
|
|
r.Post("/login", s.loginHandler())
|
|
}
|