README.md fixup
This commit is contained in:
parent
d509f76239
commit
ff676e9fef
|
@ -28,7 +28,7 @@ gorqlite should be considered alpha until more testers share their experiences.
|
||||||
go get github.com/raindog308/gorqlite
|
go get github.com/raindog308/gorqlite
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
`
|
||||||
// these URLs are just generic database URLs, not rqlite API URLs,
|
// these URLs are just generic database URLs, not rqlite API URLs,
|
||||||
// so you don't need to worry about the various rqlite paths ("/db/query"), etc.
|
// so you don't need to worry about the various rqlite paths ("/db/query"), etc.
|
||||||
// just supply the base url and not "db" or anything after it.
|
// just supply the base url and not "db" or anything after it.
|
||||||
|
@ -111,7 +111,7 @@ gorqlite.TraceOn(os.Stderr)
|
||||||
|
|
||||||
// turn off
|
// turn off
|
||||||
gorqlite.TraceOff()
|
gorqlite.TraceOff()
|
||||||
|
`
|
||||||
## Important Notes
|
## Important Notes
|
||||||
|
|
||||||
If you use access control, any user connecting will need the "status" permission in addition to any other needed permission. This is so gorqlite can query the cluster and try other peers if the master is lost.
|
If you use access control, any user connecting will need the "status" permission in addition to any other needed permission. This is so gorqlite can query the cluster and try other peers if the master is lost.
|
||||||
|
|
Loading…
Reference in New Issue