controllers

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMiddlewareContextValue added in v0.15.0

func NewMiddlewareContextValue(fn echo.HandlerFunc) echo.HandlerFunc

func ResponseWithObj added in v0.12.0

func ResponseWithObj(ctx echo.Context, obj interface{}) interface{}

ResponseWithObj ...

Types

type ControllerAction added in v0.12.0

type ControllerAction struct {
	*ControllerCommon
}

ControllerAction ...

func NewControllerAction added in v0.12.0

func NewControllerAction(common *ControllerCommon) *ControllerAction

NewControllerAction ...

func (ControllerAction) ActionServiceAddAction added in v0.12.0

func (c ControllerAction) ActionServiceAddAction(ctx echo.Context, _ stub.ActionServiceAddActionParams) error

AddAction ...

func (ControllerAction) ActionServiceDeleteAction added in v0.12.0

func (c ControllerAction) ActionServiceDeleteAction(ctx echo.Context, id int64) error

DeleteAction ...

func (ControllerAction) ActionServiceGetActionById added in v0.12.0

func (c ControllerAction) ActionServiceGetActionById(ctx echo.Context, id int64) error

GetActionById ...

func (ControllerAction) ActionServiceGetActionList added in v0.12.0

func (c ControllerAction) ActionServiceGetActionList(ctx echo.Context, params stub.ActionServiceGetActionListParams) error

GetActionList ...

func (ControllerAction) ActionServiceSearchAction added in v0.12.0

func (c ControllerAction) ActionServiceSearchAction(ctx echo.Context, params stub.ActionServiceSearchActionParams) error

SearchAction ...

func (ControllerAction) ActionServiceUpdateAction added in v0.12.0

func (c ControllerAction) ActionServiceUpdateAction(ctx echo.Context, id int64, _ stub.ActionServiceUpdateActionParams) error

UpdateAction ...

type ControllerArea added in v0.5.2

type ControllerArea struct {
	*ControllerCommon
}

ControllerArea ...

func NewControllerArea added in v0.5.2

func NewControllerArea(common *ControllerCommon) *ControllerArea

NewControllerArea ...

func (ControllerArea) AreaServiceAddArea added in v0.12.0

func (c ControllerArea) AreaServiceAddArea(ctx echo.Context, _ stub.AreaServiceAddAreaParams) error

AddArea ...

func (ControllerArea) AreaServiceDeleteArea added in v0.12.0

func (c ControllerArea) AreaServiceDeleteArea(ctx echo.Context, id int64) error

DeleteArea ...

func (ControllerArea) AreaServiceGetAreaById added in v0.12.0

func (c ControllerArea) AreaServiceGetAreaById(ctx echo.Context, id int64) error

GetAreaById ...

func (ControllerArea) AreaServiceGetAreaList added in v0.12.0

func (c ControllerArea) AreaServiceGetAreaList(ctx echo.Context, params stub.AreaServiceGetAreaListParams) error

GetAreaList ...

func (ControllerArea) AreaServiceSearchArea added in v0.12.0

func (c ControllerArea) AreaServiceSearchArea(ctx echo.Context, params stub.AreaServiceSearchAreaParams) error

SearchArea ...

func (ControllerArea) AreaServiceUpdateArea added in v0.12.0

func (c ControllerArea) AreaServiceUpdateArea(ctx echo.Context, id int64, _ stub.AreaServiceUpdateAreaParams) error

UpdateArea ...

type ControllerAuth added in v0.5.0

type ControllerAuth struct {
	*ControllerCommon
}

ControllerAuth ...

func NewControllerAuth added in v0.5.0

func NewControllerAuth(common *ControllerCommon) *ControllerAuth

NewControllerAuth ...

func (ControllerAuth) AuthServiceAccessList added in v0.12.0

func (c ControllerAuth) AuthServiceAccessList(ctx echo.Context) error

AccessList ...

func (ControllerAuth) AuthServicePasswordReset added in v0.12.0

func (c ControllerAuth) AuthServicePasswordReset(ctx echo.Context, _ stub.AuthServicePasswordResetParams) error

PasswordReset ...

func (ControllerAuth) AuthServiceSignin added in v0.12.0

func (c ControllerAuth) AuthServiceSignin(ctx echo.Context) error

Signin ...

func (ControllerAuth) AuthServiceSignout added in v0.12.0

func (c ControllerAuth) AuthServiceSignout(ctx echo.Context) error

Signout ...

type ControllerAutomation added in v0.5.2

type ControllerAutomation struct {
	*ControllerCommon
}

ControllerAutomation ...

func NewControllerAutomation added in v0.5.2

func NewControllerAutomation(common *ControllerCommon) *ControllerAutomation

NewControllerAutomation ...

func (ControllerAutomation) AutomationServiceAddTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceAddTask(ctx echo.Context, _ stub.AutomationServiceAddTaskParams) error

AddTask ...

func (ControllerAutomation) AutomationServiceDeleteTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceDeleteTask(ctx echo.Context, id int64) error

DeleteTask ...

func (ControllerAutomation) AutomationServiceDisableTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceDisableTask(ctx echo.Context, id int64) error

DisableTask ...

func (ControllerAutomation) AutomationServiceEnableTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceEnableTask(ctx echo.Context, id int64) error

EnableTask ...

func (ControllerAutomation) AutomationServiceGetTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceGetTask(ctx echo.Context, id int64) error

GetTask ...

func (ControllerAutomation) AutomationServiceGetTaskList added in v0.12.0

func (c ControllerAutomation) AutomationServiceGetTaskList(ctx echo.Context, params stub.AutomationServiceGetTaskListParams) error

GetTaskList ...

func (ControllerAutomation) AutomationServiceImportTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceImportTask(ctx echo.Context, _ stub.AutomationServiceImportTaskParams) error

ImportTask ...

func (ControllerAutomation) AutomationServiceUpdateTask added in v0.12.0

func (c ControllerAutomation) AutomationServiceUpdateTask(ctx echo.Context, id int64, _ stub.AutomationServiceUpdateTaskParams) error

UpdateTask ...

