handlers

package
v0.0.0-...-75739c8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomHandler

type RoomHandler struct {
	Environment string
}

func (*RoomHandler) GetRoomByNameAndBuilding

func (r *RoomHandler) GetRoomByNameAndBuilding(context echo.Context) error

GetRoomByNameAndBuilding is almost identical to GetRoomByName

func (*RoomHandler) GetRoomResource

func (r *RoomHandler) GetRoomResource(context echo.Context) string

GetRoomResource returns the resourceID for a request

func (*RoomHandler) GetRoomState

func (r *RoomHandler) GetRoomState(context echo.Context) error

GetRoomState to get the current state of a room

func (*RoomHandler) SetRoomState

func (r *RoomHandler) SetRoomState(ctx echo.Context) error

SetRoomState to update the state of the room

Jump to

Keyboard shortcuts

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