Documentation
¶
Index ¶
- func NewMiddlewareContextValue(fn echo.HandlerFunc) echo.HandlerFunc
- func ResponseWithObj(ctx echo.Context, obj interface{}) interface{}
- type ControllerAction
- func (c ControllerAction) ActionServiceAddAction(ctx echo.Context, _ stub.ActionServiceAddActionParams) error
- func (c ControllerAction) ActionServiceDeleteAction(ctx echo.Context, id int64) error
- func (c ControllerAction) ActionServiceGetActionById(ctx echo.Context, id int64) error
- func (c ControllerAction) ActionServiceGetActionList(ctx echo.Context, params stub.ActionServiceGetActionListParams) error
- func (c ControllerAction) ActionServiceSearchAction(ctx echo.Context, params stub.ActionServiceSearchActionParams) error
- func (c ControllerAction) ActionServiceUpdateAction(ctx echo.Context, id int64, _ stub.ActionServiceUpdateActionParams) error
- type ControllerArea
- func (c ControllerArea) AreaServiceAddArea(ctx echo.Context, _ stub.AreaServiceAddAreaParams) error
- func (c ControllerArea) AreaServiceDeleteArea(ctx echo.Context, id int64) error
- func (c ControllerArea) AreaServiceGetAreaById(ctx echo.Context, id int64) error
- func (c ControllerArea) AreaServiceGetAreaList(ctx echo.Context, params stub.AreaServiceGetAreaListParams) error
- func (c ControllerArea) AreaServiceSearchArea(ctx echo.Context, params stub.AreaServiceSearchAreaParams) error
- func (c ControllerArea) AreaServiceUpdateArea(ctx echo.Context, id int64, _ stub.AreaServiceUpdateAreaParams) error
- type ControllerAuth
- func (c ControllerAuth) AuthServiceAccessList(ctx echo.Context) error
- func (c ControllerAuth) AuthServicePasswordReset(ctx echo.Context, _ stub.AuthServicePasswordResetParams) error
- func (c ControllerAuth) AuthServiceSignin(ctx echo.Context) error
- func (c ControllerAuth) AuthServiceSignout(ctx echo.Context) error
- type ControllerAutomation
- func (c ControllerAutomation) AutomationServiceAddTask(ctx echo.Context, _ stub.AutomationServiceAddTaskParams) error
- func (c ControllerAutomation) AutomationServiceDeleteTask(ctx echo.Context, id int64) error
- func (c ControllerAutomation) AutomationServiceDisableTask(ctx echo.Context, id int64) error
- func (c ControllerAutomation) AutomationServiceEnableTask(ctx echo.Context, id int64) error
- func (c ControllerAutomation) AutomationServiceGetStatistic(ctx echo.Context) error
- func (c ControllerAutomation) AutomationServiceGetTask(ctx echo.Context, id int64) error
- func (c ControllerAutomation) AutomationServiceGetTaskList(ctx echo.Context, params stub.AutomationServiceGetTaskListParams) error
- func (c ControllerAutomation) AutomationServiceImportTask(ctx echo.Context, _ stub.AutomationServiceImportTaskParams) error
- func (c ControllerAutomation) AutomationServiceUpdateTask(ctx echo.Context, id int64, _ stub.AutomationServiceUpdateTaskParams) error
- type ControllerBackup
- func (c ControllerBackup) BackupServiceApplyState(ctx echo.Context, _ stub.BackupServiceApplyStateParams) error
- func (c ControllerBackup) BackupServiceDeleteBackup(ctx echo.Context, name string) error
- func (c ControllerBackup) BackupServiceGetBackupList(ctx echo.Context, params stub.BackupServiceGetBackupListParams) error
- func (c ControllerBackup) BackupServiceNewBackup(ctx echo.Context, _ stub.BackupServiceNewBackupParams) error
- func (c ControllerBackup) BackupServiceRestoreBackup(ctx echo.Context, name string) error
- func (c ControllerBackup) BackupServiceRevertState(ctx echo.Context, _ stub.BackupServiceRevertStateParams) error
- func (c ControllerBackup) BackupServiceUploadBackup(ctx echo.Context, _ stub.BackupServiceUploadBackupParams) error
- type ControllerCommon
- func (c ControllerCommon) Body(ctx echo.Context, obj interface{}) error
- func (c ControllerCommon) ERROR(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP200(ctx echo.Context, data interface{}) error
- func (c ControllerCommon) HTTP201(ctx echo.Context, data interface{}) error
- func (c ControllerCommon) HTTP400(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP401(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP403(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP404(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP409(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP422(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP500(ctx echo.Context, err error) error
- func (c ControllerCommon) HTTP501(ctx echo.Context, data interface{}) error
- func (c ControllerCommon) Pagination(page, limit *uint64, sort *string) (pagination common.PageParams)
- func (c ControllerCommon) Search(query *string, limit, offset *int64) (search common.SearchParams)
- type ControllerCondition
- func (c ControllerCondition) ConditionServiceAddCondition(ctx echo.Context, _ stub.ConditionServiceAddConditionParams) error
- func (c ControllerCondition) ConditionServiceDeleteCondition(ctx echo.Context, id int64) error
- func (c ControllerCondition) ConditionServiceGetConditionById(ctx echo.Context, id int64, _ stub.ConditionServiceGetConditionByIdParams) error
- func (c ControllerCondition) ConditionServiceGetConditionList(ctx echo.Context, params stub.ConditionServiceGetConditionListParams) error
- func (c ControllerCondition) ConditionServiceSearchCondition(ctx echo.Context, params stub.ConditionServiceSearchConditionParams) error
- func (c ControllerCondition) ConditionServiceUpdateCondition(ctx echo.Context, id int64, _ stub.ConditionServiceUpdateConditionParams) error
- type ControllerDashboard
- func (c ControllerDashboard) DashboardServiceAddDashboard(ctx echo.Context, _ stub.DashboardServiceAddDashboardParams) error
- func (c ControllerDashboard) DashboardServiceDeleteDashboard(ctx echo.Context, id int64) error
- func (c ControllerDashboard) DashboardServiceGetDashboardById(ctx echo.Context, id int64) error
- func (c ControllerDashboard) DashboardServiceGetDashboardList(ctx echo.Context, params stub.DashboardServiceGetDashboardListParams) error
- func (c ControllerDashboard) DashboardServiceImportDashboard(ctx echo.Context, _ stub.DashboardServiceImportDashboardParams) error
- func (c ControllerDashboard) DashboardServiceSearchDashboard(ctx echo.Context, params stub.DashboardServiceSearchDashboardParams) error
- func (c ControllerDashboard) DashboardServiceUpdateDashboard(ctx echo.Context, id int64, _ stub.DashboardServiceUpdateDashboardParams) error
- type ControllerDashboardCard
- func (c ControllerDashboardCard) DashboardCardServiceAddDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceAddDashboardCardParams) error
- func (c ControllerDashboardCard) DashboardCardServiceDeleteDashboardCard(ctx echo.Context, id int64) error
- func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardById(ctx echo.Context, id int64) error
- func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardList(ctx echo.Context, params stub.DashboardCardServiceGetDashboardCardListParams) error
- func (c ControllerDashboardCard) DashboardCardServiceImportDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceImportDashboardCardParams) error
- func (c ControllerDashboardCard) DashboardCardServiceUpdateDashboardCard(ctx echo.Context, id int64, ...) error
- type ControllerDashboardCardItem
- func (c ControllerDashboardCardItem) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context, _ stub.DashboardCardItemServiceAddDashboardCardItemParams) error
- func (c ControllerDashboardCardItem) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context, id int64) error
- func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context, id int64) error
- func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context, ...) error
- func (c ControllerDashboardCardItem) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context, id int64, ...) error
- type ControllerDashboardTab
- func (c ControllerDashboardTab) DashboardTabServiceAddDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceAddDashboardTabParams) error
- func (c ControllerDashboardTab) DashboardTabServiceDeleteDashboardTab(ctx echo.Context, id int64) error
- func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabById(ctx echo.Context, id int64) error
- func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabList(ctx echo.Context, params stub.DashboardTabServiceGetDashboardTabListParams) error
- func (c ControllerDashboardTab) DashboardTabServiceImportDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceImportDashboardTabParams) error
- func (c ControllerDashboardTab) DashboardTabServiceUpdateDashboardTab(ctx echo.Context, id int64, _ stub.DashboardTabServiceUpdateDashboardTabParams) error
- type ControllerDeveloperTools
- func (c ControllerDeveloperTools) DeveloperToolsServiceCallAction(ctx echo.Context, _ stub.DeveloperToolsServiceCallActionParams) error
- func (c ControllerDeveloperTools) DeveloperToolsServiceCallTrigger(ctx echo.Context, _ stub.DeveloperToolsServiceCallTriggerParams) error
- func (c ControllerDeveloperTools) DeveloperToolsServiceEntitySetState(ctx echo.Context, _ stub.DeveloperToolsServiceEntitySetStateParams) error
- func (c ControllerDeveloperTools) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context, params stub.DeveloperToolsServiceGetEventBusStateListParams) error
- func (c ControllerDeveloperTools) DeveloperToolsServiceReloadEntity(ctx echo.Context, _ stub.DeveloperToolsServiceReloadEntityParams) error
- type ControllerEntity
- func (c ControllerEntity) EntityServiceAddEntity(ctx echo.Context, _ stub.EntityServiceAddEntityParams) error
- func (c ControllerEntity) EntityServiceDeleteEntity(ctx echo.Context, id string) error
- func (c ControllerEntity) EntityServiceDisabledEntity(ctx echo.Context, id string) error
- func (c ControllerEntity) EntityServiceEnabledEntity(ctx echo.Context, id string) error
- func (c ControllerEntity) EntityServiceGetEntity(ctx echo.Context, id string) error
- func (c ControllerEntity) EntityServiceGetEntityList(ctx echo.Context, params stub.EntityServiceGetEntityListParams) error
- func (c ControllerEntity) EntityServiceGetStatistic(ctx echo.Context) error
- func (c ControllerEntity) EntityServiceImportEntity(ctx echo.Context, _ stub.EntityServiceImportEntityParams) error
- func (c ControllerEntity) EntityServiceSearchEntity(ctx echo.Context, params stub.EntityServiceSearchEntityParams) error
- func (c ControllerEntity) EntityServiceUpdateEntity(ctx echo.Context, id string, _ stub.EntityServiceUpdateEntityParams) error
- type ControllerEntityStorage
- type ControllerImage
- func (c ControllerImage) ImageServiceAddImage(ctx echo.Context, _ stub.ImageServiceAddImageParams) error
- func (c ControllerImage) ImageServiceDeleteImageById(ctx echo.Context, id int64) error
- func (c ControllerImage) ImageServiceGetImageById(ctx echo.Context, id int64) error
- func (c ControllerImage) ImageServiceGetImageFilterList(ctx echo.Context) error
- func (c ControllerImage) ImageServiceGetImageList(ctx echo.Context, params stub.ImageServiceGetImageListParams) error
- func (c ControllerImage) ImageServiceGetImageListByDate(ctx echo.Context, request stub.ImageServiceGetImageListByDateParams) error
- func (c ControllerImage) ImageServiceUpdateImageById(ctx echo.Context, id int64, _ stub.ImageServiceUpdateImageByIdParams) error
- func (c ControllerImage) ImageServiceUploadImage(ctx echo.Context, _ stub.ImageServiceUploadImageParams) error
- type ControllerIndex
- type ControllerInteract
- type ControllerLogs
- type ControllerMedia
- func (c ControllerMedia) StreamHLSLLInit(ctx echo.Context) error
- func (c ControllerMedia) StreamHLSLLM3U8(ctx echo.Context) error
- func (c ControllerMedia) StreamHLSLLM4Fragment(ctx echo.Context) error
- func (c ControllerMedia) StreamHLSLLM4Segment(ctx echo.Context) error
- func (c ControllerMedia) StreamMSE(ctx echo.Context) error
- type ControllerMessageDelivery
- type ControllerMetric
- type ControllerMqtt
- func (c ControllerMqtt) MqttServiceGetClientById(ctx echo.Context, id string) error
- func (c ControllerMqtt) MqttServiceGetClientList(ctx echo.Context, params stub.MqttServiceGetClientListParams) error
- func (c ControllerMqtt) MqttServiceGetSubscriptionList(ctx echo.Context, params stub.MqttServiceGetSubscriptionListParams) error
- type ControllerPlugin
- func (c ControllerPlugin) PluginServiceDisablePlugin(ctx echo.Context, name string) error
- func (c ControllerPlugin) PluginServiceEnablePlugin(ctx echo.Context, name string) error
- func (c ControllerPlugin) PluginServiceGetPlugin(ctx echo.Context, name string) error
- func (c ControllerPlugin) PluginServiceGetPluginList(ctx echo.Context, params stub.PluginServiceGetPluginListParams) error
- func (c ControllerPlugin) PluginServiceGetPluginReadme(ctx echo.Context, name string, params stub.PluginServiceGetPluginReadmeParams) error
- func (c ControllerPlugin) PluginServiceRemovePlugin(ctx echo.Context, name string) error
- func (c ControllerPlugin) PluginServiceSearchPlugin(ctx echo.Context, params stub.PluginServiceSearchPluginParams) error
- func (c ControllerPlugin) PluginServiceUpdatePluginSettings(ctx echo.Context, name string, _ stub.PluginServiceUpdatePluginSettingsParams) error
- func (c ControllerPlugin) PluginServiceUploadPlugin(ctx echo.Context, params stub.PluginServiceUploadPluginParams) error
- type ControllerRole
- func (c ControllerRole) RoleServiceAddRole(ctx echo.Context, _ stub.RoleServiceAddRoleParams) error
- func (c ControllerRole) RoleServiceDeleteRoleByName(ctx echo.Context, name string) error
- func (c ControllerRole) RoleServiceGetRoleAccessList(ctx echo.Context, name string) error
- func (c ControllerRole) RoleServiceGetRoleByName(ctx echo.Context, name string) error
- func (c ControllerRole) RoleServiceGetRoleList(ctx echo.Context, params stub.RoleServiceGetRoleListParams) error
- func (c ControllerRole) RoleServiceSearchRoleByName(ctx echo.Context, params stub.RoleServiceSearchRoleByNameParams) error
- func (c ControllerRole) RoleServiceUpdateRoleAccessList(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleAccessListParams) error
- func (c ControllerRole) RoleServiceUpdateRoleByName(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleByNameParams) error
- type ControllerScript
- func (c ControllerScript) ScriptServiceAddScript(ctx echo.Context, _ stub.ScriptServiceAddScriptParams) error
- func (c ControllerScript) ScriptServiceCopyScriptById(ctx echo.Context, id int64) error
- func (c ControllerScript) ScriptServiceDeleteScriptById(ctx echo.Context, id int64) error
- func (c ControllerScript) ScriptServiceExecScriptById(ctx echo.Context, id int64) error
- func (c ControllerScript) ScriptServiceExecSrcScriptById(ctx echo.Context, _ stub.ScriptServiceExecSrcScriptByIdParams) error
- func (c ControllerScript) ScriptServiceGetCompiledScriptById(ctx echo.Context, id int64) error
- func (c ControllerScript) ScriptServiceGetScriptById(ctx echo.Context, id int64) error
- func (c ControllerScript) ScriptServiceGetScriptList(ctx echo.Context, params stub.ScriptServiceGetScriptListParams) error
- func (c ControllerScript) ScriptServiceGetStatistic(ctx echo.Context) error
- func (c ControllerScript) ScriptServiceSearchScript(ctx echo.Context, params stub.ScriptServiceSearchScriptParams) error
- func (c ControllerScript) ScriptServiceUpdateScriptById(ctx echo.Context, id int64, _ stub.ScriptServiceUpdateScriptByIdParams) error
- type ControllerStream
- type ControllerTag
- func (c ControllerTag) TagServiceDeleteTagById(ctx echo.Context, id int64) error
- func (c ControllerTag) TagServiceGetTagById(ctx echo.Context, id int64) error
- func (c ControllerTag) TagServiceGetTagList(ctx echo.Context, params stub.TagServiceGetTagListParams) error
- func (c ControllerTag) TagServiceSearchTag(ctx echo.Context, params stub.TagServiceSearchTagParams) error
- func (c ControllerTag) TagServiceUpdateTagById(ctx echo.Context, id int64, _ stub.TagServiceUpdateTagByIdParams) error
- type ControllerTrigger
- func (c ControllerTrigger) TriggerServiceAddTrigger(ctx echo.Context, _ stub.TriggerServiceAddTriggerParams) error
- func (c ControllerTrigger) TriggerServiceDeleteTrigger(ctx echo.Context, id int64) error
- func (c ControllerTrigger) TriggerServiceDisableTrigger(ctx echo.Context, id int64) error
- func (c ControllerTrigger) TriggerServiceEnableTrigger(ctx echo.Context, id int64) error
- func (c ControllerTrigger) TriggerServiceGetTriggerById(ctx echo.Context, id int64) error
- func (c ControllerTrigger) TriggerServiceGetTriggerList(ctx echo.Context, params stub.TriggerServiceGetTriggerListParams) error
- func (c ControllerTrigger) TriggerServiceSearchTrigger(ctx echo.Context, params stub.TriggerServiceSearchTriggerParams) error
- func (c ControllerTrigger) TriggerServiceUpdateTrigger(ctx echo.Context, id int64, _ stub.TriggerServiceUpdateTriggerParams) error
- type ControllerUser
- func (c ControllerUser) UserServiceAddUser(ctx echo.Context, _ stub.UserServiceAddUserParams) error
- func (c ControllerUser) UserServiceDeleteUserById(ctx echo.Context, id int64) error
- func (c ControllerUser) UserServiceGetUserById(ctx echo.Context, id int64) error
- func (c ControllerUser) UserServiceGetUserList(ctx echo.Context, params stub.UserServiceGetUserListParams) error
- func (c ControllerUser) UserServiceUpdateUserById(ctx echo.Context, id int64, _ stub.UserServiceUpdateUserByIdParams) error
- type ControllerVariable
- func (c ControllerVariable) VariableServiceAddVariable(ctx echo.Context, _ stub.VariableServiceAddVariableParams) error
- func (c ControllerVariable) VariableServiceDeleteVariable(ctx echo.Context, name string) error
- func (c ControllerVariable) VariableServiceGetVariableByName(ctx echo.Context, name string) error
- func (c ControllerVariable) VariableServiceGetVariableList(ctx echo.Context, params stub.VariableServiceGetVariableListParams) error
- func (c ControllerVariable) VariableServiceSearchVariable(ctx echo.Context, params stub.VariableServiceSearchVariableParams) error
- func (c ControllerVariable) VariableServiceUpdateVariable(ctx echo.Context, name string, _ stub.VariableServiceUpdateVariableParams) error
- type ControllerWebdav
- type ControllerWebhook
- type ControllerZigbee2mqtt
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context, _ stub.Zigbee2mqttServiceAddZigbee2mqttBridgeParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context, id int64) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceBan(ctx echo.Context, _ stub.Zigbee2mqttServiceDeviceBanParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceList(ctx echo.Context, id int64, params stub.Zigbee2mqttServiceDeviceListParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceRename(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceRenameParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceWhitelistParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetBridgeList(ctx echo.Context, params stub.Zigbee2mqttServiceGetBridgeListParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context, id int64) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceNetworkmap(ctx echo.Context, id int64) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceResetBridgeById(ctx echo.Context, id int64) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceSearchDevice(ctx echo.Context, params stub.Zigbee2mqttServiceSearchDeviceParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context, id int64, _ stub.Zigbee2mqttServiceUpdateBridgeByIdParams) error
- func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context, id int64) error
- type Controllers
- type Data
- type Error
- type ErrorBase
- type ErrorField
- type GenericMeta
- type Pagination
- type Success
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddlewareContextValue ¶
func NewMiddlewareContextValue(fn echo.HandlerFunc) echo.HandlerFunc
func ResponseWithObj ¶
func ResponseWithObj(ctx echo.Context, obj interface{}) interface{}
ResponseWithObj ...
Types ¶
type ControllerAction ¶
type ControllerAction struct {
*ControllerCommon
}
ControllerAction ...
func NewControllerAction ¶
func NewControllerAction(common *ControllerCommon) *ControllerAction
NewControllerAction ...
func (ControllerAction) ActionServiceAddAction ¶
func (c ControllerAction) ActionServiceAddAction(ctx echo.Context, _ stub.ActionServiceAddActionParams) error
AddAction ...
func (ControllerAction) ActionServiceDeleteAction ¶
func (c ControllerAction) ActionServiceDeleteAction(ctx echo.Context, id int64) error
DeleteAction ...
func (ControllerAction) ActionServiceGetActionById ¶
func (c ControllerAction) ActionServiceGetActionById(ctx echo.Context, id int64) error
GetActionById ...
func (ControllerAction) ActionServiceGetActionList ¶
func (c ControllerAction) ActionServiceGetActionList(ctx echo.Context, params stub.ActionServiceGetActionListParams) error
GetActionList ...
func (ControllerAction) ActionServiceSearchAction ¶
func (c ControllerAction) ActionServiceSearchAction(ctx echo.Context, params stub.ActionServiceSearchActionParams) error
SearchAction ...
func (ControllerAction) ActionServiceUpdateAction ¶
func (c ControllerAction) ActionServiceUpdateAction(ctx echo.Context, id int64, _ stub.ActionServiceUpdateActionParams) error
UpdateAction ...
type ControllerArea ¶
type ControllerArea struct {
*ControllerCommon
}
ControllerArea ...
func NewControllerArea ¶
func NewControllerArea(common *ControllerCommon) *ControllerArea
NewControllerArea ...
func (ControllerArea) AreaServiceAddArea ¶
func (c ControllerArea) AreaServiceAddArea(ctx echo.Context, _ stub.AreaServiceAddAreaParams) error
AddArea ...
func (ControllerArea) AreaServiceDeleteArea ¶
func (c ControllerArea) AreaServiceDeleteArea(ctx echo.Context, id int64) error
DeleteArea ...
func (ControllerArea) AreaServiceGetAreaById ¶
func (c ControllerArea) AreaServiceGetAreaById(ctx echo.Context, id int64) error
GetAreaById ...
func (ControllerArea) AreaServiceGetAreaList ¶
func (c ControllerArea) AreaServiceGetAreaList(ctx echo.Context, params stub.AreaServiceGetAreaListParams) error
GetAreaList ...
func (ControllerArea) AreaServiceSearchArea ¶
func (c ControllerArea) AreaServiceSearchArea(ctx echo.Context, params stub.AreaServiceSearchAreaParams) error
SearchArea ...
func (ControllerArea) AreaServiceUpdateArea ¶
func (c ControllerArea) AreaServiceUpdateArea(ctx echo.Context, id int64, _ stub.AreaServiceUpdateAreaParams) error
UpdateArea ...
type ControllerAuth ¶
type ControllerAuth struct {
*ControllerCommon
}
ControllerAuth ...
func NewControllerAuth ¶
func NewControllerAuth(common *ControllerCommon) *ControllerAuth
NewControllerAuth ...
func (ControllerAuth) AuthServiceAccessList ¶
func (c ControllerAuth) AuthServiceAccessList(ctx echo.Context) error
AccessList ...
func (ControllerAuth) AuthServicePasswordReset ¶
func (c ControllerAuth) AuthServicePasswordReset(ctx echo.Context, _ stub.AuthServicePasswordResetParams) error
PasswordReset ...
func (ControllerAuth) AuthServiceSignin ¶
func (c ControllerAuth) AuthServiceSignin(ctx echo.Context) error
Signin ...
func (ControllerAuth) AuthServiceSignout ¶
func (c ControllerAuth) AuthServiceSignout(ctx echo.Context) error
Signout ...
type ControllerAutomation ¶
type ControllerAutomation struct {
*ControllerCommon
}
ControllerAutomation ...
func NewControllerAutomation ¶
func NewControllerAutomation(common *ControllerCommon) *ControllerAutomation
NewControllerAutomation ...
func (ControllerAutomation) AutomationServiceAddTask ¶
func (c ControllerAutomation) AutomationServiceAddTask(ctx echo.Context, _ stub.AutomationServiceAddTaskParams) error
AddTask ...
func (ControllerAutomation) AutomationServiceDeleteTask ¶
func (c ControllerAutomation) AutomationServiceDeleteTask(ctx echo.Context, id int64) error
DeleteTask ...
func (ControllerAutomation) AutomationServiceDisableTask ¶
func (c ControllerAutomation) AutomationServiceDisableTask(ctx echo.Context, id int64) error
DisableTask ...
func (ControllerAutomation) AutomationServiceEnableTask ¶
func (c ControllerAutomation) AutomationServiceEnableTask(ctx echo.Context, id int64) error
EnableTask ...
func (ControllerAutomation) AutomationServiceGetStatistic ¶
func (c ControllerAutomation) AutomationServiceGetStatistic(ctx echo.Context) error
AutomationServiceGetStatistic ...
func (ControllerAutomation) AutomationServiceGetTask ¶
func (c ControllerAutomation) AutomationServiceGetTask(ctx echo.Context, id int64) error
GetTask ...
func (ControllerAutomation) AutomationServiceGetTaskList ¶
func (c ControllerAutomation) AutomationServiceGetTaskList(ctx echo.Context, params stub.AutomationServiceGetTaskListParams) error
GetTaskList ...
func (ControllerAutomation) AutomationServiceImportTask ¶
func (c ControllerAutomation) AutomationServiceImportTask(ctx echo.Context, _ stub.AutomationServiceImportTaskParams) error
ImportTask ...
func (ControllerAutomation) AutomationServiceUpdateTask ¶
func (c ControllerAutomation) AutomationServiceUpdateTask(ctx echo.Context, id int64, _ stub.AutomationServiceUpdateTaskParams) error
UpdateTask ...
type ControllerBackup ¶
type ControllerBackup struct {
*ControllerCommon
}
ControllerBackup ...
func NewControllerBackup ¶
func NewControllerBackup(common *ControllerCommon) *ControllerBackup
NewControllerBackup ...
func (ControllerBackup) BackupServiceApplyState ¶
func (c ControllerBackup) BackupServiceApplyState(ctx echo.Context, _ stub.BackupServiceApplyStateParams) error
BackupServiceApplyChanges ...
func (ControllerBackup) BackupServiceDeleteBackup ¶
func (c ControllerBackup) BackupServiceDeleteBackup(ctx echo.Context, name string) error
DeleteBackup ...
func (ControllerBackup) BackupServiceGetBackupList ¶
func (c ControllerBackup) BackupServiceGetBackupList(ctx echo.Context, params stub.BackupServiceGetBackupListParams) error
GetBackupList ...
func (ControllerBackup) BackupServiceNewBackup ¶
func (c ControllerBackup) BackupServiceNewBackup(ctx echo.Context, _ stub.BackupServiceNewBackupParams) error
NewBackup ...
func (ControllerBackup) BackupServiceRestoreBackup ¶
func (c ControllerBackup) BackupServiceRestoreBackup(ctx echo.Context, name string) error
RestoreBackup ...
func (ControllerBackup) BackupServiceRevertState ¶
func (c ControllerBackup) BackupServiceRevertState(ctx echo.Context, _ stub.BackupServiceRevertStateParams) error
BackupServiceRevertState ...
func (ControllerBackup) BackupServiceUploadBackup ¶
func (c ControllerBackup) BackupServiceUploadBackup(ctx echo.Context, _ stub.BackupServiceUploadBackupParams) error
BackupServiceMuxUploadBackup ...
type ControllerCommon ¶
type ControllerCommon struct {
// contains filtered or unexported fields
}
ControllerCommon ...
func NewControllerCommon ¶
func NewControllerCommon(endpoint *endpoint.Endpoint, accessList access_list.AccessListService, appConfig *models.AppConfig, validation *validation.Validate) *ControllerCommon
NewControllerCommon ...
func (ControllerCommon) Body ¶
func (c ControllerCommon) Body(ctx echo.Context, obj interface{}) error
func (ControllerCommon) ERROR ¶
func (c ControllerCommon) ERROR(ctx echo.Context, err error) error
ERROR ...
func (ControllerCommon) HTTP200 ¶
func (c ControllerCommon) HTTP200(ctx echo.Context, data interface{}) error
HTTP200 ...
func (ControllerCommon) HTTP201 ¶
func (c ControllerCommon) HTTP201(ctx echo.Context, data interface{}) error
HTTP201 ...
func (ControllerCommon) HTTP400 ¶
func (c ControllerCommon) HTTP400(ctx echo.Context, err error) error
HTTP400 ...
func (ControllerCommon) HTTP401 ¶
func (c ControllerCommon) HTTP401(ctx echo.Context, err error) error
HTTP401 ...
func (ControllerCommon) HTTP403 ¶
func (c ControllerCommon) HTTP403(ctx echo.Context, err error) error
HTTP403 ...
func (ControllerCommon) HTTP404 ¶
func (c ControllerCommon) HTTP404(ctx echo.Context, err error) error
HTTP404 ...
func (ControllerCommon) HTTP409 ¶
func (c ControllerCommon) HTTP409(ctx echo.Context, err error) error
HTTP409 ...
func (ControllerCommon) HTTP422 ¶
func (c ControllerCommon) HTTP422(ctx echo.Context, err error) error
HTTP422 ...
func (ControllerCommon) HTTP500 ¶
func (c ControllerCommon) HTTP500(ctx echo.Context, err error) error
HTTP500 ...
func (ControllerCommon) HTTP501 ¶
func (c ControllerCommon) HTTP501(ctx echo.Context, data interface{}) error
HTTP501 ...
func (ControllerCommon) Pagination ¶
func (c ControllerCommon) Pagination(page, limit *uint64, sort *string) (pagination common.PageParams)
Pagination ...
func (ControllerCommon) Search ¶
func (c ControllerCommon) Search(query *string, limit, offset *int64) (search common.SearchParams)
Search ...
type ControllerCondition ¶
type ControllerCondition struct {
*ControllerCommon
}
ControllerCondition ...
func NewControllerCondition ¶
func NewControllerCondition(common *ControllerCommon) *ControllerCondition
NewControllerCondition ...
func (ControllerCondition) ConditionServiceAddCondition ¶
func (c ControllerCondition) ConditionServiceAddCondition(ctx echo.Context, _ stub.ConditionServiceAddConditionParams) error
AddCondition ...
func (ControllerCondition) ConditionServiceDeleteCondition ¶
func (c ControllerCondition) ConditionServiceDeleteCondition(ctx echo.Context, id int64) error
DeleteCondition ...
func (ControllerCondition) ConditionServiceGetConditionById ¶
func (c ControllerCondition) ConditionServiceGetConditionById(ctx echo.Context, id int64, _ stub.ConditionServiceGetConditionByIdParams) error
GetConditionById ...
func (ControllerCondition) ConditionServiceGetConditionList ¶
func (c ControllerCondition) ConditionServiceGetConditionList(ctx echo.Context, params stub.ConditionServiceGetConditionListParams) error
GetConditionList ...
func (ControllerCondition) ConditionServiceSearchCondition ¶
func (c ControllerCondition) ConditionServiceSearchCondition(ctx echo.Context, params stub.ConditionServiceSearchConditionParams) error
SearchCondition ...
func (ControllerCondition) ConditionServiceUpdateCondition ¶
func (c ControllerCondition) ConditionServiceUpdateCondition(ctx echo.Context, id int64, _ stub.ConditionServiceUpdateConditionParams) error
UpdateCondition ...
type ControllerDashboard ¶
type ControllerDashboard struct {
*ControllerCommon
}
ControllerDashboard ...
func NewControllerDashboard ¶
func NewControllerDashboard(common *ControllerCommon) *ControllerDashboard
NewControllerDashboard ...
func (ControllerDashboard) DashboardServiceAddDashboard ¶
func (c ControllerDashboard) DashboardServiceAddDashboard(ctx echo.Context, _ stub.DashboardServiceAddDashboardParams) error
AddDashboard ...
func (ControllerDashboard) DashboardServiceDeleteDashboard ¶
func (c ControllerDashboard) DashboardServiceDeleteDashboard(ctx echo.Context, id int64) error
DeleteDashboard ...
func (ControllerDashboard) DashboardServiceGetDashboardById ¶
func (c ControllerDashboard) DashboardServiceGetDashboardById(ctx echo.Context, id int64) error
GetDashboardById ...
func (ControllerDashboard) DashboardServiceGetDashboardList ¶
func (c ControllerDashboard) DashboardServiceGetDashboardList(ctx echo.Context, params stub.DashboardServiceGetDashboardListParams) error
GetDashboardList ...
func (ControllerDashboard) DashboardServiceImportDashboard ¶
func (c ControllerDashboard) DashboardServiceImportDashboard(ctx echo.Context, _ stub.DashboardServiceImportDashboardParams) error
ImportDashboard ...
func (ControllerDashboard) DashboardServiceSearchDashboard ¶
func (c ControllerDashboard) DashboardServiceSearchDashboard(ctx echo.Context, params stub.DashboardServiceSearchDashboardParams) error
SearchDashboard ...
func (ControllerDashboard) DashboardServiceUpdateDashboard ¶
func (c ControllerDashboard) DashboardServiceUpdateDashboard(ctx echo.Context, id int64, _ stub.DashboardServiceUpdateDashboardParams) error
UpdateDashboard ...
type ControllerDashboardCard ¶
type ControllerDashboardCard struct {
*ControllerCommon
}
ControllerDashboardCard ...
func NewControllerDashboardCard ¶
func NewControllerDashboardCard(common *ControllerCommon) *ControllerDashboardCard
NewControllerDashboardCard ...
func (ControllerDashboardCard) DashboardCardServiceAddDashboardCard ¶
func (c ControllerDashboardCard) DashboardCardServiceAddDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceAddDashboardCardParams) error
AddDashboardCard ...
func (ControllerDashboardCard) DashboardCardServiceDeleteDashboardCard ¶
func (c ControllerDashboardCard) DashboardCardServiceDeleteDashboardCard(ctx echo.Context, id int64) error
DeleteDashboardCard ...
func (ControllerDashboardCard) DashboardCardServiceGetDashboardCardById ¶
func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardById(ctx echo.Context, id int64) error
GetDashboardCardById ...
func (ControllerDashboardCard) DashboardCardServiceGetDashboardCardList ¶
func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardList(ctx echo.Context, params stub.DashboardCardServiceGetDashboardCardListParams) error
GetDashboardCardList ...
func (ControllerDashboardCard) DashboardCardServiceImportDashboardCard ¶
func (c ControllerDashboardCard) DashboardCardServiceImportDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceImportDashboardCardParams) error
ImportDashboardCard ...
func (ControllerDashboardCard) DashboardCardServiceUpdateDashboardCard ¶
func (c ControllerDashboardCard) DashboardCardServiceUpdateDashboardCard(ctx echo.Context, id int64, _ stub.DashboardCardServiceUpdateDashboardCardParams) error
UpdateDashboardCard ...
type ControllerDashboardCardItem ¶
type ControllerDashboardCardItem struct {
*ControllerCommon
}
ControllerDashboardCardItem ...
func NewControllerDashboardCardItem ¶
func NewControllerDashboardCardItem(common *ControllerCommon) *ControllerDashboardCardItem
NewControllerDashboardCardItem ...
func (ControllerDashboardCardItem) DashboardCardItemServiceAddDashboardCardItem ¶
func (c ControllerDashboardCardItem) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context, _ stub.DashboardCardItemServiceAddDashboardCardItemParams) error
AddDashboardCardItem ...
func (ControllerDashboardCardItem) DashboardCardItemServiceDeleteDashboardCardItem ¶
func (c ControllerDashboardCardItem) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context, id int64) error
DeleteDashboardCardItem ...
func (ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemById ¶
func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context, id int64) error
GetDashboardCardItemById ...
func (ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemList ¶
func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context, params stub.DashboardCardItemServiceGetDashboardCardItemListParams) error
GetDashboardCardItemList ...
func (ControllerDashboardCardItem) DashboardCardItemServiceUpdateDashboardCardItem ¶
func (c ControllerDashboardCardItem) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context, id int64, _ stub.DashboardCardItemServiceUpdateDashboardCardItemParams) error
UpdateDashboardCardItem ...
type ControllerDashboardTab ¶
type ControllerDashboardTab struct {
*ControllerCommon
}
ControllerDashboardTab ...
func NewControllerDashboardTab ¶
func NewControllerDashboardTab(common *ControllerCommon) *ControllerDashboardTab
NewControllerDashboardTab ...
func (ControllerDashboardTab) DashboardTabServiceAddDashboardTab ¶
func (c ControllerDashboardTab) DashboardTabServiceAddDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceAddDashboardTabParams) error
AddDashboardTab ...
func (ControllerDashboardTab) DashboardTabServiceDeleteDashboardTab ¶
func (c ControllerDashboardTab) DashboardTabServiceDeleteDashboardTab(ctx echo.Context, id int64) error
DeleteDashboardTab ...
func (ControllerDashboardTab) DashboardTabServiceGetDashboardTabById ¶
func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabById(ctx echo.Context, id int64) error
GetDashboardTabById ...
func (ControllerDashboardTab) DashboardTabServiceGetDashboardTabList ¶
func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabList(ctx echo.Context, params stub.DashboardTabServiceGetDashboardTabListParams) error
GetDashboardTabList ...
func (ControllerDashboardTab) DashboardTabServiceImportDashboardTab ¶
func (c ControllerDashboardTab) DashboardTabServiceImportDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceImportDashboardTabParams) error
DashboardTabServiceImportDashboardTab ...
func (ControllerDashboardTab) DashboardTabServiceUpdateDashboardTab ¶
func (c ControllerDashboardTab) DashboardTabServiceUpdateDashboardTab(ctx echo.Context, id int64, _ stub.DashboardTabServiceUpdateDashboardTabParams) error
UpdateDashboardTab ...
type ControllerDeveloperTools ¶
type ControllerDeveloperTools struct {
*ControllerCommon
}
ControllerDeveloperTools ...
func NewControllerDeveloperTools ¶
func NewControllerDeveloperTools(common *ControllerCommon) *ControllerDeveloperTools
NewControllerDeveloperTools ...
func (ControllerDeveloperTools) DeveloperToolsServiceCallAction ¶
func (c ControllerDeveloperTools) DeveloperToolsServiceCallAction(ctx echo.Context, _ stub.DeveloperToolsServiceCallActionParams) error
CallAction ...
func (ControllerDeveloperTools) DeveloperToolsServiceCallTrigger ¶
func (c ControllerDeveloperTools) DeveloperToolsServiceCallTrigger(ctx echo.Context, _ stub.DeveloperToolsServiceCallTriggerParams) error
CallTrigger ...
func (ControllerDeveloperTools) DeveloperToolsServiceEntitySetState ¶
func (c ControllerDeveloperTools) DeveloperToolsServiceEntitySetState(ctx echo.Context, _ stub.DeveloperToolsServiceEntitySetStateParams) error
EntitySetStateName ...
func (ControllerDeveloperTools) DeveloperToolsServiceGetEventBusStateList ¶
func (c ControllerDeveloperTools) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context, params stub.DeveloperToolsServiceGetEventBusStateListParams) error
GetEventBusStateList ...
func (ControllerDeveloperTools) DeveloperToolsServiceReloadEntity ¶
func (c ControllerDeveloperTools) DeveloperToolsServiceReloadEntity(ctx echo.Context, _ stub.DeveloperToolsServiceReloadEntityParams) error
ReloadEntity ...
type ControllerEntity ¶
type ControllerEntity struct {
*ControllerCommon
}
ControllerEntity ...
func NewControllerEntity ¶
func NewControllerEntity(common *ControllerCommon) *ControllerEntity
NewControllerEntity ...
func (ControllerEntity) EntityServiceAddEntity ¶
func (c ControllerEntity) EntityServiceAddEntity(ctx echo.Context, _ stub.EntityServiceAddEntityParams) error
AddEntity ...
func (ControllerEntity) EntityServiceDeleteEntity ¶
func (c ControllerEntity) EntityServiceDeleteEntity(ctx echo.Context, id string) error
DeleteEntity ...
func (ControllerEntity) EntityServiceDisabledEntity ¶
func (c ControllerEntity) EntityServiceDisabledEntity(ctx echo.Context, id string) error
func (ControllerEntity) EntityServiceEnabledEntity ¶
func (c ControllerEntity) EntityServiceEnabledEntity(ctx echo.Context, id string) error
func (ControllerEntity) EntityServiceGetEntity ¶
func (c ControllerEntity) EntityServiceGetEntity(ctx echo.Context, id string) error
GetEntity ...
func (ControllerEntity) EntityServiceGetEntityList ¶
func (c ControllerEntity) EntityServiceGetEntityList(ctx echo.Context, params stub.EntityServiceGetEntityListParams) error
GetEntityList ...
func (ControllerEntity) EntityServiceGetStatistic ¶
func (c ControllerEntity) EntityServiceGetStatistic(ctx echo.Context) error
GetStatistic ...
func (ControllerEntity) EntityServiceImportEntity ¶
func (c ControllerEntity) EntityServiceImportEntity(ctx echo.Context, _ stub.EntityServiceImportEntityParams) error
ImportEntity ...
func (ControllerEntity) EntityServiceSearchEntity ¶
func (c ControllerEntity) EntityServiceSearchEntity(ctx echo.Context, params stub.EntityServiceSearchEntityParams) error
SearchEntity ...
func (ControllerEntity) EntityServiceUpdateEntity ¶
func (c ControllerEntity) EntityServiceUpdateEntity(ctx echo.Context, id string, _ stub.EntityServiceUpdateEntityParams) error
UpdateEntity ...
type ControllerEntityStorage ¶
type ControllerEntityStorage struct {
*ControllerCommon
}
ControllerEntityStorage ...
func NewControllerEntityStorage ¶
func NewControllerEntityStorage(common *ControllerCommon) *ControllerEntityStorage
NewControllerEntityStorage ...
func (ControllerEntityStorage) EntityStorageServiceGetEntityStorageList ¶
func (c ControllerEntityStorage) EntityStorageServiceGetEntityStorageList(ctx echo.Context, params stub.EntityStorageServiceGetEntityStorageListParams) error
GetEntityStorageList ...
type ControllerImage ¶
type ControllerImage struct {
*ControllerCommon
}
ControllerImage ...
func NewControllerImage ¶
func NewControllerImage(common *ControllerCommon) *ControllerImage
NewControllerImage ...
func (ControllerImage) ImageServiceAddImage ¶
func (c ControllerImage) ImageServiceAddImage(ctx echo.Context, _ stub.ImageServiceAddImageParams) error
AddImage ...
func (ControllerImage) ImageServiceDeleteImageById ¶
func (c ControllerImage) ImageServiceDeleteImageById(ctx echo.Context, id int64) error
DeleteImageById ...
func (ControllerImage) ImageServiceGetImageById ¶
func (c ControllerImage) ImageServiceGetImageById(ctx echo.Context, id int64) error
GetImageById ...
func (ControllerImage) ImageServiceGetImageFilterList ¶
func (c ControllerImage) ImageServiceGetImageFilterList(ctx echo.Context) error
GetImageFilterList ...
func (ControllerImage) ImageServiceGetImageList ¶
func (c ControllerImage) ImageServiceGetImageList(ctx echo.Context, params stub.ImageServiceGetImageListParams) error
GetImageList ...
func (ControllerImage) ImageServiceGetImageListByDate ¶
func (c ControllerImage) ImageServiceGetImageListByDate(ctx echo.Context, request stub.ImageServiceGetImageListByDateParams) error
GetImageListByDate ...
func (ControllerImage) ImageServiceUpdateImageById ¶
func (c ControllerImage) ImageServiceUpdateImageById(ctx echo.Context, id int64, _ stub.ImageServiceUpdateImageByIdParams) error
UpdateImageById ...
func (ControllerImage) ImageServiceUploadImage ¶
func (c ControllerImage) ImageServiceUploadImage(ctx echo.Context, _ stub.ImageServiceUploadImageParams) error
MuxUploadImage ...
type ControllerIndex ¶
type ControllerIndex struct {
*ControllerCommon
}
ControllerIndex ...
func NewControllerIndex ¶
func NewControllerIndex(common *ControllerCommon) *ControllerIndex
NewControllerIndex ...
type ControllerInteract ¶
type ControllerInteract struct {
*ControllerCommon
}
ControllerInteract ...
func NewControllerInteract ¶
func NewControllerInteract(common *ControllerCommon) *ControllerInteract
NewControllerInteract ...
func (ControllerInteract) InteractServiceEntityCallAction ¶
func (c ControllerInteract) InteractServiceEntityCallAction(ctx echo.Context, _ stub.InteractServiceEntityCallActionParams) error
type ControllerLogs ¶
type ControllerLogs struct {
*ControllerCommon
}
ControllerLogs ...
func NewControllerLogs ¶
func NewControllerLogs(common *ControllerCommon) *ControllerLogs
NewControllerLogs ...
func (ControllerLogs) LogServiceGetLogList ¶
func (c ControllerLogs) LogServiceGetLogList(ctx echo.Context, params stub.LogServiceGetLogListParams) error
GetLogList ...
type ControllerMedia ¶
type ControllerMedia struct {
*ControllerCommon
}
ControllerMedia ...
func NewControllerMedia ¶
func NewControllerMedia(common *ControllerCommon) *ControllerMedia
NewControllerMedia ...
func (ControllerMedia) StreamHLSLLInit ¶
func (c ControllerMedia) StreamHLSLLInit(ctx echo.Context) error
func (ControllerMedia) StreamHLSLLM3U8 ¶
func (c ControllerMedia) StreamHLSLLM3U8(ctx echo.Context) error
func (ControllerMedia) StreamHLSLLM4Fragment ¶
func (c ControllerMedia) StreamHLSLLM4Fragment(ctx echo.Context) error
func (ControllerMedia) StreamHLSLLM4Segment ¶
func (c ControllerMedia) StreamHLSLLM4Segment(ctx echo.Context) error
func (ControllerMedia) StreamMSE ¶
func (c ControllerMedia) StreamMSE(ctx echo.Context) error
type ControllerMessageDelivery ¶
type ControllerMessageDelivery struct {
*ControllerCommon
}
ControllerMessageDelivery ...
func NewControllerMessageDelivery ¶
func NewControllerMessageDelivery(common *ControllerCommon) *ControllerMessageDelivery
func (ControllerMessageDelivery) MessageDeliveryServiceGetMessageDeliveryList ¶
func (c ControllerMessageDelivery) MessageDeliveryServiceGetMessageDeliveryList(ctx echo.Context, params stub.MessageDeliveryServiceGetMessageDeliveryListParams) error
GetMessageDeliveryList ...
type ControllerMetric ¶
type ControllerMetric struct {
*ControllerCommon
}
ControllerMetric ...
func NewControllerMetric ¶
func NewControllerMetric(common *ControllerCommon) *ControllerMetric
NewControllerMetric ...
func (ControllerMetric) MetricServiceGetMetric ¶
func (c ControllerMetric) MetricServiceGetMetric(ctx echo.Context, params stub.MetricServiceGetMetricParams) error
MetricServiceGetMetric ...
type ControllerMqtt ¶
type ControllerMqtt struct {
*ControllerCommon
}
ControllerMqtt ...
func NewControllerMqtt ¶
func NewControllerMqtt(common *ControllerCommon) *ControllerMqtt
NewControllerMqtt ...
func (ControllerMqtt) MqttServiceGetClientById ¶
func (c ControllerMqtt) MqttServiceGetClientById(ctx echo.Context, id string) error
GetClientById ...
func (ControllerMqtt) MqttServiceGetClientList ¶
func (c ControllerMqtt) MqttServiceGetClientList(ctx echo.Context, params stub.MqttServiceGetClientListParams) error
GetClientList ...
func (ControllerMqtt) MqttServiceGetSubscriptionList ¶
func (c ControllerMqtt) MqttServiceGetSubscriptionList(ctx echo.Context, params stub.MqttServiceGetSubscriptionListParams) error
GetSubscriptionList ...
type ControllerPlugin ¶
type ControllerPlugin struct {
*ControllerCommon
}
ControllerPlugin ...
func NewControllerPlugin ¶
func NewControllerPlugin(common *ControllerCommon) *ControllerPlugin
NewControllerPlugin ...
func (ControllerPlugin) PluginServiceDisablePlugin ¶
func (c ControllerPlugin) PluginServiceDisablePlugin(ctx echo.Context, name string) error
DisablePlugin ...
func (ControllerPlugin) PluginServiceEnablePlugin ¶
func (c ControllerPlugin) PluginServiceEnablePlugin(ctx echo.Context, name string) error
EnablePlugin ...
func (ControllerPlugin) PluginServiceGetPlugin ¶
func (c ControllerPlugin) PluginServiceGetPlugin(ctx echo.Context, name string) error
GetPlugin ...
func (ControllerPlugin) PluginServiceGetPluginList ¶
func (c ControllerPlugin) PluginServiceGetPluginList(ctx echo.Context, params stub.PluginServiceGetPluginListParams) error
GetPluginList ...
func (ControllerPlugin) PluginServiceGetPluginReadme ¶
func (c ControllerPlugin) PluginServiceGetPluginReadme(ctx echo.Context, name string, params stub.PluginServiceGetPluginReadmeParams) error
PluginServiceGetPluginReadme ...
func (ControllerPlugin) PluginServiceRemovePlugin ¶
func (c ControllerPlugin) PluginServiceRemovePlugin(ctx echo.Context, name string) error
RemovePlugin ...
func (ControllerPlugin) PluginServiceSearchPlugin ¶
func (c ControllerPlugin) PluginServiceSearchPlugin(ctx echo.Context, params stub.PluginServiceSearchPluginParams) error
SearchPlugin ...
func (ControllerPlugin) PluginServiceUpdatePluginSettings ¶
func (c ControllerPlugin) PluginServiceUpdatePluginSettings(ctx echo.Context, name string, _ stub.PluginServiceUpdatePluginSettingsParams) error
UpdatePluginSettings ...
func (ControllerPlugin) PluginServiceUploadPlugin ¶
func (c ControllerPlugin) PluginServiceUploadPlugin(ctx echo.Context, params stub.PluginServiceUploadPluginParams) error
Upload plugin ...
type ControllerRole ¶
type ControllerRole struct {
*ControllerCommon
}
ControllerRole ...
func NewControllerRole ¶
func NewControllerRole(common *ControllerCommon) *ControllerRole
NewControllerRole ...
func (ControllerRole) RoleServiceAddRole ¶
func (c ControllerRole) RoleServiceAddRole(ctx echo.Context, _ stub.RoleServiceAddRoleParams) error
AddRole ...
func (ControllerRole) RoleServiceDeleteRoleByName ¶
func (c ControllerRole) RoleServiceDeleteRoleByName(ctx echo.Context, name string) error
DeleteRoleByName ...
func (ControllerRole) RoleServiceGetRoleAccessList ¶
func (c ControllerRole) RoleServiceGetRoleAccessList(ctx echo.Context, name string) error
GetRoleAccessList ...
func (ControllerRole) RoleServiceGetRoleByName ¶
func (c ControllerRole) RoleServiceGetRoleByName(ctx echo.Context, name string) error
GetRoleByName ...
func (ControllerRole) RoleServiceGetRoleList ¶
func (c ControllerRole) RoleServiceGetRoleList(ctx echo.Context, params stub.RoleServiceGetRoleListParams) error
GetRoleList ...
func (ControllerRole) RoleServiceSearchRoleByName ¶
func (c ControllerRole) RoleServiceSearchRoleByName(ctx echo.Context, params stub.RoleServiceSearchRoleByNameParams) error
SearchRoleByName ...
func (ControllerRole) RoleServiceUpdateRoleAccessList ¶
func (c ControllerRole) RoleServiceUpdateRoleAccessList(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleAccessListParams) error
UpdateRoleAccessList ...
func (ControllerRole) RoleServiceUpdateRoleByName ¶
func (c ControllerRole) RoleServiceUpdateRoleByName(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleByNameParams) error
UpdateRoleByName ...
type ControllerScript ¶
type ControllerScript struct {
*ControllerCommon
}
ControllerScript ...
func NewControllerScript ¶
func NewControllerScript(common *ControllerCommon) *ControllerScript
NewControllerScript ...
func (ControllerScript) ScriptServiceAddScript ¶
func (c ControllerScript) ScriptServiceAddScript(ctx echo.Context, _ stub.ScriptServiceAddScriptParams) error
AddScript ...
func (ControllerScript) ScriptServiceCopyScriptById ¶
func (c ControllerScript) ScriptServiceCopyScriptById(ctx echo.Context, id int64) error
CopyScriptById ...
func (ControllerScript) ScriptServiceDeleteScriptById ¶
func (c ControllerScript) ScriptServiceDeleteScriptById(ctx echo.Context, id int64) error
DeleteScriptById ...
func (ControllerScript) ScriptServiceExecScriptById ¶
func (c ControllerScript) ScriptServiceExecScriptById(ctx echo.Context, id int64) error
ExecScriptById ...
func (ControllerScript) ScriptServiceExecSrcScriptById ¶
func (c ControllerScript) ScriptServiceExecSrcScriptById(ctx echo.Context, _ stub.ScriptServiceExecSrcScriptByIdParams) error
ExecSrcScriptById ...
func (ControllerScript) ScriptServiceGetCompiledScriptById ¶
func (c ControllerScript) ScriptServiceGetCompiledScriptById(ctx echo.Context, id int64) error
ScriptServiceGetCompiledScriptById ...
func (ControllerScript) ScriptServiceGetScriptById ¶
func (c ControllerScript) ScriptServiceGetScriptById(ctx echo.Context, id int64) error
GetScriptById ...
func (ControllerScript) ScriptServiceGetScriptList ¶
func (c ControllerScript) ScriptServiceGetScriptList(ctx echo.Context, params stub.ScriptServiceGetScriptListParams) error
GetScriptList ...
func (ControllerScript) ScriptServiceGetStatistic ¶
func (c ControllerScript) ScriptServiceGetStatistic(ctx echo.Context) error
GetStatistic ...
func (ControllerScript) ScriptServiceSearchScript ¶
func (c ControllerScript) ScriptServiceSearchScript(ctx echo.Context, params stub.ScriptServiceSearchScriptParams) error
SearchScript ...
func (ControllerScript) ScriptServiceUpdateScriptById ¶
func (c ControllerScript) ScriptServiceUpdateScriptById(ctx echo.Context, id int64, _ stub.ScriptServiceUpdateScriptByIdParams) error
UpdateScriptById ...
type ControllerStream ¶
type ControllerStream struct {
*ControllerCommon
}
ControllerStream ...
func NewControllerStream ¶
func NewControllerStream(common *ControllerCommon) *ControllerStream
NewControllerStream ...
func (ControllerStream) StreamServiceSubscribe ¶
func (c ControllerStream) StreamServiceSubscribe(ctx echo.Context) error
StreamServiceSubscribe ...
type ControllerTag ¶
type ControllerTag struct {
*ControllerCommon
}
ControllerTag ...
func NewControllerTag ¶
func NewControllerTag(common *ControllerCommon) *ControllerTag
NewControllerTag ...
func (ControllerTag) TagServiceDeleteTagById ¶
func (c ControllerTag) TagServiceDeleteTagById(ctx echo.Context, id int64) error
TagServiceDeleteTagById ...
func (ControllerTag) TagServiceGetTagById ¶
func (c ControllerTag) TagServiceGetTagById(ctx echo.Context, id int64) error
TagServiceGetTagById ...
func (ControllerTag) TagServiceGetTagList ¶
func (c ControllerTag) TagServiceGetTagList(ctx echo.Context, params stub.TagServiceGetTagListParams) error
TagServiceGetTagList ...
func (ControllerTag) TagServiceSearchTag ¶
func (c ControllerTag) TagServiceSearchTag(ctx echo.Context, params stub.TagServiceSearchTagParams) error
TagServiceSearchTag ...
func (ControllerTag) TagServiceUpdateTagById ¶
func (c ControllerTag) TagServiceUpdateTagById(ctx echo.Context, id int64, _ stub.TagServiceUpdateTagByIdParams) error
TagServiceUpdateTagById ...
type ControllerTrigger ¶
type ControllerTrigger struct {
*ControllerCommon
}
ControllerTrigger ...
func NewControllerTrigger ¶
func NewControllerTrigger(common *ControllerCommon) *ControllerTrigger
NewControllerTrigger ...
func (ControllerTrigger) TriggerServiceAddTrigger ¶
func (c ControllerTrigger) TriggerServiceAddTrigger(ctx echo.Context, _ stub.TriggerServiceAddTriggerParams) error
AddTrigger ...
func (ControllerTrigger) TriggerServiceDeleteTrigger ¶
func (c ControllerTrigger) TriggerServiceDeleteTrigger(ctx echo.Context, id int64) error
DeleteTrigger ...
func (ControllerTrigger) TriggerServiceDisableTrigger ¶
func (c ControllerTrigger) TriggerServiceDisableTrigger(ctx echo.Context, id int64) error
DisableTrigger ...
func (ControllerTrigger) TriggerServiceEnableTrigger ¶
func (c ControllerTrigger) TriggerServiceEnableTrigger(ctx echo.Context, id int64) error
EnableTrigger ...
func (ControllerTrigger) TriggerServiceGetTriggerById ¶
func (c ControllerTrigger) TriggerServiceGetTriggerById(ctx echo.Context, id int64) error
GetTriggerById ...
func (ControllerTrigger) TriggerServiceGetTriggerList ¶
func (c ControllerTrigger) TriggerServiceGetTriggerList(ctx echo.Context, params stub.TriggerServiceGetTriggerListParams) error
GetTriggerList ...
func (ControllerTrigger) TriggerServiceSearchTrigger ¶
func (c ControllerTrigger) TriggerServiceSearchTrigger(ctx echo.Context, params stub.TriggerServiceSearchTriggerParams) error
SearchTrigger ...
func (ControllerTrigger) TriggerServiceUpdateTrigger ¶
func (c ControllerTrigger) TriggerServiceUpdateTrigger(ctx echo.Context, id int64, _ stub.TriggerServiceUpdateTriggerParams) error
UpdateTrigger ...
type ControllerUser ¶
type ControllerUser struct {
*ControllerCommon
}
ControllerUser ...
func NewControllerUser ¶
func NewControllerUser(common *ControllerCommon) *ControllerUser
NewControllerUser ...
func (ControllerUser) UserServiceAddUser ¶
func (c ControllerUser) UserServiceAddUser(ctx echo.Context, _ stub.UserServiceAddUserParams) error
AddUser ...
func (ControllerUser) UserServiceDeleteUserById ¶
func (c ControllerUser) UserServiceDeleteUserById(ctx echo.Context, id int64) error
DeleteUserById ...
func (ControllerUser) UserServiceGetUserById ¶
func (c ControllerUser) UserServiceGetUserById(ctx echo.Context, id int64) error
GetUserById ...
func (ControllerUser) UserServiceGetUserList ¶
func (c ControllerUser) UserServiceGetUserList(ctx echo.Context, params stub.UserServiceGetUserListParams) error
GetUserList ...
func (ControllerUser) UserServiceUpdateUserById ¶
func (c ControllerUser) UserServiceUpdateUserById(ctx echo.Context, id int64, _ stub.UserServiceUpdateUserByIdParams) error
UpdateUserById ...
type ControllerVariable ¶
type ControllerVariable struct {
*ControllerCommon
}
ControllerVariable ...
func NewControllerVariable ¶
func NewControllerVariable(common *ControllerCommon) *ControllerVariable
NewControllerVariable ...
func (ControllerVariable) VariableServiceAddVariable ¶
func (c ControllerVariable) VariableServiceAddVariable(ctx echo.Context, _ stub.VariableServiceAddVariableParams) error
AddVariable ...
func (ControllerVariable) VariableServiceDeleteVariable ¶
func (c ControllerVariable) VariableServiceDeleteVariable(ctx echo.Context, name string) error
DeleteVariable ...
func (ControllerVariable) VariableServiceGetVariableByName ¶
func (c ControllerVariable) VariableServiceGetVariableByName(ctx echo.Context, name string) error
GetVariableByName ...
func (ControllerVariable) VariableServiceGetVariableList ¶
func (c ControllerVariable) VariableServiceGetVariableList(ctx echo.Context, params stub.VariableServiceGetVariableListParams) error
GetVariableList ...
func (ControllerVariable) VariableServiceSearchVariable ¶
func (c ControllerVariable) VariableServiceSearchVariable(ctx echo.Context, params stub.VariableServiceSearchVariableParams) error
SearchVariable ...
func (ControllerVariable) VariableServiceUpdateVariable ¶
func (c ControllerVariable) VariableServiceUpdateVariable(ctx echo.Context, name string, _ stub.VariableServiceUpdateVariableParams) error
UpdateVariable ...
type ControllerWebdav ¶
type ControllerWebdav struct {
*ControllerCommon
}
ControllerWebdav ...
func NewControllerWebdav ¶
func NewControllerWebdav(common *ControllerCommon) *ControllerWebdav
NewControllerWebdav ...
func (ControllerWebdav) Webdav ¶
func (c ControllerWebdav) Webdav(w http.ResponseWriter, r *http.Request) error
Webdav ...
type ControllerWebhook ¶
type ControllerWebhook struct {
*ControllerCommon
}
ControllerWebhook ...
func NewControllerWebhook ¶
func NewControllerWebhook(common *ControllerCommon) *ControllerWebhook
NewControllerWebhook ...
func (ControllerWebhook) Webhook ¶
func (c ControllerWebhook) Webhook(w http.ResponseWriter, r *http.Request) error
Webhook ...
type ControllerZigbee2mqtt ¶
type ControllerZigbee2mqtt struct {
*ControllerCommon
}
ControllerZigbee2mqtt ...
func NewControllerZigbee2mqtt ¶
func NewControllerZigbee2mqtt(common *ControllerCommon) *ControllerZigbee2mqtt
NewControllerZigbee2mqtt ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceAddZigbee2mqttBridge ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context, _ stub.Zigbee2mqttServiceAddZigbee2mqttBridgeParams) error
AddZigbee2MqttBridge ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeleteBridgeById ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context, id int64) error
DeleteBridgeById ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceBan ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceBan(ctx echo.Context, _ stub.Zigbee2mqttServiceDeviceBanParams) error
DeviceBan ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceList ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceList(ctx echo.Context, id int64, params stub.Zigbee2mqttServiceDeviceListParams) error
DeviceList ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceRename ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceRename(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceRenameParams) error
DeviceRename ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceWhitelist ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceWhitelistParams) error
DeviceWhitelist ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceGetBridgeList ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetBridgeList(ctx echo.Context, params stub.Zigbee2mqttServiceGetBridgeListParams) error
GetBridgeList ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceGetZigbee2mqttBridge ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context, id int64) error
GetZigbee2MqttBridge ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceNetworkmap ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceNetworkmap(ctx echo.Context, id int64) error
Networkmap ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceResetBridgeById ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceResetBridgeById(ctx echo.Context, id int64) error
ResetBridgeById ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceSearchDevice ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceSearchDevice(ctx echo.Context, params stub.Zigbee2mqttServiceSearchDeviceParams) error
SearchDevice ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateBridgeById ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context, id int64, _ stub.Zigbee2mqttServiceUpdateBridgeByIdParams) error
UpdateBridgeById ...
func (ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateNetworkmap ¶
func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context, id int64) error
UpdateNetworkmap ...
type Controllers ¶
type Controllers struct { *ControllerAuth *ControllerStream *ControllerUser *ControllerRole *ControllerScript *ControllerTag *ControllerImage *ControllerPlugin *ControllerZigbee2mqtt *ControllerEntity *ControllerAction *ControllerCondition *ControllerTrigger *ControllerAutomation *ControllerArea *ControllerDeveloperTools *ControllerInteract *ControllerLogs *ControllerDashboard *ControllerDashboardCardItem *ControllerDashboardCard *ControllerDashboardTab *ControllerVariable *ControllerEntityStorage *ControllerMetric *ControllerBackup *ControllerMessageDelivery *ControllerIndex *ControllerMqtt *ControllerMedia *ControllerWebdav *ControllerWebhook }
Controllers ...
func NewControllers ¶
func NewControllers( accessList access_list.AccessListService, endpoint *endpoint.Endpoint, _ *handlers.EventHandler, appConfig *m.AppConfig, validation *validation.Validate) *Controllers
NewControllers ...
type Error ¶
type Error struct { Error *ErrorBase `json:"error,omitempty"` Meta *GenericMeta `json:"meta,omitempty"` }
Error ...
func ResponseWithError ¶
type ErrorBase ¶
type ErrorBase struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Fields []ErrorField `json:"fields,omitempty"` }
ErrorBase ...
type ErrorField ¶
type ErrorField struct { Name *string `json:"name,omitempty"` Message *string `json:"message,omitempty"` }
ErrorField ...
type GenericMeta ¶
type GenericMeta struct { Pagination *Pagination `json:"pagination,omitempty"` Sort *string `json:"sort,omitempty"` }
GenericMeta ...
func NewGenericMeta ¶
func NewGenericMeta(ctx echo.Context) *GenericMeta
func (*GenericMeta) WithPagination ¶
func (g *GenericMeta) WithPagination(pagination Pagination) *GenericMeta
func (*GenericMeta) WithSort ¶
func (g *GenericMeta) WithSort(sort string) *GenericMeta
type Pagination ¶
type Pagination struct { Page int64 `json:"page"` Total int64 `json:"total"` Limit uint64 `json:"limit"` }
Pagination ...
type Success ¶
type Success struct { Data interface{} `json:"data,omitempty"` Items interface{} `json:"items"` Meta *GenericMeta `json:"meta,omitempty"` }
Success ...
func ResponseWithList ¶
func ResponseWithList(ctx echo.Context, items interface{}, total int64, pagination common.PageParams) *Success
ResponseWithList ...
Source Files
¶
- action.go
- area.go
- auth.go
- automation.go
- backup.go
- common.go
- condition.go
- controllers.go
- dashboard.go
- dashboard_card.go
- dashboard_card_item.go
- dashboard_tab.go
- developer_tools.go
- entity.go
- entity_storage.go
- image.go
- index.go
- interact.go
- logs.go
- media.go
- message_delivery.go
- metric.go
- mqtt.go
- plugin.go
- responses.go
- role.go
- script.go
- stream.go
- tag.go
- trigger.go
- user.go
- variable.go
- webdav.go
- webhook.go
- zigbee2mqtt.go