type ControllerBackup added in v0.7.1

type ControllerBackup struct {
	*ControllerCommon
}

ControllerBackup ...

func NewControllerBackup added in v0.7.1

func NewControllerBackup(common *ControllerCommon) *ControllerBackup

NewControllerBackup ...

func (ControllerBackup) BackupServiceApplyState added in v0.12.0

func (c ControllerBackup) BackupServiceApplyState(ctx echo.Context, _ stub.BackupServiceApplyStateParams) error

BackupServiceApplyChanges ...

func (ControllerBackup) BackupServiceDeleteBackup added in v0.12.0

func (c ControllerBackup) BackupServiceDeleteBackup(ctx echo.Context, name string) error

DeleteBackup ...

func (ControllerBackup) BackupServiceGetBackupList added in v0.12.0

func (c ControllerBackup) BackupServiceGetBackupList(ctx echo.Context, params stub.BackupServiceGetBackupListParams) error

GetBackupList ...

func (ControllerBackup) BackupServiceNewBackup added in v0.12.0

func (c ControllerBackup) BackupServiceNewBackup(ctx echo.Context, _ stub.BackupServiceNewBackupParams) error

NewBackup ...

func (ControllerBackup) BackupServiceRestoreBackup added in v0.12.0

func (c ControllerBackup) BackupServiceRestoreBackup(ctx echo.Context, name string) error

RestoreBackup ...

func (ControllerBackup) BackupServiceRevertState added in v0.12.0

func (c ControllerBackup) BackupServiceRevertState(ctx echo.Context, _ stub.BackupServiceRevertStateParams) error

BackupServiceRevertState ...

func (ControllerBackup) BackupServiceUploadBackup added in v0.12.0

func (c ControllerBackup) BackupServiceUploadBackup(ctx echo.Context, _ stub.BackupServiceUploadBackupParams) error

BackupServiceMuxUploadBackup ...

type ControllerCommon added in v0.5.0

type ControllerCommon struct {
	// contains filtered or unexported fields
}

ControllerCommon ...

func NewControllerCommon added in v0.5.0

func NewControllerCommon(endpoint *endpoint.Endpoint,
	accessList access_list.AccessListService,
	appConfig *m.AppConfig,
	validation *validation.Validate) *ControllerCommon

NewControllerCommon ...

func (ControllerCommon) Body added in v0.12.0

func (c ControllerCommon) Body(ctx echo.Context, obj interface{}) error

func (ControllerCommon) ERROR added in v0.12.0

func (c ControllerCommon) ERROR(ctx echo.Context, err error) error

ERROR ...

func (ControllerCommon) HTTP200 added in v0.12.0

func (c ControllerCommon) HTTP200(ctx echo.Context, data interface{}) error

HTTP200 ...

func (ControllerCommon) HTTP201 added in v0.12.0

func (c ControllerCommon) HTTP201(ctx echo.Context, data interface{}) error

HTTP201 ...

func (ControllerCommon) HTTP400 added in v0.12.0

func (c ControllerCommon) HTTP400(ctx echo.Context, err error) error

HTTP400 ...

func (ControllerCommon) HTTP401 added in v0.12.0

func (c ControllerCommon) HTTP401(ctx echo.Context, err error) error

HTTP401 ...

func (ControllerCommon) HTTP403 added in v0.15.0

func (c ControllerCommon) HTTP403(ctx echo.Context, err error) error

HTTP403 ...

func (ControllerCommon) HTTP404 added in v0.12.0

func (c ControllerCommon) HTTP404(ctx echo.Context, err error) error

HTTP404 ...

func (ControllerCommon) HTTP409 added in v0.12.0

func (c ControllerCommon) HTTP409(ctx echo.Context, err error) error

HTTP409 ...

func (ControllerCommon) HTTP422 added in v0.12.0

func (c ControllerCommon) HTTP422(ctx echo.Context, err error) error

HTTP422 ...

func (ControllerCommon) HTTP500 added in v0.12.0

func (c ControllerCommon) HTTP500(ctx echo.Context, err error) error

HTTP500 ...

func (ControllerCommon) HTTP501 added in v0.12.0

func (c ControllerCommon) HTTP501(ctx echo.Context, data interface{}) error

HTTP501 ...

func (ControllerCommon) Pagination added in v0.5.1

func (c ControllerCommon) Pagination(page, limit *uint64, sort *string) (pagination common.PageParams)

Pagination ...

func (ControllerCommon) Search added in v0.5.2

func (c ControllerCommon) Search(query *string, limit, offset *int64) (search common.SearchParams)

Search ...

type ControllerCondition added in v0.12.0

type ControllerCondition struct {
	*ControllerCommon
}

ControllerCondition ...

func NewControllerCondition added in v0.12.0

func NewControllerCondition(common *ControllerCommon) *ControllerCondition

NewControllerCondition ...

func (ControllerCondition) ConditionServiceAddCondition added in v0.12.0

func (c ControllerCondition) ConditionServiceAddCondition(ctx echo.Context, _ stub.ConditionServiceAddConditionParams) error

AddCondition ...

func (ControllerCondition) ConditionServiceDeleteCondition added in v0.12.0

func (c ControllerCondition) ConditionServiceDeleteCondition(ctx echo.Context, id int64) error

DeleteCondition ...

func (ControllerCondition) ConditionServiceGetConditionById added in v0.12.0

func (c ControllerCondition) ConditionServiceGetConditionById(ctx echo.Context, id int64, _ stub.ConditionServiceGetConditionByIdParams) error

GetConditionById ...

func (ControllerCondition) ConditionServiceGetConditionList added in v0.12.0

func (c ControllerCondition) ConditionServiceGetConditionList(ctx echo.Context, params stub.ConditionServiceGetConditionListParams) error

GetConditionList ...

func (ControllerCondition) ConditionServiceSearchCondition added in v0.12.0

func (c ControllerCondition) ConditionServiceSearchCondition(ctx echo.Context, params stub.ConditionServiceSearchConditionParams) error

SearchCondition ...

func (ControllerCondition) ConditionServiceUpdateCondition added in v0.12.0

