Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Position ¶
type Position [2]int64
func (Position) FirstToHexString ¶
func (Position) LastToHexString ¶
type Replication ¶
type Replication struct { }
func NewReplication ¶
func NewReplication() *Replication
func (*Replication) Startup ¶
func (r *Replication) Startup() error
type RoughReader ¶
type RoughReader interface { }
type Wal ¶
type Wal struct {
// contains filtered or unexported fields
}
func NewWal ¶
func NewWal(opt WalOptions) *Wal
func (*Wal) CurrentPosition ¶
func (*Wal) RoughReader ¶
func (w *Wal) RoughReader(pos Position) (RoughReader, error)
RoughReader returns a RoughReader for wal replaying If wal logs are missing between pos and earliest wal file, nil is returned as reader w/o any error If preparing reader failed, an error is returned
type WalOptions ¶
Click to show internal directories.
Click to hide internal directories.