Documentation ¶
Index ¶
- type EntityConfigManager
- func (manager *EntityConfigManager) All(ctx context.Context, version string) (sch schema.Schema, err error)
- func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entity schema.Entity, err error)
- func (manager *EntityConfigManager) Write(ctx context.Context, configs entities.EntityConfigs) (version string, err 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) (sch schema.Schema, err error)
All -
func (*EntityConfigManager) Read ¶
func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entity schema.Entity, err error)
Read -
func (*EntityConfigManager) Write ¶
func (manager *EntityConfigManager) Write(ctx context.Context, configs entities.EntityConfigs) (version string, err error)
Write -
type IEntityConfigManager ¶
type IEntityConfigManager interface { All(ctx context.Context, version string) (sch schema.Schema, err error) Read(ctx context.Context, name string, version string) (entity schema.Entity, err error) Write(ctx context.Context, configs entities.EntityConfigs) (version string, err error) }
IEntityConfigManager -
func NewEntityConfigManager ¶
func NewEntityConfigManager(repository repositories.IEntityConfigRepository, cache *ristretto.Cache) IEntityConfigManager
NewEntityConfigManager -
Click to show internal directories.
Click to hide internal directories.