func (c ControllerCondition) ConditionServiceUpdateCondition(ctx echo.Context, id int64, _ stub.ConditionServiceUpdateConditionParams) error

UpdateCondition ...

type ControllerDashboard added in v0.6.0

type ControllerDashboard struct {
	*ControllerCommon
}

ControllerDashboard ...

func NewControllerDashboard added in v0.6.0

func NewControllerDashboard(common *ControllerCommon) *ControllerDashboard

NewControllerDashboard ...

func (ControllerDashboard) DashboardServiceAddDashboard added in v0.12.0

func (c ControllerDashboard) DashboardServiceAddDashboard(ctx echo.Context, _ stub.DashboardServiceAddDashboardParams) error

AddDashboard ...

func (ControllerDashboard) DashboardServiceDeleteDashboard added in v0.12.0

func (c ControllerDashboard) DashboardServiceDeleteDashboard(ctx echo.Context, id int64) error

DeleteDashboard ...

func (ControllerDashboard) DashboardServiceGetDashboardById added in v0.12.0

func (c ControllerDashboard) DashboardServiceGetDashboardById(ctx echo.Context, id int64) error

GetDashboardById ...

func (ControllerDashboard) DashboardServiceGetDashboardList added in v0.12.0

func (c ControllerDashboard) DashboardServiceGetDashboardList(ctx echo.Context, params stub.DashboardServiceGetDashboardListParams) error

GetDashboardList ...

func (ControllerDashboard) DashboardServiceImportDashboard added in v0.12.0

func (c ControllerDashboard) DashboardServiceImportDashboard(ctx echo.Context, _ stub.DashboardServiceImportDashboardParams) error

ImportDashboard ...

func (ControllerDashboard) DashboardServiceSearchDashboard added in v0.12.0

func (c ControllerDashboard) DashboardServiceSearchDashboard(ctx echo.Context, params stub.DashboardServiceSearchDashboardParams) error

SearchDashboard ...

func (ControllerDashboard) DashboardServiceUpdateDashboard added in v0.12.0

func (c ControllerDashboard) DashboardServiceUpdateDashboard(ctx echo.Context, id int64, _ stub.DashboardServiceUpdateDashboardParams) error

UpdateDashboard ...

type ControllerDashboardCard added in v0.6.0

type ControllerDashboardCard struct {
	*ControllerCommon
}

ControllerDashboardCard ...

func NewControllerDashboardCard added in v0.6.0

func NewControllerDashboardCard(common *ControllerCommon) *ControllerDashboardCard

NewControllerDashboardCard ...

func (ControllerDashboardCard) DashboardCardServiceAddDashboardCard added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceAddDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceAddDashboardCardParams) error

AddDashboardCard ...

func (ControllerDashboardCard) DashboardCardServiceDeleteDashboardCard added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceDeleteDashboardCard(ctx echo.Context, id int64) error

DeleteDashboardCard ...

func (ControllerDashboardCard) DashboardCardServiceGetDashboardCardById added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardById(ctx echo.Context, id int64) error

GetDashboardCardById ...

func (ControllerDashboardCard) DashboardCardServiceGetDashboardCardList added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceGetDashboardCardList(ctx echo.Context, params stub.DashboardCardServiceGetDashboardCardListParams) error

GetDashboardCardList ...

func (ControllerDashboardCard) DashboardCardServiceImportDashboardCard added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceImportDashboardCard(ctx echo.Context, _ stub.DashboardCardServiceImportDashboardCardParams) error

ImportDashboardCard ...

func (ControllerDashboardCard) DashboardCardServiceUpdateDashboardCard added in v0.12.0

func (c ControllerDashboardCard) DashboardCardServiceUpdateDashboardCard(ctx echo.Context, id int64, _ stub.DashboardCardServiceUpdateDashboardCardParams) error

UpdateDashboardCard ...

type ControllerDashboardCardItem added in v0.6.0

type ControllerDashboardCardItem struct {
	*ControllerCommon
}

ControllerDashboardCardItem ...

func NewControllerDashboardCardItem added in v0.6.0

func NewControllerDashboardCardItem(common *ControllerCommon) *ControllerDashboardCardItem

NewControllerDashboardCardItem ...

func (ControllerDashboardCardItem) DashboardCardItemServiceAddDashboardCardItem added in v0.12.0

func (c ControllerDashboardCardItem) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context, _ stub.DashboardCardItemServiceAddDashboardCardItemParams) error

AddDashboardCardItem ...

func (ControllerDashboardCardItem) DashboardCardItemServiceDeleteDashboardCardItem added in v0.12.0

func (c ControllerDashboardCardItem) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context, id int64) error

DeleteDashboardCardItem ...

func (ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemById added in v0.12.0

func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context, id int64) error

GetDashboardCardItemById ...

func (ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemList added in v0.12.0

func (c ControllerDashboardCardItem) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context, params stub.DashboardCardItemServiceGetDashboardCardItemListParams) error

GetDashboardCardItemList ...

func (ControllerDashboardCardItem) DashboardCardItemServiceUpdateDashboardCardItem added in v0.12.0

func (c ControllerDashboardCardItem) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context, id int64, _ stub.DashboardCardItemServiceUpdateDashboardCardItemParams) error

UpdateDashboardCardItem ...

type ControllerDashboardTab added in v0.6.0

type ControllerDashboardTab struct {
	*ControllerCommon
}

ControllerDashboardTab ...

func NewControllerDashboardTab added in v0.6.0

func NewControllerDashboardTab(common *ControllerCommon) *ControllerDashboardTab

NewControllerDashboardTab ...

func (ControllerDashboardTab) DashboardTabServiceAddDashboardTab added in v0.12.0

func (c ControllerDashboardTab) DashboardTabServiceAddDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceAddDashboardTabParams) error

AddDashboardTab ...

func (ControllerDashboardTab) DashboardTabServiceDeleteDashboardTab added in v0.12.0

func (c ControllerDashboardTab) DashboardTabServiceDeleteDashboardTab(ctx echo.Context, id int64) error

DeleteDashboardTab ...

