1
0
Fork 0

Fix readme

This commit is contained in:
Gregory Eremin 2018-11-11 16:16:08 +01:00
parent 77a97a8020
commit a8dd324474
1 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@ as a slave and process binary log.
// import "github.com/localhots/bocadillo/reader" // import "github.com/localhots/bocadillo/reader"
reader, _ := reader.New("root@(127.0.0.1:3306)/testdb", slave.Config{ reader, _ := reader.New("root@(127.0.0.1:3306)/testdb", slave.Config{
ServerID: 1000, // Arbitrary unique ID ServerID: 1000, // Arbitrary unique ID
File: "mysql-bin.000035", // Log file name File: "mysql-bin.000035", // Log file name
Offset: 4, // Log file offset Offset: 4, // Log file offset
}) })
@ -34,7 +34,10 @@ for {
### WIP ### WIP
A fork of [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) is used This package is a work in progress and can't be considered production ready just
yet.
A fork of [go-sql-driver/mysql](https://github.com/localhots/mysql) is used
to provide underlying connection and basic packet exchange. to provide underlying connection and basic packet exchange.
### Licence ### Licence