Documentation ¶ Index ¶ type Config type Storage func NewBoltDBEventStorage(l *logrus.Entry, cfg Config) *Storage func (p *Storage) Close() error func (p *Storage) Load(a eventsourcing.Aggregate) error func (p *Storage) Name() string func (p *Storage) Upsert(a eventsourcing.Aggregate) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Enable bool `env:"BOLTDB_STORAGE_ENABLE" yaml:"enable"` File string `env:"BOLTDB_STORAGE_FILE" default:"eventstore.db" yaml:"file"` } type Storage ¶ type Storage struct { // contains filtered or unexported fields } func NewBoltDBEventStorage ¶ func NewBoltDBEventStorage(l *logrus.Entry, cfg Config) *Storage func (*Storage) Close ¶ func (p *Storage) Close() error func (*Storage) Load ¶ func (p *Storage) Load(a eventsourcing.Aggregate) error func (*Storage) Name ¶ func (p *Storage) Name() string func (*Storage) Upsert ¶ func (p *Storage) Upsert(a eventsourcing.Aggregate) error Source Files ¶ View all Source files boltdb.go Click to show internal directories. Click to hide internal directories.