func (ControllerDashboardTab) DashboardTabServiceGetDashboardTabById added in v0.12.0

func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabById(ctx echo.Context, id int64) error

GetDashboardTabById ...

func (ControllerDashboardTab) DashboardTabServiceGetDashboardTabList added in v0.12.0

func (c ControllerDashboardTab) DashboardTabServiceGetDashboardTabList(ctx echo.Context, params stub.DashboardTabServiceGetDashboardTabListParams) error

GetDashboardTabList ...

func (ControllerDashboardTab) DashboardTabServiceImportDashboardTab added in v0.17.0

func (c ControllerDashboardTab) DashboardTabServiceImportDashboardTab(ctx echo.Context, _ stub.DashboardTabServiceImportDashboardTabParams) error

DashboardTabServiceImportDashboardTab ...

func (ControllerDashboardTab) DashboardTabServiceUpdateDashboardTab added in v0.12.0

func (c ControllerDashboardTab) DashboardTabServiceUpdateDashboardTab(ctx echo.Context, id int64, _ stub.DashboardTabServiceUpdateDashboardTabParams) error

UpdateDashboardTab ...

type ControllerDeveloperTools added in v0.5.3

type ControllerDeveloperTools struct {
	*ControllerCommon
}

ControllerDeveloperTools ...

func NewControllerDeveloperTools added in v0.5.3

func NewControllerDeveloperTools(common *ControllerCommon) *ControllerDeveloperTools

NewControllerDeveloperTools ...

func (ControllerDeveloperTools) DeveloperToolsServiceCallAction added in v0.12.0

func (c ControllerDeveloperTools) DeveloperToolsServiceCallAction(ctx echo.Context, _ stub.DeveloperToolsServiceCallActionParams) error

CallAction ...

func (ControllerDeveloperTools) DeveloperToolsServiceCallTrigger added in v0.12.0

func (c ControllerDeveloperTools) DeveloperToolsServiceCallTrigger(ctx echo.Context, _ stub.DeveloperToolsServiceCallTriggerParams) error

CallTrigger ...

func (ControllerDeveloperTools) DeveloperToolsServiceEntitySetState added in v0.12.0

func (c ControllerDeveloperTools) DeveloperToolsServiceEntitySetState(ctx echo.Context, _ stub.DeveloperToolsServiceEntitySetStateParams) error

EntitySetStateName ...

func (ControllerDeveloperTools) DeveloperToolsServiceGetEventBusStateList added in v0.12.0

func (c ControllerDeveloperTools) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context, params stub.DeveloperToolsServiceGetEventBusStateListParams) error

GetEventBusStateList ...

func (ControllerDeveloperTools) DeveloperToolsServiceReloadEntity added in v0.12.0

func (c ControllerDeveloperTools) DeveloperToolsServiceReloadEntity(ctx echo.Context, _ stub.DeveloperToolsServiceReloadEntityParams) error

ReloadEntity ...

type ControllerEntity added in v0.5.2

type ControllerEntity struct {
	*ControllerCommon
}

ControllerEntity ...

func NewControllerEntity added in v0.5.2

func NewControllerEntity(common *ControllerCommon) *ControllerEntity

NewControllerEntity ...

func (ControllerEntity) EntityServiceAddEntity added in v0.12.0

func (c ControllerEntity) EntityServiceAddEntity(ctx echo.Context, _ stub.EntityServiceAddEntityParams) error

AddEntity ...

func (ControllerEntity) EntityServiceDeleteEntity added in v0.12.0

func (c ControllerEntity) EntityServiceDeleteEntity(ctx echo.Context, id string) error

DeleteEntity ...

func (ControllerEntity) EntityServiceDisabledEntity added in v0.12.0

func (c ControllerEntity) EntityServiceDisabledEntity(ctx echo.Context, id string) error

func (ControllerEntity) EntityServiceEnabledEntity added in v0.12.0

func (c ControllerEntity) EntityServiceEnabledEntity(ctx echo.Context, id string) error

func (ControllerEntity) EntityServiceGetEntity added in v0.12.0

func (c ControllerEntity) EntityServiceGetEntity(ctx echo.Context, id string) error

GetEntity ...

func (ControllerEntity) EntityServiceGetEntityList added in v0.12.0

func (c ControllerEntity) EntityServiceGetEntityList(ctx echo.Context, params stub.EntityServiceGetEntityListParams) error

GetEntityList ...

func (ControllerEntity) EntityServiceGetStatistic added in v0.17.0

func (c ControllerEntity) EntityServiceGetStatistic(ctx echo.Context) error

GetStatistic ...

func (ControllerEntity) EntityServiceImportEntity added in v0.12.0

func (c ControllerEntity) EntityServiceImportEntity(ctx echo.Context, _ stub.EntityServiceImportEntityParams) error

ImportEntity ...

func (ControllerEntity) EntityServiceSearchEntity added in v0.12.0

func (c ControllerEntity) EntityServiceSearchEntity(ctx echo.Context, params stub.EntityServiceSearchEntityParams) error

SearchEntity ...

func (ControllerEntity) EntityServiceUpdateEntity added in v0.12.0

func (c ControllerEntity) EntityServiceUpdateEntity(ctx echo.Context, id string, _ stub.EntityServiceUpdateEntityParams) error

UpdateEntity ...

type ControllerEntityStorage added in v0.6.0

type ControllerEntityStorage struct {
	*ControllerCommon
}

ControllerEntityStorage ...

func NewControllerEntityStorage added in v0.6.0

func NewControllerEntityStorage(common *ControllerCommon) *ControllerEntityStorage

NewControllerEntityStorage ...

func (ControllerEntityStorage) EntityStorageServiceGetEntityStorageList added in v0.12.0

func (c ControllerEntityStorage) EntityStorageServiceGetEntityStorageList(ctx echo.Context, params stub.EntityStorageServiceGetEntityStorageListParams) error

GetEntityStorageList ...

type ControllerImage added in v0.5.0

type ControllerImage struct {
	*ControllerCommon
}

ControllerImage ...

func NewControllerImage added in v0.5.0

func NewControllerImage(common *ControllerCommon) *ControllerImage

