server

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceGroupServer

type DeviceGroupServer struct {
	dm.UnimplementedDeviceGroupServer
	// contains filtered or unexported fields
}

func NewDeviceGroupServer

func NewDeviceGroupServer(svcCtx *svc.ServiceContext) *DeviceGroupServer

func (*DeviceGroupServer) GroupDeviceIndex

获取分组设备信息列表

func (*DeviceGroupServer) GroupDeviceMultiCreate

func (s *DeviceGroupServer) GroupDeviceMultiCreate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)

创建分组设备

func (*DeviceGroupServer) GroupDeviceMultiDelete

func (s *DeviceGroupServer) GroupDeviceMultiDelete(ctx context.Context, in *dm.GroupDeviceMultiDeleteReq) (*dm.Empty, error)

删除分组设备

func (*DeviceGroupServer) GroupDeviceMultiUpdate

func (s *DeviceGroupServer) GroupDeviceMultiUpdate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)

更新分组设备

func (*DeviceGroupServer) GroupInfoCreate

func (s *DeviceGroupServer) GroupInfoCreate(ctx context.Context, in *dm.GroupInfo) (*dm.WithID, error)

创建分组

func (*DeviceGroupServer) GroupInfoDelete

func (s *DeviceGroupServer) GroupInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)

删除分组

func (*DeviceGroupServer) GroupInfoIndex

获取分组信息列表

func (*DeviceGroupServer) GroupInfoRead

func (s *DeviceGroupServer) GroupInfoRead(ctx context.Context, in *dm.WithIDChildren) (*dm.GroupInfo, error)

获取分组信息详情

func (*DeviceGroupServer) GroupInfoUpdate

func (s *DeviceGroupServer) GroupInfoUpdate(ctx context.Context, in *dm.GroupInfo) (*dm.Empty, error)

更新分组

Jump to

Keyboard shortcuts

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