datastore

package
v0.0.0-...-c66ceb2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

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

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

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

func (*DMXDeviceController) Get

func (c *DMXDeviceController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXDevice) error

Get a DMXDevice

func (*DMXDeviceController) GetAll

func (c *DMXDeviceController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXDevice) error

GetAll returns all entities of DMXDevice

func (*DMXDeviceController) Update

func (c *DMXDeviceController) Update(r *http.Request, entity *cntl.DMXDevice, reply *cntl.DMXDevice) error

Update a new 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

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

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

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

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

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

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

func (*DMXPresetController) Get

func (c *DMXPresetController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXPreset) error

Get a DMXPreset

func (*DMXPresetController) GetAll

func (c *DMXPresetController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXPreset) error

GetAll returns all entities of DMXPreset

func (*DMXPresetController) Update

func (c *DMXPresetController) Update(r *http.Request, entity *cntl.DMXPreset, reply *cntl.DMXPreset) error

Update a new 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

func (*DMXSceneController) Get

func (c *DMXSceneController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.DMXScene) error

Get a DMXScene

func (*DMXSceneController) GetAll

func (c *DMXSceneController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.DMXScene) error

GetAll returns all entities of DMXScene

func (*DMXSceneController) Update

func (c *DMXSceneController) Update(r *http.Request, entity *cntl.DMXScene, reply *cntl.DMXScene) error

Update a new 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

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

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

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

func (*SetListController) Get

func (c *SetListController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.SetList) error

Get a SetList

func (*SetListController) GetAll

func (c *SetListController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.SetList) error

GetAll returns all entities of SetList

func (*SetListController) Update

func (c *SetListController) Update(r *http.Request, entity *cntl.SetList, reply *cntl.SetList) error

Update a new 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) Create

func (c *SongController) Create(r *http.Request, entity *cntl.Song, reply *cntl.Song) error

Create a new Song

func (*SongController) Delete

func (c *SongController) Delete(r *http.Request, idReq *api.IDBody, reply *api.SuccessResponse) error

Delete a Song

func (*SongController) Get

func (c *SongController) Get(r *http.Request, idReq *api.IDBody, reply *cntl.Song) error

Get a Song

func (*SongController) GetAll

func (c *SongController) GetAll(r *http.Request, idReq *api.Empty, reply *[]*cntl.Song) error

GetAll returns all entities of Song

func (*SongController) Update

func (c *SongController) Update(r *http.Request, entity *cntl.Song, reply *cntl.Song) error

Update a new Song

Jump to

Keyboard shortcuts

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