Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoPosition ¶
type MongoPosition struct { sync.RWMutex ResumeTokens *msg.WatchId `bson:"_id"` // contains filtered or unexported fields }
func LoadMongoPosition ¶
func LoadMongoPosition(conf *config.MongoSrConfig) (*MongoPosition, error)
type Position ¶
type Position struct { sync.RWMutex BinlogName string `toml:"binlog-name"` BinlogPos string `toml:"binlog-pos"` BinlogGTID string `toml:"binlog-gtid"` // contains filtered or unexported fields }
func LoadPosition ¶
func LoadPosition(conf *config.MysqlSrConfig) (*Position, error)
func (*Position) GetFilePath ¶
func (*Position) GetMongoFilePath ¶
Click to show internal directories.
Click to hide internal directories.