Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbName = "_go_mysql_sr"
Functions ¶
func FindPositionFileNotCreate ¶ added in v0.3.0
func GetPositionFilePath ¶ added in v0.3.0
func GetPositionFilePath(conf *config.BaseConfig) string
Types ¶
type MongoPosition ¶
type MongoPosition struct { sync.RWMutex FilePath string InitStartPosition time.Time // contains filtered or unexported fields }
func (*MongoPosition) Close ¶ added in v0.3.0
func (pos *MongoPosition) Close()
func (*MongoPosition) LoadPosition ¶ added in v0.3.0
func (pos *MongoPosition) LoadPosition(config *config.BaseConfig) string
func (*MongoPosition) ModifyPosition ¶ added in v0.3.0
func (pos *MongoPosition) ModifyPosition(v string) error
func (*MongoPosition) SavePosition ¶ added in v0.3.0
func (pos *MongoPosition) SavePosition() error
func (*MongoPosition) StartPosition ¶ added in v0.3.0
func (pos *MongoPosition) StartPosition()
type MysqlBasePosition ¶ added in v0.3.2
type MysqlBasePositionV2 ¶ added in v0.3.4
type MysqlPosition ¶ added in v0.3.0
type MysqlPosition struct { sync.RWMutex *MysqlBasePosition FilePath string // contains filtered or unexported fields }
func (*MysqlPosition) Close ¶ added in v0.3.0
func (pos *MysqlPosition) Close()
func (*MysqlPosition) LoadPosition ¶ added in v0.3.0
func (pos *MysqlPosition) LoadPosition(config *config.BaseConfig)
func (*MysqlPosition) ModifyPosition ¶ added in v0.3.0
func (pos *MysqlPosition) ModifyPosition(v string) error
func (*MysqlPosition) SavePosition ¶ added in v0.3.0
func (pos *MysqlPosition) SavePosition() error
func (*MysqlPosition) StartPosition ¶ added in v0.3.0
func (pos *MysqlPosition) StartPosition()
type MysqlPositionV2 ¶ added in v0.3.4
type MysqlPositionV2 struct { sync.RWMutex *MysqlBasePositionV2 FilePath string Name string // contains filtered or unexported fields }
func (*MysqlPositionV2) Close ¶ added in v0.3.4
func (pos *MysqlPositionV2) Close()
func (*MysqlPositionV2) LoadPosition ¶ added in v0.3.4
func (pos *MysqlPositionV2) LoadPosition(conf *config.BaseConfig) string
func (*MysqlPositionV2) ModifyPosition ¶ added in v0.3.4
func (pos *MysqlPositionV2) ModifyPosition(v string) error
func (*MysqlPositionV2) SavePosition ¶ added in v0.3.4
func (pos *MysqlPositionV2) SavePosition() error
func (*MysqlPositionV2) StartPosition ¶ added in v0.3.4
func (pos *MysqlPositionV2) StartPosition()
Click to show internal directories.
Click to hide internal directories.