package
Version:
v0.0.0-...-95c1afc
Opens a new window with list of versions in this module.
Published: Dec 12, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateUserReq struct {
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
}
type CreateUserRes struct {
ID string `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
}
type LoginUserReq struct {
Email string `json:"email"`
Password string `json:"password"`
}
type Message struct {
Content string `json:"content"`
RoomID string `json:"roomId"`
Username string `json:"username"`
}
type User struct {
ID int64 `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.