Documentation ¶
Index ¶
- type DB
- func (db *DB) CopyTable(old string, new string) error
- func (db *DB) CreateTable(target config.Target, fields []Field) error
- func (db *DB) GetActiveStreams() (map[config.Target]config.Source, error)
- func (db *DB) GetStreamLocation(source config.Source, target config.Target) (lsn string, ts time.Time, err error)
- func (db *DB) LogNotification(call string, err error)
- func (db *DB) PersistMessage(message creek.WAL, target string) error
- func (db *DB) PersistSnapshotData(target string, data []creek.SnapRow, pk []string) error
- func (db *DB) SetActive(target config.Target, active bool) error
- func (db *DB) SetContext(ctx context.Context)
- func (db *DB) StartAPI() <-chan string
- func (db *DB) SwapAndDropTable(namespace string, old string, new string) error
- func (db *DB) UpdateLocation(source config.Source, target config.Target, lsn string, ts time.Time) error
- func (db *DB) UpdateLocationWithContext(ctx context.Context, source config.Source, target config.Target, lsn string, ...) error
- type Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetActiveStreams ¶
func (*DB) GetStreamLocation ¶
func (*DB) LogNotification ¶
func (*DB) PersistSnapshotData ¶
func (*DB) SetContext ¶
func (*DB) SwapAndDropTable ¶
func (*DB) UpdateLocation ¶
Click to show internal directories.
Click to hide internal directories.