Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupDeviceIndexLogic ¶
func NewGroupDeviceIndexLogic ¶
func NewGroupDeviceIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceIndexLogic
func (*GroupDeviceIndexLogic) GroupDeviceIndex ¶
func (l *GroupDeviceIndexLogic) GroupDeviceIndex(in *dm.GroupDeviceIndexReq) (*dm.GroupDeviceIndexResp, error)
获取分组设备信息列表
type GroupDeviceMultiCreateLogic ¶ added in v0.3.0
func NewGroupDeviceMultiCreateLogic ¶ added in v0.3.0
func NewGroupDeviceMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiCreateLogic
func (*GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate ¶ added in v0.3.0
func (l *GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate(in *dm.GroupDeviceMultiCreateReq) (*dm.Response, error)
创建分组设备
type GroupDeviceMultiDeleteLogic ¶ added in v0.3.0
func NewGroupDeviceMultiDeleteLogic ¶ added in v0.3.0
func NewGroupDeviceMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiDeleteLogic
func (*GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete ¶ added in v0.3.0
func (l *GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete(in *dm.GroupDeviceMultiDeleteReq) (*dm.Response, error)
删除分组设备
type GroupInfoCreateLogic ¶
func NewGroupInfoCreateLogic ¶
func NewGroupInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoCreateLogic
func (*GroupInfoCreateLogic) CheckGroupInfo ¶
func (l *GroupInfoCreateLogic) CheckGroupInfo(in *dm.GroupInfoCreateReq) (bool, error)
发现返回true 没有返回false
func (*GroupInfoCreateLogic) CheckGroupLevel ¶ added in v0.3.0
func (l *GroupInfoCreateLogic) CheckGroupLevel(groupID int64, level int64) (bool, error)
检查当前分组嵌套层数是否超限,是返回true 否则返回false
func (*GroupInfoCreateLogic) GroupInfoCreate ¶
func (l *GroupInfoCreateLogic) GroupInfoCreate(in *dm.GroupInfoCreateReq) (*dm.Response, error)
创建分组
type GroupInfoDeleteLogic ¶
func NewGroupInfoDeleteLogic ¶
func NewGroupInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoDeleteLogic
func (*GroupInfoDeleteLogic) GroupInfoDelete ¶
func (l *GroupInfoDeleteLogic) GroupInfoDelete(in *dm.GroupInfoDeleteReq) (*dm.Response, error)
删除分组
type GroupInfoIndexLogic ¶
func NewGroupInfoIndexLogic ¶
func NewGroupInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoIndexLogic
func (*GroupInfoIndexLogic) GroupInfoIndex ¶
func (l *GroupInfoIndexLogic) GroupInfoIndex(in *dm.GroupInfoIndexReq) (*dm.GroupInfoIndexResp, error)
获取分组信息列表
type GroupInfoReadLogic ¶
func NewGroupInfoReadLogic ¶
func NewGroupInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoReadLogic
func (*GroupInfoReadLogic) GroupInfoRead ¶
func (l *GroupInfoReadLogic) GroupInfoRead(in *dm.GroupInfoReadReq) (*dm.GroupInfo, error)
获取分组信息详情
type GroupInfoUpdateLogic ¶
func NewGroupInfoUpdateLogic ¶
func NewGroupInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoUpdateLogic
func (*GroupInfoUpdateLogic) GroupInfoUpdate ¶
func (l *GroupInfoUpdateLogic) GroupInfoUpdate(in *dm.GroupInfoUpdateReq) (*dm.Response, error)
更新分组
Click to show internal directories.
Click to hide internal directories.