Documentation ¶
Index ¶
- type EntityConfigManager
- func (manager *EntityConfigManager) All(ctx context.Context, version string) (schema.Schema, errors.Error)
- func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entity schema.Entity, err errors.Error)
- func (manager *EntityConfigManager) Write(ctx context.Context, configs string) (string, errors.Error)
- type IEntityConfigManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConfigManager ¶
type EntityConfigManager struct {
// contains filtered or unexported fields
}
EntityConfigManager -
func (*EntityConfigManager) All ¶
func (manager *EntityConfigManager) All(ctx context.Context, version string) (schema.Schema, errors.Error)
All -
type IEntityConfigManager ¶
type IEntityConfigManager interface { All(ctx context.Context, version string) (sch schema.Schema, err errors.Error) Read(ctx context.Context, name string, version string) (entity schema.Entity, err errors.Error) Write(ctx context.Context, configs string) (version string, err errors.Error) }
IEntityConfigManager -
func NewEntityConfigManager ¶
func NewEntityConfigManager(repository repositories.IEntityConfigRepository, cache cache.Cache) IEntityConfigManager
NewEntityConfigManager -
Click to show internal directories.
Click to hide internal directories.