Documentation ¶
Index ¶
- func CreateMessage(requestMessages *models.Messages) (*models.ResponseMessages, *models.ProblemDetail)
- func CreateRoom(requestRoom *models.Room) (*models.Room, *models.ProblemDetail)
- func CreateUser(requestUser *models.User) (*models.User, *models.ProblemDetail)
- func DeleteRoom(roomId string) (*models.ResponseRoomUser, *models.ProblemDetail)
- func DeleteRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
- func DeleteUser(userId string) (*models.ResponseRoomUser, *models.ProblemDetail)
- func GetMessage(messageId string) (*models.Message, *models.ProblemDetail)
- func GetRoom(roomId string) (*models.Room, *models.ProblemDetail)
- func GetRoomMessages(roomId string, requestParams url.Values) (*models.Messages, *models.ProblemDetail)
- func GetRooms(values url.Values) (*models.Rooms, *models.ProblemDetail)
- func GetUser(userId string) (*models.User, *models.ProblemDetail)
- func GetUsers() (*models.Users, *models.ProblemDetail)
- func PostRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
- func PutRoom(roomId string, requestRoom *models.Room) (*models.Room, *models.ProblemDetail)
- func PutRoomUser(roomId, userId string, requestRoomUser *models.RoomUser) *models.ProblemDetail
- func PutRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
- func PutUser(userId string, requestUser *models.User) (*models.User, *models.ProblemDetail)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMessage ¶
func CreateMessage(requestMessages *models.Messages) (*models.ResponseMessages, *models.ProblemDetail)
func CreateRoom ¶
func CreateUser ¶
func DeleteRoom ¶
func DeleteRoom(roomId string) (*models.ResponseRoomUser, *models.ProblemDetail)
func DeleteRoomUsers ¶
func DeleteRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
func DeleteUser ¶
func DeleteUser(userId string) (*models.ResponseRoomUser, *models.ProblemDetail)
func GetMessage ¶
func GetMessage(messageId string) (*models.Message, *models.ProblemDetail)
func GetRoomMessages ¶
func PostRoomUsers ¶
func PostRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
func PutRoomUser ¶
func PutRoomUser(roomId, userId string, requestRoomUser *models.RoomUser) *models.ProblemDetail
func PutRoomUsers ¶
func PutRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.