Added /refresh endpoint and make some refactor again

This commit is contained in:
PB
2025-10-21 10:48:36 +02:00
parent ab961a8608
commit cb6004f230
11 changed files with 147 additions and 85 deletions

View File

@@ -21,5 +21,6 @@ func SetupRouter(s *Server) {
s.Group("/v1").
Post("/login", s.LoginHandlerFn).
Post("/refresh", s.RefreshHandlerFn).
Post("/register", s.RegisterHandlerFn)
}