package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 6, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
@Summary Login
@Schemes
@Description ลงชื่อเข้าใช้ระบบ
@Tags Auth
@Accept json
@Produce json
@Success 200 {object} responses.Response{} "ok"
@Router /login [post]
@Summary
@Description แก้ไขข้อมูลหนังสือ
@Tags Auth
@Accept json
@Produce json
@Success 200 {object} responses.Response{} "ok"
@Router /signup [post]
type LoginPayload struct {
Email string `json:"email"`
Password string `json:"password"`
}
type SignUpPayload struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.