Documentation
¶
Index ¶
- func NewInterpreter() common.Interpreter
- func NewUnversionedNotifier(opts common.Opts, table string) (*notifier.UnversionedPersistenceNotifier[*UnversionedPersistence], error)
- func NewVersionedNotifier(opts common.Opts, table string) (*notifier.VersionedPersistenceNotifier[*VersionedPersistence], error)
- func OpenDB(dataSourceName string, maxOpenConns, maxIdleConns int, ...) (*sql.DB, error)
- type BasePersistence
- type TestDriver
- func (t *TestDriver) NewTransactionalUnversioned(dataSourceName string, config driver.Config) (driver.TransactionalUnversionedPersistence, error)
- func (t *TestDriver) NewTransactionalVersioned(dataSourceName string, config driver.Config) (driver.TransactionalVersionedPersistence, error)
- func (t *TestDriver) NewUnversioned(dataSourceName string, config driver.Config) (driver.UnversionedPersistence, error)
- func (t *TestDriver) NewVersioned(dataSourceName string, config driver.Config) (driver.VersionedPersistence, error)
- type UnversionedPersistence
- type VersionedPersistence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterpreter ¶
func NewInterpreter() common.Interpreter
func NewUnversionedNotifier ¶
func NewUnversionedNotifier(opts common.Opts, table string) (*notifier.UnversionedPersistenceNotifier[*UnversionedPersistence], error)
func NewVersionedNotifier ¶
func NewVersionedNotifier(opts common.Opts, table string) (*notifier.VersionedPersistenceNotifier[*VersionedPersistence], error)
Types ¶
type BasePersistence ¶
type BasePersistence[V any, R any] struct { *common.BasePersistence[V, R] }
type TestDriver ¶
func (*TestDriver) NewTransactionalUnversioned ¶
func (t *TestDriver) NewTransactionalUnversioned(dataSourceName string, config driver.Config) (driver.TransactionalUnversionedPersistence, error)
func (*TestDriver) NewTransactionalVersioned ¶
func (t *TestDriver) NewTransactionalVersioned(dataSourceName string, config driver.Config) (driver.TransactionalVersionedPersistence, error)
func (*TestDriver) NewUnversioned ¶
func (t *TestDriver) NewUnversioned(dataSourceName string, config driver.Config) (driver.UnversionedPersistence, error)
func (*TestDriver) NewVersioned ¶
func (t *TestDriver) NewVersioned(dataSourceName string, config driver.Config) (driver.VersionedPersistence, error)
type UnversionedPersistence ¶
type UnversionedPersistence struct {
*common.UnversionedPersistence
}
func NewUnversioned ¶
func NewUnversioned(opts common.Opts, table string) (*UnversionedPersistence, error)
type VersionedPersistence ¶
type VersionedPersistence struct {
*common.VersionedPersistence
}
func NewVersioned ¶
func NewVersioned(opts common.Opts, table string) (*VersionedPersistence, error)
Click to show internal directories.
Click to hide internal directories.