Documentation ¶
Index ¶
- func NewSchemaRepo(t mysql.DmProductSchemaModel) schema.Repo
- type SchemaRepo
- func (s SchemaRepo) ClearCache(ctx context.Context, productID string) error
- func (s SchemaRepo) Delete(ctx context.Context, productID string) error
- func (s SchemaRepo) GetSchemaModel(ctx context.Context, productID string) (*schema.Model, error)
- func (s SchemaRepo) TslImport(ctx context.Context, productID string, schemaInfo *schema.Model) error
- func (s SchemaRepo) TslRead(ctx context.Context, productID string) (*schema.Model, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaRepo ¶
func NewSchemaRepo(t mysql.DmProductSchemaModel) schema.Repo
Types ¶
type SchemaRepo ¶
type SchemaRepo struct {
// contains filtered or unexported fields
}
func (SchemaRepo) ClearCache ¶
func (s SchemaRepo) ClearCache(ctx context.Context, productID string) error
func (SchemaRepo) GetSchemaModel ¶
Click to show internal directories.
Click to hide internal directories.