services

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

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 CreateRoom(requestRoom *models.Room) (*models.Room, *models.ProblemDetail)

func CreateUser

func CreateUser(requestUser *models.User) (*models.User, *models.ProblemDetail)

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 GetRoom

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

func GetRoomMessages

func GetRoomMessages(roomId string, requestParams 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 PostRoomUsers

func PostRoomUsers(roomId string, requestRoomUsers *models.RoomUsers) (*models.ResponseRoomUser, *models.ProblemDetail)

func PutRoom

func PutRoom(roomId string, requestRoom *models.Room) (*models.Room, *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)

func PutUser

func PutUser(userId string, requestUser *models.User) (*models.User, *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