NewControllerImage ...

func (ControllerImage) ImageServiceAddImage added in v0.12.0

func (c ControllerImage) ImageServiceAddImage(ctx echo.Context, _ stub.ImageServiceAddImageParams) error

AddImage ...

func (ControllerImage) ImageServiceDeleteImageById added in v0.12.0

func (c ControllerImage) ImageServiceDeleteImageById(ctx echo.Context, id int64) error

DeleteImageById ...

func (ControllerImage) ImageServiceGetImageById added in v0.12.0

func (c ControllerImage) ImageServiceGetImageById(ctx echo.Context, id int64) error

GetImageById ...

func (ControllerImage) ImageServiceGetImageFilterList added in v0.12.0

func (c ControllerImage) ImageServiceGetImageFilterList(ctx echo.Context) error

GetImageFilterList ...

func (ControllerImage) ImageServiceGetImageList added in v0.12.0

func (c ControllerImage) ImageServiceGetImageList(ctx echo.Context, params stub.ImageServiceGetImageListParams) error

GetImageList ...

func (ControllerImage) ImageServiceGetImageListByDate added in v0.12.0

func (c ControllerImage) ImageServiceGetImageListByDate(ctx echo.Context, request stub.ImageServiceGetImageListByDateParams) error

GetImageListByDate ...

func (ControllerImage) ImageServiceUpdateImageById added in v0.12.0

func (c ControllerImage) ImageServiceUpdateImageById(ctx echo.Context, id int64, _ stub.ImageServiceUpdateImageByIdParams) error

UpdateImageById ...

func (ControllerImage) ImageServiceUploadImage added in v0.12.0

func (c ControllerImage) ImageServiceUploadImage(ctx echo.Context, _ stub.ImageServiceUploadImageParams) error

MuxUploadImage ...

type ControllerIndex added in v0.10.0

type ControllerIndex struct {
	*ControllerCommon
}

ControllerIndex ...

func NewControllerIndex added in v0.10.0

func NewControllerIndex(common *ControllerCommon) *ControllerIndex

NewControllerIndex ...

func (ControllerIndex) Index added in v0.10.0

func (c ControllerIndex) Index(publicAssets fs.FS) http.Handler

Index ...

type ControllerInteract added in v0.5.3

type ControllerInteract struct {
	*ControllerCommon
}

ControllerInteract ...

func NewControllerInteract added in v0.5.3

func NewControllerInteract(common *ControllerCommon) *ControllerInteract

NewControllerInteract ...

func (ControllerInteract) InteractServiceEntityCallAction added in v0.12.0

func (c ControllerInteract) InteractServiceEntityCallAction(ctx echo.Context, _ stub.InteractServiceEntityCallActionParams) error

type ControllerLogs added in v0.5.3

type ControllerLogs struct {
	*ControllerCommon
}

ControllerLogs ...

func NewControllerLogs added in v0.5.3

func NewControllerLogs(common *ControllerCommon) *ControllerLogs

NewControllerLogs ...

func (ControllerLogs) LogServiceGetLogList added in v0.12.0

func (c ControllerLogs) LogServiceGetLogList(ctx echo.Context, params stub.LogServiceGetLogListParams) error

GetLogList ...

type ControllerMedia added in v0.12.0

type ControllerMedia struct {
	*ControllerCommon
}

ControllerMedia ...

func NewControllerMedia added in v0.12.0

func NewControllerMedia(common *ControllerCommon) *ControllerMedia

NewControllerMedia ...

func (ControllerMedia) StreamHLSLLInit added in v0.12.0

func (c ControllerMedia) StreamHLSLLInit(ctx echo.Context) error

func (ControllerMedia) StreamHLSLLM3U8 added in v0.12.0

func (c ControllerMedia) StreamHLSLLM3U8(ctx echo.Context) error

func (ControllerMedia) StreamHLSLLM4Fragment added in v0.12.0

func (c ControllerMedia) StreamHLSLLM4Fragment(ctx echo.Context) error

func (ControllerMedia) StreamHLSLLM4Segment added in v0.12.0

func (c ControllerMedia) StreamHLSLLM4Segment(ctx echo.Context) error

func (ControllerMedia) StreamMSE added in v0.12.0

func (c ControllerMedia) StreamMSE(ctx echo.Context) error

type ControllerMessageDelivery added in v0.10.0

type ControllerMessageDelivery struct {
	*ControllerCommon
}

ControllerMessageDelivery ...

func NewControllerMessageDelivery added in v0.10.0

func NewControllerMessageDelivery(common *ControllerCommon) *ControllerMessageDelivery

func (ControllerMessageDelivery) MessageDeliveryServiceGetMessageDeliveryList added in v0.12.0

func (c ControllerMessageDelivery) MessageDeliveryServiceGetMessageDeliveryList(ctx echo.Context, params stub.MessageDeliveryServiceGetMessageDeliveryListParams) error

GetMessageDeliveryList ...

type ControllerMetric added in v0.7.0

type ControllerMetric struct {
	*ControllerCommon
}

ControllerMetric ...

func NewControllerMetric added in v0.7.0

func NewControllerMetric(common *ControllerCommon) *ControllerMetric

NewControllerMetric ...

func (ControllerMetric) MetricServiceGetMetric added in v0.12.0

func (c ControllerMetric) MetricServiceGetMetric(ctx echo.Context, params stub.MetricServiceGetMetricParams) error

MetricServiceGetMetric ...

type ControllerMqtt added in v0.12.0

type ControllerMqtt struct {
	*ControllerCommon
}

ControllerMqtt ...

func NewControllerMqtt added in v0.12.0

func NewControllerMqtt(common *ControllerCommon) *ControllerMqtt

NewControllerMqtt ...

func (ControllerMqtt) MqttServiceGetClientById added in v0.12.0

func (c ControllerMqtt) MqttServiceGetClientById(ctx echo.Context, id string) error

GetClientById ...

func (ControllerMqtt) MqttServiceGetClientList added in v0.12.0

func (c ControllerMqtt) MqttServiceGetClientList(ctx echo.Context, params stub.MqttServiceGetClientListParams) error

