initial auth from subscriber app

This commit is contained in:
ctengiz
2024-04-11 21:04:00 +03:00
parent 5bc7a48f75
commit 03036fdffd
6 changed files with 221 additions and 0 deletions

14
svc/api/public/zrouter.go Normal file
View File

@@ -0,0 +1,14 @@
package public
import (
"github.com/go-chi/chi/v5"
"net/http"
)
func Router() http.Handler {
r := chi.NewRouter()
// user authentication
r.Post("/login", login)
return r
}