package
Version:
v0.0.0-...-54354b8
Opens a new window with list of versions in this module.
Published: Nov 19, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AdminLoginReq struct {
Email string `json:"email"`
Password string `json:"password"`
}
type CreateCommentReq struct {
}
type DeleteCommentReq struct {
}
type FollowUnfollowUserReq struct {
UserID string `json:"userId"`
FollowedID string `json:"followedId"`
}
type GetCommentsReq struct {
}
type LikeUnlikePostReq struct {
PostID string `json:"postId"`
UserID string `json:"userId"`
}
type LoginReq struct {
Username string `json:"username"`
Password string `json:"password"`
}
type SendChatReq struct {
SenderID string `json:"senderId"`
RecipientID string `json:"recipientId"`
Message string `json:"message"`
CreatedAt string `json:"createdAt"`
ReceivedAt string `json:"receivedAt"`
}
type SignUpReq struct {
FullName string `json:"fullName"`
Email string `json:"email"`
Username string `json:"username"`
Password string `json:"password"`
AccType constants.AccType `json:"accountType"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type UserId struct {
UserID string `json:"userId"`
}
type VerifyOtp struct {
UserID string `json:"userId"`
Otp string `json:"Otp"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.