services

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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() (*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 GetUsers

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

func PostDevice added in v0.2.0

func PostDevice(post *models.Device) (*models.Device, *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 PostRoomUsers

func PostRoomUsers(roomId string, post *models.RequestRoomUserIds) (*models.RoomUsers, *models.ProblemDetail)

func PostUser added in v0.2.0

func PostUser(post *models.User) (*models.User, *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