rdb

package
v0.0.0-...-4ebf5ff Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RdbEventStore

type RdbEventStore struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(db *gorm.DB) (res *RdbEventStore, err error)

func (*RdbEventStore) Load

func (res *RdbEventStore) Load(partitionKey string, version int64) (es []*eventsourcing.EventEntity, err error)

func (*RdbEventStore) Save

func (res *RdbEventStore) Save(partitionKey string, events []*eventsourcing.EventEntity) error

Jump to

Keyboard shortcuts

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