Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyOpsResponse ¶
type Config ¶
type Connection ¶
type Connection struct { Session *mgo.Session OplogChan chan bson.M Mutex sync.Mutex Optime bson.MongoTimestamp NOplog uint64 NDone uint64 // contains filtered or unexported fields }
func NewConnection ¶
func NewConnection(config Config) (*Connection, error)
func (*Connection) Databases ¶
func (c *Connection) Databases() ([]string, error)
func (*Connection) Push ¶
func (c *Connection) Push(oplog bson.M)
func (*Connection) SyncOplog ¶
func (c *Connection) SyncOplog(dst *Connection) error
Click to show internal directories.
Click to hide internal directories.