Documentation ¶
Index ¶
- func ToActionRpc(in *types.SchemaAction) *dm.SchemaAction
- func ToActionTypes(in *dm.SchemaAction) *types.SchemaAction
- func ToEventRpc(in *types.SchemaEvent) *dm.SchemaEvent
- func ToEventTypes(in *dm.SchemaEvent) *types.SchemaEvent
- func ToPropertyRpc(in *types.SchemaProperty) *dm.SchemaProperty
- func ToPropertyTypes(in *dm.SchemaProperty) *types.SchemaProperty
- func ToSchemaDefineRpc(in *types.SchemaDefine) *dm.SchemaDefine
- func ToSchemaDefineTypes(in *dm.SchemaDefine) *types.SchemaDefine
- func ToSchemaDefinesTypes(in []*dm.SchemaDefine) []*types.SchemaDefine
- func ToSchemaInfoRpc(in *types.ProductSchemaInfo) *dm.ProductSchemaInfo
- func ToSchemaInfoTypes(in *dm.ProductSchemaInfo) *types.ProductSchemaInfo
- func ToSchemaParamRpc(in *types.SchemaParam) *dm.SchemaParam
- func ToSchemaParamTypes(in *dm.SchemaParam) *types.SchemaParam
- func ToSchemaParamsRpc(in []*types.SchemaParam) []*dm.SchemaParam
- func ToSchemaParamsTypes(in []*dm.SchemaParam) []*types.SchemaParam
- func ToSchemaSpecRpc(in *types.SchemaSpec) *dm.SchemaSpec
- func ToSchemaSpecTypes(in *dm.SchemaSpec) *types.SchemaSpec
- func ToSchemaSpecsRpc(in []*types.SchemaSpec) []*dm.SchemaSpec
- func ToSchemaSpecsTypes(in []*dm.SchemaSpec) []*types.SchemaSpec
- type CreateLogic
- type DeleteLogic
- type IndexLogic
- type TslImportLogic
- type TslReadLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToActionRpc ¶
func ToActionRpc(in *types.SchemaAction) *dm.SchemaAction
func ToActionTypes ¶
func ToActionTypes(in *dm.SchemaAction) *types.SchemaAction
func ToEventRpc ¶
func ToEventRpc(in *types.SchemaEvent) *dm.SchemaEvent
func ToEventTypes ¶
func ToEventTypes(in *dm.SchemaEvent) *types.SchemaEvent
func ToPropertyRpc ¶
func ToPropertyRpc(in *types.SchemaProperty) *dm.SchemaProperty
func ToPropertyTypes ¶
func ToPropertyTypes(in *dm.SchemaProperty) *types.SchemaProperty
func ToSchemaDefineRpc ¶
func ToSchemaDefineRpc(in *types.SchemaDefine) *dm.SchemaDefine
func ToSchemaDefineTypes ¶
func ToSchemaDefineTypes(in *dm.SchemaDefine) *types.SchemaDefine
func ToSchemaDefinesTypes ¶
func ToSchemaDefinesTypes(in []*dm.SchemaDefine) []*types.SchemaDefine
func ToSchemaInfoRpc ¶
func ToSchemaInfoRpc(in *types.ProductSchemaInfo) *dm.ProductSchemaInfo
func ToSchemaInfoTypes ¶
func ToSchemaInfoTypes(in *dm.ProductSchemaInfo) *types.ProductSchemaInfo
func ToSchemaParamRpc ¶
func ToSchemaParamRpc(in *types.SchemaParam) *dm.SchemaParam
func ToSchemaParamTypes ¶
func ToSchemaParamTypes(in *dm.SchemaParam) *types.SchemaParam
func ToSchemaParamsRpc ¶
func ToSchemaParamsRpc(in []*types.SchemaParam) []*dm.SchemaParam
func ToSchemaParamsTypes ¶
func ToSchemaParamsTypes(in []*dm.SchemaParam) []*types.SchemaParam
func ToSchemaSpecRpc ¶
func ToSchemaSpecRpc(in *types.SchemaSpec) *dm.SchemaSpec
func ToSchemaSpecTypes ¶
func ToSchemaSpecTypes(in *dm.SchemaSpec) *types.SchemaSpec
func ToSchemaSpecsRpc ¶
func ToSchemaSpecsRpc(in []*types.SchemaSpec) []*dm.SchemaSpec
func ToSchemaSpecsTypes ¶
func ToSchemaSpecsTypes(in []*dm.SchemaSpec) []*types.SchemaSpec
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.ProductSchemaCreateReq) error
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.ProductSchemaDeleteReq) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.ProductSchemaIndexReq) (resp *types.ProductSchemaIndexResp, err error)
type TslImportLogic ¶
func NewTslImportLogic ¶
func NewTslImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TslImportLogic
func (*TslImportLogic) TslImport ¶
func (l *TslImportLogic) TslImport(req *types.ProductSchemaTslImportReq) error
type TslReadLogic ¶
func NewTslReadLogic ¶
func NewTslReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TslReadLogic
func (*TslReadLogic) TslRead ¶
func (l *TslReadLogic) TslRead(req *types.ProductSchemaTslReadReq) (resp *types.ProductSchemaTslReadResp, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.ProductSchemaUpdateReq) error
Click to show internal directories.
Click to hide internal directories.