Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.OtaModuleInfo) (resp *types.WithID, err error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.OtaModuleInfoIndexReq) (resp *types.OtaModuleInfoIndexResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.WithIDOrCode) (resp *types.OtaModuleInfo, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.OtaModuleInfo) error
Click to show internal directories.
Click to hide internal directories.