GetClientList ...

func (ControllerMqtt) MqttServiceGetSubscriptionList added in v0.12.0

func (c ControllerMqtt) MqttServiceGetSubscriptionList(ctx echo.Context, params stub.MqttServiceGetSubscriptionListParams) error

GetSubscriptionList ...

type ControllerPlugin added in v0.5.1

type ControllerPlugin struct {
	*ControllerCommon
}

ControllerPlugin ...

func NewControllerPlugin added in v0.5.1

func NewControllerPlugin(common *ControllerCommon) *ControllerPlugin

NewControllerPlugin ...

func (ControllerPlugin) PluginServiceDisablePlugin added in v0.12.0

func (c ControllerPlugin) PluginServiceDisablePlugin(ctx echo.Context, name string) error

DisablePlugin ...

func (ControllerPlugin) PluginServiceEnablePlugin added in v0.12.0

func (c ControllerPlugin) PluginServiceEnablePlugin(ctx echo.Context, name string) error

EnablePlugin ...

func (ControllerPlugin) PluginServiceGetPlugin added in v0.12.0

func (c ControllerPlugin) PluginServiceGetPlugin(ctx echo.Context, name string) error

GetPlugin ...

func (ControllerPlugin) PluginServiceGetPluginList added in v0.12.0

func (c ControllerPlugin) PluginServiceGetPluginList(ctx echo.Context, params stub.PluginServiceGetPluginListParams) error

GetPluginList ...

func (ControllerPlugin) PluginServiceGetPluginReadme added in v0.14.0

func (c ControllerPlugin) PluginServiceGetPluginReadme(ctx echo.Context, name string, params stub.PluginServiceGetPluginReadmeParams) error

PluginServiceGetPluginReadme ...

func (ControllerPlugin) PluginServiceSearchPlugin added in v0.12.0

func (c ControllerPlugin) PluginServiceSearchPlugin(ctx echo.Context, params stub.PluginServiceSearchPluginParams) error

SearchPlugin ...

func (ControllerPlugin) PluginServiceUpdatePluginSettings added in v0.12.0

func (c ControllerPlugin) PluginServiceUpdatePluginSettings(ctx echo.Context, name string, _ stub.PluginServiceUpdatePluginSettingsParams) error

UpdatePluginSettings ...

type ControllerRole added in v0.5.0

type ControllerRole struct {
	*ControllerCommon
}

ControllerRole ...

func NewControllerRole added in v0.5.0

func NewControllerRole(common *ControllerCommon) *ControllerRole

NewControllerRole ...

func (ControllerRole) RoleServiceAddRole added in v0.12.0

func (c ControllerRole) RoleServiceAddRole(ctx echo.Context, _ stub.RoleServiceAddRoleParams) error

AddRole ...

func (ControllerRole) RoleServiceDeleteRoleByName added in v0.12.0

func (c ControllerRole) RoleServiceDeleteRoleByName(ctx echo.Context, name string) error

DeleteRoleByName ...

func (ControllerRole) RoleServiceGetRoleAccessList added in v0.12.0

func (c ControllerRole) RoleServiceGetRoleAccessList(ctx echo.Context, name string) error

GetRoleAccessList ...

func (ControllerRole) RoleServiceGetRoleByName added in v0.12.0

func (c ControllerRole) RoleServiceGetRoleByName(ctx echo.Context, name string) error

GetRoleByName ...

func (ControllerRole) RoleServiceGetRoleList added in v0.12.0

func (c ControllerRole) RoleServiceGetRoleList(ctx echo.Context, params stub.RoleServiceGetRoleListParams) error

GetRoleList ...

func (ControllerRole) RoleServiceSearchRoleByName added in v0.12.0

func (c ControllerRole) RoleServiceSearchRoleByName(ctx echo.Context, params stub.RoleServiceSearchRoleByNameParams) error

SearchRoleByName ...

func (ControllerRole) RoleServiceUpdateRoleAccessList added in v0.12.0

func (c ControllerRole) RoleServiceUpdateRoleAccessList(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleAccessListParams) error

UpdateRoleAccessList ...

func (ControllerRole) RoleServiceUpdateRoleByName added in v0.12.0

func (c ControllerRole) RoleServiceUpdateRoleByName(ctx echo.Context, name string, _ stub.RoleServiceUpdateRoleByNameParams) error

UpdateRoleByName ...

type ControllerScript added in v0.5.0

type ControllerScript struct {
	*ControllerCommon
}

ControllerScript ...

func NewControllerScript added in v0.5.0

func NewControllerScript(common *ControllerCommon) *ControllerScript

NewControllerScript ...

func (ControllerScript) ScriptServiceAddScript added in v0.12.0

func (c ControllerScript) ScriptServiceAddScript(ctx echo.Context, _ stub.ScriptServiceAddScriptParams) error

AddScript ...

func (ControllerScript) ScriptServiceCopyScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceCopyScriptById(ctx echo.Context, id int64) error

CopyScriptById ...

func (ControllerScript) ScriptServiceDeleteScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceDeleteScriptById(ctx echo.Context, id int64) error

DeleteScriptById ...

func (ControllerScript) ScriptServiceExecScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceExecScriptById(ctx echo.Context, id int64) error

ExecScriptById ...

func (ControllerScript) ScriptServiceExecSrcScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceExecSrcScriptById(ctx echo.Context, _ stub.ScriptServiceExecSrcScriptByIdParams) error

ExecSrcScriptById ...

func (ControllerScript) ScriptServiceGetCompiledScriptById added in v0.17.0

func (c ControllerScript) ScriptServiceGetCompiledScriptById(ctx echo.Context, id int64) error

ScriptServiceGetCompiledScriptById ...

func (ControllerScript) ScriptServiceGetScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceGetScriptById(ctx echo.Context, id int64) error

GetScriptById ...

func (ControllerScript) ScriptServiceGetScriptList added in v0.12.0

func (c ControllerScript) ScriptServiceGetScriptList(ctx echo.Context, params stub.ScriptServiceGetScriptListParams) error

