Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoAggregateID = errors.New("aggregate id missing. cannot load aggregate")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enable bool `env:"POSTGRES_STORAGE_ENABLE" yaml:"enable"` Uri string `env:"POSTGRES_STORAGE_URI" default:"" yaml:"uri"` DatabaseName string `env:"POSTGRES_STORAGE_DATABASE_NAME" default:"" yaml:"databaseName"` MigrationsPath string `env:"POSTGRES_STORAGE_MIGRATIONS_PATH" default:"/migrations" yaml:"migrationsPath"` MigrationsTable string `env:"POSTGRES_STORAGE_MIGRATIONS_TABLE" default:"" yaml:"migrationsTable"` }
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewPostgresEventStorage ¶
Click to show internal directories.
Click to hide internal directories.