typos in README
This commit is contained in:
parent
c50db56b73
commit
c62bc61bd0
|
@ -44,13 +44,13 @@ conn, err := gorqlite.Open("https://") // same but with https
|
|||
conn, err := gorqlite.Open("https://localhost:4001/") // same only explicitly
|
||||
|
||||
// with auth:
|
||||
conn, err := sql.Open("https://mary:secret2@localhost:4001/")
|
||||
conn, err := gorqlite.Open("https://mary:secret2@localhost:4001/")
|
||||
// different server, setting the rqlite consistency level
|
||||
conn, err := sql.Open("https://mary:secret2@server1.example.com:4001/?level=none")
|
||||
conn, err := gorqlite.Open("https://mary:secret2@server1.example.com:4001/?level=none")
|
||||
// same without auth, setting the rqlite consistency level
|
||||
conn, err := sql.Open("https://server2.example.com:4001/?level=weak")
|
||||
conn, err := gorliqte.Open("https://server2.example.com:4001/?level=weak")
|
||||
// different port, setting the rqlite consistency level and timeout
|
||||
conn, err := sql.Open("https://localhost:2265/?level=strong&timeout=30")
|
||||
conn, err := gorqlite.Open("https://localhost:2265/?level=strong&timeout=30")
|
||||
|
||||
// change our minds
|
||||
conn.SetConsistencyLevel("none")
|
||||
|
|
Loading…
Reference in New Issue