GetScriptList ...

func (ControllerScript) ScriptServiceGetStatistic added in v0.12.0

func (c ControllerScript) ScriptServiceGetStatistic(ctx echo.Context) error

GetStatistic ...

func (ControllerScript) ScriptServiceSearchScript added in v0.12.0

func (c ControllerScript) ScriptServiceSearchScript(ctx echo.Context, params stub.ScriptServiceSearchScriptParams) error

SearchScript ...

func (ControllerScript) ScriptServiceUpdateScriptById added in v0.12.0

func (c ControllerScript) ScriptServiceUpdateScriptById(ctx echo.Context, id int64, _ stub.ScriptServiceUpdateScriptByIdParams) error

UpdateScriptById ...

type ControllerStream added in v0.5.0

type ControllerStream struct {
	*ControllerCommon
}

ControllerStream ...

func NewControllerStream added in v0.5.0

func NewControllerStream(common *ControllerCommon) *ControllerStream

NewControllerStream ...

func (ControllerStream) StreamServiceSubscribe added in v0.12.0

func (c ControllerStream) StreamServiceSubscribe(ctx echo.Context) error

StreamServiceSubscribe ...

type ControllerTag added in v0.17.0

type ControllerTag struct {
	*ControllerCommon
}

ControllerTag ...

func NewControllerTag added in v0.17.0

func NewControllerTag(common *ControllerCommon) *ControllerTag

NewControllerTag ...

func (ControllerTag) TagServiceDeleteTagById added in v0.17.0

func (c ControllerTag) TagServiceDeleteTagById(ctx echo.Context, id int64) error

TagServiceDeleteTagById ...

func (ControllerTag) TagServiceGetTagById added in v0.17.0

func (c ControllerTag) TagServiceGetTagById(ctx echo.Context, id int64) error

TagServiceGetTagById ...

func (ControllerTag) TagServiceGetTagList added in v0.17.0

func (c ControllerTag) TagServiceGetTagList(ctx echo.Context, params stub.TagServiceGetTagListParams) error

TagServiceGetTagList ...

func (ControllerTag) TagServiceSearchTag added in v0.17.0

func (c ControllerTag) TagServiceSearchTag(ctx echo.Context, params stub.TagServiceSearchTagParams) error

TagServiceSearchTag ...

func (ControllerTag) TagServiceUpdateTagById added in v0.17.0

func (c ControllerTag) TagServiceUpdateTagById(ctx echo.Context, id int64, _ stub.TagServiceUpdateTagByIdParams) error

TagServiceUpdateTagById ...

type ControllerTrigger added in v0.12.0

type ControllerTrigger struct {
	*ControllerCommon
}

ControllerTrigger ...

func NewControllerTrigger added in v0.12.0

func NewControllerTrigger(common *ControllerCommon) *ControllerTrigger

NewControllerTrigger ...

func (ControllerTrigger) TriggerServiceAddTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceAddTrigger(ctx echo.Context, _ stub.TriggerServiceAddTriggerParams) error

AddTrigger ...

func (ControllerTrigger) TriggerServiceDeleteTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceDeleteTrigger(ctx echo.Context, id int64) error

DeleteTrigger ...

func (ControllerTrigger) TriggerServiceDisableTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceDisableTrigger(ctx echo.Context, id int64) error

DisableTrigger ...

func (ControllerTrigger) TriggerServiceEnableTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceEnableTrigger(ctx echo.Context, id int64) error

EnableTrigger ...

func (ControllerTrigger) TriggerServiceGetTriggerById added in v0.12.0

func (c ControllerTrigger) TriggerServiceGetTriggerById(ctx echo.Context, id int64) error

GetTriggerById ...

func (ControllerTrigger) TriggerServiceGetTriggerList added in v0.12.0

func (c ControllerTrigger) TriggerServiceGetTriggerList(ctx echo.Context, params stub.TriggerServiceGetTriggerListParams) error

GetTriggerList ...

func (ControllerTrigger) TriggerServiceSearchTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceSearchTrigger(ctx echo.Context, params stub.TriggerServiceSearchTriggerParams) error

SearchTrigger ...

func (ControllerTrigger) TriggerServiceUpdateTrigger added in v0.12.0

func (c ControllerTrigger) TriggerServiceUpdateTrigger(ctx echo.Context, id int64, _ stub.TriggerServiceUpdateTriggerParams) error

UpdateTrigger ...

type ControllerUser added in v0.5.0

type ControllerUser struct {
	*ControllerCommon
}

ControllerUser ...

func NewControllerUser added in v0.5.0

func NewControllerUser(common *ControllerCommon) *ControllerUser

NewControllerUser ...

func (ControllerUser) UserServiceAddUser added in v0.12.0

func (c ControllerUser) UserServiceAddUser(ctx echo.Context, _ stub.UserServiceAddUserParams) error

AddUser ...

func (ControllerUser) UserServiceDeleteUserById added in v0.12.0

func (c ControllerUser) UserServiceDeleteUserById(ctx echo.Context, id int64) error

DeleteUserById ...

func (ControllerUser) UserServiceGetUserById added in v0.12.0

func (c ControllerUser) UserServiceGetUserById(ctx echo.Context, id int64) error

GetUserById ...

func (ControllerUser) UserServiceGetUserList added in v0.12.0

func (c ControllerUser) UserServiceGetUserList(ctx echo.Context, params stub.UserServiceGetUserListParams) error

GetUserList ...

func (ControllerUser) UserServiceUpdateUserById added in v0.12.0

func (c ControllerUser) UserServiceUpdateUserById(ctx echo.Context, id int64, _ stub.UserServiceUpdateUserByIdParams) error

UpdateUserById ...

type ControllerVariable added in v0.6.0

type ControllerVariable struct {
	*ControllerCommon
}

ControllerVariable ...

func NewControllerVariable added in v0.6.0

func NewControllerVariable(common *ControllerCommon) *ControllerVariable

NewControllerVariable ...

func (ControllerVariable) VariableServiceAddVariable added in v0.12.0

