feat: add auth flow and login guard for api/web

This commit is contained in:
2026-02-27 11:07:25 +08:00
parent f2a1e2d6fe
commit 60ce70f532
15 changed files with 377 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
package response
type AuthResponse struct {
Token string `json:"token"`
User interface{} `json:"user"`
}