Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLClient ¶
MySQLClient implements SourceClient for MySQL
func BuildMySQLClient ¶
func BuildMySQLClient() (*MySQLClient, error)
BuildMySQLClient builds MySQL specific SourceClient
func (*MySQLClient) Fetch ¶
func (c *MySQLClient) Fetch(startPos tracker.Position, target *config.MinerTarget) ([]converters.InternalRow, error)
Fetch fetches batch-sized number of records from the outbox table
type SourceClient ¶
type SourceClient interface {
Fetch(startPos tracker.Position, target *config.MinerTarget) ([]converters.InternalRow, error)
}
SourceClient provide queries for outbox table
func BuildClient ¶
func BuildClient() (SourceClient, error)
BuildClient builds SourceClient for abstraction
Click to show internal directories.
Click to hide internal directories.