Documentation
¶
Index ¶
- type DMXAnimationController
- func (c *DMXAnimationController) Create(r *http.Request, entity *cntl.DMXAnimation, reply *cntl.DMXAnimation) error
- func (c *DMXAnimationController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXAnimationController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXAnimation) error
- func (c *DMXAnimationController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXAnimation) error
- func (c *DMXAnimationController) Update(r *http.Request, entity *cntl.DMXAnimation, reply *cntl.DMXAnimation) error
- type DMXColorVariableController
- func (c *DMXColorVariableController) Create(r *http.Request, entity *cntl.DMXColorVariable, reply *cntl.DMXColorVariable) error
- func (c *DMXColorVariableController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXColorVariableController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXColorVariable) error
- func (c *DMXColorVariableController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXColorVariable) error
- func (c *DMXColorVariableController) Update(r *http.Request, entity *cntl.DMXColorVariable, reply *cntl.DMXColorVariable) error
- type DMXDeviceController
- func (c *DMXDeviceController) Create(r *http.Request, entity *cntl.DMXDevice, reply *cntl.DMXDevice) error
- func (c *DMXDeviceController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXDeviceController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDevice) error
- func (c *DMXDeviceController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDevice) error
- func (c *DMXDeviceController) Update(r *http.Request, entity *cntl.DMXDevice, reply *cntl.DMXDevice) error
- type DMXDeviceGroupController
- func (c *DMXDeviceGroupController) Create(r *http.Request, entity *cntl.DMXDeviceGroup, reply *cntl.DMXDeviceGroup) error
- func (c *DMXDeviceGroupController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXDeviceGroupController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDeviceGroup) error
- func (c *DMXDeviceGroupController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDeviceGroup) error
- func (c *DMXDeviceGroupController) Update(r *http.Request, entity *cntl.DMXDeviceGroup, reply *cntl.DMXDeviceGroup) error
- type DMXDeviceTypeController
- func (c *DMXDeviceTypeController) Create(r *http.Request, entity *cntl.DMXDeviceType, reply *cntl.DMXDeviceType) error
- func (c *DMXDeviceTypeController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXDeviceTypeController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDeviceType) error
- func (c *DMXDeviceTypeController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDeviceType) error
- func (c *DMXDeviceTypeController) Update(r *http.Request, entity *cntl.DMXDeviceType, reply *cntl.DMXDeviceType) error
- type DMXPresetController
- func (c *DMXPresetController) Create(r *http.Request, entity *cntl.DMXPreset, reply *cntl.DMXPreset) error
- func (c *DMXPresetController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXPresetController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXPreset) error
- func (c *DMXPresetController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXPreset) error
- func (c *DMXPresetController) Update(r *http.Request, entity *cntl.DMXPreset, reply *cntl.DMXPreset) error
- type DMXSceneController
- func (c *DMXSceneController) Create(r *http.Request, entity *cntl.DMXScene, reply *cntl.DMXScene) error
- func (c *DMXSceneController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXSceneController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXScene) error
- func (c *DMXSceneController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXScene) error
- func (c *DMXSceneController) Update(r *http.Request, entity *cntl.DMXScene, reply *cntl.DMXScene) error
- type DMXTransitionController
- func (c *DMXTransitionController) Create(r *http.Request, entity *cntl.DMXTransition, reply *cntl.DMXTransition) error
- func (c *DMXTransitionController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *DMXTransitionController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXTransition) error
- func (c *DMXTransitionController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXTransition) error
- func (c *DMXTransitionController) Update(r *http.Request, entity *cntl.DMXTransition, reply *cntl.DMXTransition) error
- type SetListController
- func (c *SetListController) Create(r *http.Request, entity *cntl.SetList, reply *cntl.SetList) error
- func (c *SetListController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *SetListController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.SetList) error
- func (c *SetListController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.SetList) error
- func (c *SetListController) Update(r *http.Request, entity *cntl.SetList, reply *cntl.SetList) error
- type SongController
- func (c *SongController) Create(r *http.Request, entity *cntl.Song, reply *cntl.Song) error
- func (c *SongController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
- func (c *SongController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.Song) error
- func (c *SongController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.Song) error
- func (c *SongController) Update(r *http.Request, entity *cntl.Song, reply *cntl.Song) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMXAnimationController ¶
type DMXAnimationController struct {
// contains filtered or unexported fields
}
DMXAnimationController controls the DMXAnimation entity
func NewDMXAnimationController ¶
func NewDMXAnimationController(logger *logrus.Entry, storage api.Storage) *DMXAnimationController
NewDMXAnimationController returns a new DMXAnimationController instance
func (*DMXAnimationController) Create ¶
func (c *DMXAnimationController) Create(r *http.Request, entity *cntl.DMXAnimation, reply *cntl.DMXAnimation) error
Create a new DMXAnimation
func (*DMXAnimationController) Delete ¶
func (c *DMXAnimationController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXAnimation
func (*DMXAnimationController) Get ¶
func (c *DMXAnimationController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXAnimation) error
Get a DMXAnimation
func (*DMXAnimationController) GetAll ¶
func (c *DMXAnimationController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXAnimation) error
GetAll returns all entities of DMXAnimation
func (*DMXAnimationController) Update ¶
func (c *DMXAnimationController) Update(r *http.Request, entity *cntl.DMXAnimation, reply *cntl.DMXAnimation) error
Update a new DMXAnimation
type DMXColorVariableController ¶
type DMXColorVariableController struct {
// contains filtered or unexported fields
}
DMXColorVariableController controls the DMXColorVariable entity
func NewDMXColorVariableController ¶
func NewDMXColorVariableController(logger *logrus.Entry, storage api.Storage) *DMXColorVariableController
NewDMXColorVariableController returns a new MXColorVariableController instance
func (*DMXColorVariableController) Create ¶
func (c *DMXColorVariableController) Create(r *http.Request, entity *cntl.DMXColorVariable, reply *cntl.DMXColorVariable) error
Create a new DMXColorVariable
func (*DMXColorVariableController) Delete ¶
func (c *DMXColorVariableController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXColorVariable
func (*DMXColorVariableController) Get ¶
func (c *DMXColorVariableController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXColorVariable) error
Get a DMXColorVariable
func (*DMXColorVariableController) GetAll ¶
func (c *DMXColorVariableController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXColorVariable) error
GetAll returns all entities of DMXColorVariable
func (*DMXColorVariableController) Update ¶
func (c *DMXColorVariableController) Update(r *http.Request, entity *cntl.DMXColorVariable, reply *cntl.DMXColorVariable) error
Update a new DMXColorVariable
type DMXDeviceController ¶
type DMXDeviceController struct {
// contains filtered or unexported fields
}
DMXDeviceController controls the DMXDevice entity
func NewDMXDeviceController ¶
func NewDMXDeviceController(logger *logrus.Entry, storage api.Storage) *DMXDeviceController
NewDMXDeviceController returns a new DMXDeviceController instance
func (*DMXDeviceController) Create ¶
func (c *DMXDeviceController) Create(r *http.Request, entity *cntl.DMXDevice, reply *cntl.DMXDevice) error
Create a new DMXDevice
func (*DMXDeviceController) Delete ¶
func (c *DMXDeviceController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXDevice
type DMXDeviceGroupController ¶
type DMXDeviceGroupController struct {
// contains filtered or unexported fields
}
DMXDeviceGroupController controls the DMXDeviceGroup entity
func NewDMXDeviceGroupController ¶
func NewDMXDeviceGroupController(logger *logrus.Entry, storage api.Storage) *DMXDeviceGroupController
NewDMXDeviceGroupController returns a new DMXDeviceGroupController instance
func (*DMXDeviceGroupController) Create ¶
func (c *DMXDeviceGroupController) Create(r *http.Request, entity *cntl.DMXDeviceGroup, reply *cntl.DMXDeviceGroup) error
Create a new DMXDeviceGroup
func (*DMXDeviceGroupController) Delete ¶
func (c *DMXDeviceGroupController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXDeviceGroup
func (*DMXDeviceGroupController) Get ¶
func (c *DMXDeviceGroupController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDeviceGroup) error
Get a DMXDeviceGroup
func (*DMXDeviceGroupController) GetAll ¶
func (c *DMXDeviceGroupController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDeviceGroup) error
GetAll returns all entities of DMXDeviceGroup
func (*DMXDeviceGroupController) Update ¶
func (c *DMXDeviceGroupController) Update(r *http.Request, entity *cntl.DMXDeviceGroup, reply *cntl.DMXDeviceGroup) error
Update a new DMXDeviceGroup
type DMXDeviceTypeController ¶
type DMXDeviceTypeController struct {
// contains filtered or unexported fields
}
DMXDeviceTypeController controls the DMXDeviceType entity
func NewDMXDeviceTypeController ¶
func NewDMXDeviceTypeController(logger *logrus.Entry, storage api.Storage) *DMXDeviceTypeController
NewDMXDeviceTypeController returns a new DMXDeviceTypeController instance
func (*DMXDeviceTypeController) Create ¶
func (c *DMXDeviceTypeController) Create(r *http.Request, entity *cntl.DMXDeviceType, reply *cntl.DMXDeviceType) error
Create a new DMXDeviceType
func (*DMXDeviceTypeController) Delete ¶
func (c *DMXDeviceTypeController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXDeviceType
func (*DMXDeviceTypeController) Get ¶
func (c *DMXDeviceTypeController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDeviceType) error
Get a DMXDeviceType
func (*DMXDeviceTypeController) GetAll ¶
func (c *DMXDeviceTypeController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDeviceType) error
GetAll returns all entities of DMXDeviceType
func (*DMXDeviceTypeController) Update ¶
func (c *DMXDeviceTypeController) Update(r *http.Request, entity *cntl.DMXDeviceType, reply *cntl.DMXDeviceType) error
Update a new DMXDeviceType
type DMXPresetController ¶
type DMXPresetController struct {
// contains filtered or unexported fields
}
DMXPresetController controls the DMXPreset entity
func NewDMXPresetController ¶
func NewDMXPresetController(logger *logrus.Entry, storage api.Storage) *DMXPresetController
NewDMXPresetController returns a new DMXPresetController instance
func (*DMXPresetController) Create ¶
func (c *DMXPresetController) Create(r *http.Request, entity *cntl.DMXPreset, reply *cntl.DMXPreset) error
Create a new DMXPreset
func (*DMXPresetController) Delete ¶
func (c *DMXPresetController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXPreset
type DMXSceneController ¶
type DMXSceneController struct {
// contains filtered or unexported fields
}
DMXSceneController controls the DMXScene entity
func NewDMXSceneController ¶
func NewDMXSceneController(logger *logrus.Entry, storage api.Storage) *DMXSceneController
NewDMXSceneController returns a new DMXSceneController instance
func (*DMXSceneController) Create ¶
func (c *DMXSceneController) Create(r *http.Request, entity *cntl.DMXScene, reply *cntl.DMXScene) error
Create a new DMXScene
func (*DMXSceneController) Delete ¶
func (c *DMXSceneController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXScene
type DMXTransitionController ¶
type DMXTransitionController struct {
// contains filtered or unexported fields
}
DMXTransitionController controls the DMXTransition entity
func NewDMXTransitionController ¶
func NewDMXTransitionController(logger *logrus.Entry, storage api.Storage) *DMXTransitionController
NewDMXTransitionController returns a new DMXTransitionController instance
func (*DMXTransitionController) Create ¶
func (c *DMXTransitionController) Create(r *http.Request, entity *cntl.DMXTransition, reply *cntl.DMXTransition) error
Create a new DMXTransition
func (*DMXTransitionController) Delete ¶
func (c *DMXTransitionController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a DMXTransition
func (*DMXTransitionController) Get ¶
func (c *DMXTransitionController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXTransition) error
Get a DMXTransition
func (*DMXTransitionController) GetAll ¶
func (c *DMXTransitionController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXTransition) error
GetAll returns all entities of DMXTransition
func (*DMXTransitionController) Update ¶
func (c *DMXTransitionController) Update(r *http.Request, entity *cntl.DMXTransition, reply *cntl.DMXTransition) error
Update a new DMXTransition
type SetListController ¶
type SetListController struct {
// contains filtered or unexported fields
}
SetListController controls the SetList entity
func NewSetListController ¶
func NewSetListController(logger *logrus.Entry, storage api.Storage) *SetListController
NewSetListController returns a new SetListController instance
func (*SetListController) Create ¶
func (c *SetListController) Create(r *http.Request, entity *cntl.SetList, reply *cntl.SetList) error
Create a new SetList
func (*SetListController) Delete ¶
func (c *SetListController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a SetList
type SongController ¶
type SongController struct {
// contains filtered or unexported fields
}
SongController controls the Song entity
func NewSongController ¶
func NewSongController(logger *logrus.Entry, storage api.Storage) *SongController
NewSongController returns a new SongController instance
func (*SongController) Delete ¶
func (c *SongController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error
Delete a Song