services

package
v0.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2017 License: MIT Imports: 15 Imported by: 2

Documentation

Index

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 GetDevice added in v0.2.0

func GetDevice(userId string, platform int) (*models.Device, *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 GetRoom

func GetRoom(roomId string) (*models.Room, *models.ProblemDetail)

func GetRoomMessages

func GetRoomMessages(roomId string, params url.Values) (*models.Messages, *models.ProblemDetail)

func GetRooms

func GetRooms(values url.Values) (*models.Rooms, *models.ProblemDetail)

func GetUser

func GetUser(userId string) (*models.User, *models.ProblemDetail)

func GetUserUnreadCount added in v0.7.1

func GetUserUnreadCount(userId string) (*models.UserUnreadCount, *models.ProblemDetail)

func GetUsers

func GetUsers() (*models.Users, *models.ProblemDetail)

func PostMessage added in v0.2.0

func PostMessage(posts *models.Messages) *models.ResponseMessages

func PostRoom added in v0.2.0

func PostRoom(post *models.Room) (*models.Room, *models.ProblemDetail)

func PostUser added in v0.2.0

func PostUser(post *models.User) (*models.User, *models.ProblemDetail)

func PutBlockUsers added in v0.7.0

func PutBlockUsers(userId string, reqUIDs *models.RequestBlockUserIds) (*models.BlockUsers, *models.ProblemDetail)

func PutDevice added in v0.2.0

func PutDevice(put *models.Device) (*models.Device, *models.ProblemDetail)

func PutRoom

func PutRoom(put *models.Room) (*models.Room, *models.ProblemDetail)

func PutRoomUser

func PutRoomUser(put *models.RoomUser) (*models.RoomUser, *models.ProblemDetail)

func PutRoomUsers

func PutRoomUsers(roomId string, put *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)

func PutUser

func PutUser(put *models.User) (*models.User, *models.ProblemDetail)

func SelectDevice added in v0.2.0

func SelectDevice(userId string, platform int) (*models.Device, *models.ProblemDetail)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL