Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSchemaInfoRpc ¶
func ToSchemaInfoRpc(in *types.CommonSchemaInfo) *dm.CommonSchemaInfo
func ToSchemaInfoTypes ¶
func ToSchemaInfoTypes(in *dm.CommonSchemaInfo) *types.CommonSchemaInfo
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.CommonSchemaCreateReq) error
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.CommonSchemaDeleteReq) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.CommonSchemaIndexReq) (resp *types.CommonSchemaIndexResp, err error)
type InitLogic ¶
func NewInitLogic ¶
func NewInitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InitLogic
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.CommonSchemaUpdateReq) error
Click to show internal directories.
Click to hide internal directories.