aboutsummaryrefslogtreecommitdiff
path: root/routes/requests.go
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-29 02:47:35 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-29 02:47:35 +0300
commit96e2ce2e9d363a6296f9411ecb00168520258874 (patch)
tree09aa7fffe10eab84ae0edd39e570355984ba0148 /routes/requests.go
parent12ed72e4e1da181a6c87319a50d3b4142788b4c0 (diff)
Отказ от echo
Diffstat (limited to 'routes/requests.go')
-rw-r--r--routes/requests.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/routes/requests.go b/routes/requests.go
deleted file mode 100644
index a0bc13f..0000000
--- a/routes/requests.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package routes
-
-import "gitrepo.ru/neonxp/gorum/models"
-
-type loginRequest struct {
- Email string `form:"email"`
- Password string `form:"password"`
- Remember string `form:"remember"`
-}
-
-type registerRequest struct {
- Username string `form:"username"`
- Email string `form:"email"`
- Password string `form:"password"`
- Password2 string `form:"password2"`
-}
-
-type nodeRequest struct {
- Type models.NodeType `form:"type"`
- Text string `form:"text"`
-}