Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToRpcDeviceInfo ¶ added in v0.5.1
func ToRpcDeviceInfo(req *types.DeviceInfoSaveReq) *dm.DeviceInfo
Types ¶
type CountLogic ¶ added in v0.3.0
func NewCountLogic ¶ added in v0.3.0
func NewCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CountLogic
func (*CountLogic) Count ¶ added in v0.3.0
func (l *CountLogic) Count(req *types.DeviceCountReq) (resp *types.DeviceCountResp, err error)
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.DeviceInfoSaveReq) error
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.DeviceInfoDeleteReq) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.DeviceInfoIndexReq) (resp *types.DeviceInfoIndexResp, err error)
type MultiImportLogic ¶ added in v0.5.1
func NewMultiImportLogic ¶ added in v0.5.1
func NewMultiImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiImportLogic
func (*MultiImportLogic) MultiImport ¶ added in v0.5.1
func (l *MultiImportLogic) MultiImport(req *types.DeviceMultiImportReq, rows [][]string) (resp *types.DeviceMultiImportResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.DeviceInfoReadReq) (resp *types.DeviceInfo, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.DeviceInfoSaveReq) error
Click to show internal directories.
Click to hide internal directories.