func (c ControllerVariable) VariableServiceAddVariable(ctx echo.Context, _ stub.VariableServiceAddVariableParams) error

AddVariable ...

func (ControllerVariable) VariableServiceDeleteVariable added in v0.12.0

func (c ControllerVariable) VariableServiceDeleteVariable(ctx echo.Context, name string) error

DeleteVariable ...

func (ControllerVariable) VariableServiceGetVariableByName added in v0.12.0

func (c ControllerVariable) VariableServiceGetVariableByName(ctx echo.Context, name string) error

GetVariableByName ...

func (ControllerVariable) VariableServiceGetVariableList added in v0.12.0

func (c ControllerVariable) VariableServiceGetVariableList(ctx echo.Context, params stub.VariableServiceGetVariableListParams) error

GetVariableList ...

func (ControllerVariable) VariableServiceSearchVariable added in v0.17.0

func (c ControllerVariable) VariableServiceSearchVariable(ctx echo.Context, params stub.VariableServiceSearchVariableParams) error

SearchVariable ...

func (ControllerVariable) VariableServiceUpdateVariable added in v0.12.0

func (c ControllerVariable) VariableServiceUpdateVariable(ctx echo.Context, name string, _ stub.VariableServiceUpdateVariableParams) error

UpdateVariable ...

type ControllerWebdav added in v0.15.0

type ControllerWebdav struct {
	*ControllerCommon
}

ControllerWebdav ...

func NewControllerWebdav added in v0.15.0

func NewControllerWebdav(common *ControllerCommon) *ControllerWebdav

NewControllerWebdav ...

func (ControllerWebdav) Webdav added in v0.15.0

Webdav ...

type ControllerWebhook added in v0.18.0

type ControllerWebhook struct {
	*ControllerCommon
}

ControllerWebhook ...

func NewControllerWebhook added in v0.18.0

func NewControllerWebhook(common *ControllerCommon) *ControllerWebhook

NewControllerWebhook ...

func (ControllerWebhook) Webhook added in v0.18.0

Webhook ...

type ControllerZigbee2mqtt added in v0.5.2

type ControllerZigbee2mqtt struct {
	*ControllerCommon
}

ControllerZigbee2mqtt ...

func NewControllerZigbee2mqtt added in v0.5.2

func NewControllerZigbee2mqtt(common *ControllerCommon) *ControllerZigbee2mqtt

NewControllerZigbee2mqtt ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceAddZigbee2mqttBridge added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context, _ stub.Zigbee2mqttServiceAddZigbee2mqttBridgeParams) error

AddZigbee2MqttBridge ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeleteBridgeById added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context, id int64) error

DeleteBridgeById ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceBan added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceBan(ctx echo.Context, _ stub.Zigbee2mqttServiceDeviceBanParams) error

DeviceBan ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceList added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceList(ctx echo.Context, id int64, params stub.Zigbee2mqttServiceDeviceListParams) error

DeviceList ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceRename added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceRename(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceRenameParams) error

DeviceRename ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceWhitelist added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context, params stub.Zigbee2mqttServiceDeviceWhitelistParams) error

DeviceWhitelist ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceGetBridgeList added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetBridgeList(ctx echo.Context, params stub.Zigbee2mqttServiceGetBridgeListParams) error

GetBridgeList ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceGetZigbee2mqttBridge added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context, id int64) error

GetZigbee2MqttBridge ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceNetworkmap added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceNetworkmap(ctx echo.Context, id int64) error

Networkmap ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceResetBridgeById added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceResetBridgeById(ctx echo.Context, id int64) error

ResetBridgeById ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceSearchDevice added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceSearchDevice(ctx echo.Context, params stub.Zigbee2mqttServiceSearchDeviceParams) error

SearchDevice ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateBridgeById added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context, id int64, _ stub.Zigbee2mqttServiceUpdateBridgeByIdParams) error

UpdateBridgeById ...

func (ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateNetworkmap added in v0.12.0

func (c ControllerZigbee2mqtt) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context, id int64) error

UpdateNetworkmap ...

type Data added in v0.12.0

type Data struct {
	ID interface{} `json:"id,omitempty"`
}

Data ...

type Error added in v0.12.0

type Error struct {
	Error *ErrorBase   `json:"error,omitempty"`
	Meta  *GenericMeta `json:"meta,omitempty"`
}

Error ...

func ResponseWithError added in v0.12.0

func ResponseWithError(ctx echo.Context, err *ErrorBase) *Error

type ErrorBase added in v0.12.0

type ErrorBase struct {
	Code    *string      `json:"code,omitempty"`
	Message *string      `json:"message,omitempty"`
	Fields  []ErrorField `json:"fields,omitempty"`
}

ErrorBase ...

type ErrorField added in v0.12.0

type ErrorField struct {
	Name    *string `json:"name,omitempty"`
	Message *string `json:"message,omitempty"`
}

ErrorField ...

type GenericMeta added in v0.12.0

type GenericMeta struct {
	Pagination *Pagination `json:"pagination,omitempty"`
	Sort       *string     `json:"sort,omitempty"`
}

GenericMeta ...

func NewGenericMeta added in v0.12.0

func NewGenericMeta(ctx echo.Context) *GenericMeta

func (*GenericMeta) WithPagination added in v0.12.0

func (g *GenericMeta) WithPagination(pagination Pagination) *GenericMeta

func (*GenericMeta) WithSort added in v0.12.0

func (g *GenericMeta) WithSort(sort string) *GenericMeta

type Pagination added in v0.12.0

type Pagination struct {
	Page  int64  `json:"page"`
	Total int64  `json:"total"`
	Limit uint64 `json:"limit"`
}

Pagination ...

type Success added in v0.12.0

type Success struct {
	Data  interface{}  `json:"data,omitempty"`
	Items interface{}  `json:"items"`
	Meta  *GenericMeta `json:"meta,omitempty"`
}

Success ...

func ResponseWithList added in v0.12.0

func ResponseWithList(ctx echo.Context, items interface{}, total int64, pagination common.PageParams) *Success

ResponseWithList ...

Jump to

Keyboard shortcuts

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