services

package
v0.0.0-...-5dea150 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	DB *db.Service
}

func (*Service) GetAudioOutputByID

func (s *Service) GetAudioOutputByID(id string) (*models.AudioOutput, error)

func (*Service) GetAudioOutputState

func (s *Service) GetAudioOutputState(id string) (*models.AudioOutputState, error)

func (*Service) GetAudioOutputs

func (s *Service) GetAudioOutputs(roomNum, bldgAbbr, devType string) ([]models.AudioOutput, error)

func (*Service) GetDeviceByID

func (s *Service) GetDeviceByID(deviceID string) (*models.Device, error)

func (*Service) GetDevices

func (s *Service) GetDevices(roomNum, bldgAbbr, devType string) ([]models.Device, error)

func (*Service) GetDisplayByID

func (s *Service) GetDisplayByID(dispID string) (*models.Display, error)

func (*Service) GetDisplayConfig

func (s *Service) GetDisplayConfig(dispID string) (*models.DisplayConfig, error)

func (*Service) GetDisplayState

func (s *Service) GetDisplayState(dispID string) (*models.DisplayState, error)

func (*Service) GetDisplays

func (s *Service) GetDisplays(roomNum, bldgAbbr string) ([]models.Display, error)

func (*Service) GetInputByID

func (s *Service) GetInputByID(id string) (*models.Input, error)

func (*Service) GetInputs

func (s *Service) GetInputs(roomNum, bldgAbbr string) ([]models.Input, error)

func (*Service) GetRoomDevices

func (s *Service) GetRoomDevices(roomID string) (*models.RoomDevices, error)

func (*Service) GetRoomResources

func (s *Service) GetRoomResources(roomID string) ([]models.Resource, error)

GetRoomResources returns an array of the resources associated with the given roomID

func (*Service) GetRooms

func (s *Service) GetRooms(roomNum, bldgAbbr string) ([]models.Room, error)

Jump to

Keyboard shortcuts

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