managers

package
v0.0.0-alpha5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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 -

func (*EntityConfigManager) Read

func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entity schema.Entity, err errors.Error)

Read -

func (*EntityConfigManager) Write

func (manager *EntityConfigManager) Write(ctx context.Context, configs string) (string, errors.Error)

Write -

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 -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL