Documentation ¶
Index ¶
- func DeleteBlockUsers(userId string, reqUIDs *models.RequestBlockUserIds) (*models.BlockUsers, *models.ProblemDetail)
- func DeleteDevice(userId string, platform int) *models.ProblemDetail
- func DeleteRoom(roomId string) *models.ProblemDetail
- func DeleteRoomUsers(roomId string, deleteUserIds *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)
- func DeleteUser(userId string) *models.ProblemDetail
- func GetBlockUsers(userId string) (*models.BlockUsers, *models.ProblemDetail)
- func GetContacts(userId string) (*models.Users, *models.ProblemDetail)
- func GetDevice(userId string, platform int) (*models.Device, *models.ProblemDetail)
- func GetDevices(userId string) (*models.Devices, *models.ProblemDetail)
- func GetMessage(messageId string) (*models.Message, *models.ProblemDetail)
- func GetRoom(roomId string) (*models.Room, *models.ProblemDetail)
- func GetRoomMessages(roomId string, params url.Values) (*models.Messages, *models.ProblemDetail)
- func GetRooms(values url.Values) (*models.Rooms, *models.ProblemDetail)
- func GetUser(userId string) (*models.User, *models.ProblemDetail)
- func GetUserUnreadCount(userId string) (*models.UserUnreadCount, *models.ProblemDetail)
- func GetUsers() (*models.Users, *models.ProblemDetail)
- func PostMessage(posts *models.Messages) *models.ResponseMessages
- func PostRoom(post *models.Room) (*models.Room, *models.ProblemDetail)
- func PostUser(post *models.User) (*models.User, *models.ProblemDetail)
- func PutBlockUsers(userId string, reqUIDs *models.RequestBlockUserIds) (*models.BlockUsers, *models.ProblemDetail)
- func PutDevice(put *models.Device) (*models.Device, *models.ProblemDetail)
- func PutRoom(put *models.Room) (*models.Room, *models.ProblemDetail)
- func PutRoomUser(put *models.RoomUser) (*models.RoomUser, *models.ProblemDetail)
- func PutRoomUsers(roomId string, put *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)
- func PutUser(put *models.User) (*models.User, *models.ProblemDetail)
- func SelectDevice(userId string, platform int) (*models.Device, *models.ProblemDetail)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBlockUsers ¶ added in v0.7.0
func DeleteBlockUsers(userId string, reqUIDs *models.RequestBlockUserIds) (*models.BlockUsers, *models.ProblemDetail)
func DeleteDevice ¶ added in v0.2.0
func DeleteDevice(userId string, platform int) *models.ProblemDetail
func DeleteRoom ¶
func DeleteRoom(roomId string) *models.ProblemDetail
func DeleteRoomUsers ¶
func DeleteRoomUsers(roomId string, deleteUserIds *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)
func DeleteUser ¶
func DeleteUser(userId string) *models.ProblemDetail
func GetBlockUsers ¶ added in v0.7.0
func GetBlockUsers(userId string) (*models.BlockUsers, *models.ProblemDetail)
func GetContacts ¶ added in v0.7.0
func GetContacts(userId string) (*models.Users, *models.ProblemDetail)
func GetDevices ¶ added in v0.2.0
func GetDevices(userId string) (*models.Devices, *models.ProblemDetail)
func GetMessage ¶
func GetMessage(messageId string) (*models.Message, *models.ProblemDetail)
func GetRoomMessages ¶
func GetUserUnreadCount ¶ added in v0.7.1
func GetUserUnreadCount(userId string) (*models.UserUnreadCount, *models.ProblemDetail)
func PostMessage ¶ added in v0.2.0
func PostMessage(posts *models.Messages) *models.ResponseMessages
func PutBlockUsers ¶ added in v0.7.0
func PutBlockUsers(userId string, reqUIDs *models.RequestBlockUserIds) (*models.BlockUsers, *models.ProblemDetail)
func PutRoomUser ¶
func PutRoomUsers ¶
func PutRoomUsers(roomId string, put *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)
func SelectDevice ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.