{"repo":"canonical/go-dqlite","free":true,"listed":false,"github":"https://github.com/canonical/go-dqlite","clone":"git clone https://github.com/canonical/go-dqlite.git","description":"Go bindings for libdqlite","language":"Go","stars":474,"topics":["raft","dqlite","sqlite","hacktoberfest","go","database"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"go-dqlite [![CI tests][cibadge]][ciyml] [![Coverage Status][coverallsbadge]][coveralls] [![Go Report Card][reportcardbadge]][reportcard] [![GoDoc][godocbadge]][godoc] ====== This repository provides the go-dqlite Go package, containing bindings for the [dqlite][dqlite] C library and a pure-Go client for the dqlite wire [protocol][protocol]. Usage ----- The current major version of the package is v3 : The [ v2 ][v2] major version is used for an LTS series that gets fixes but no new features. Major version 1 is no longer receiving updates of any kind and should not be used. The best way to understand how to use the package is probably by looking at the source code of the [demo program][demo] and using it as an example. In general your application will use code such as: Build ----- In order to use the go-dqlite package in your application, you'll need to have the [dqlite][dqlite] C library installed on your system, along with its dependencies. go-dqlite can use the [go-sqlite3][go-sqlite3] package to store some information about the cluster locally on each node in a SQLite database file. Pass -tags libsqlite3 when building go-dqlite to request that go-sqlite3 link to your system's libsqlite3, instead of building its own. Alternatively, pass -tags nosqlite3 to disable the go-sqlite3 dependency; go-dqlite can store the same information in YAML files instead. Documentation ------------- The documentation for this package can be found on [pkg.go.dev][godoc]. Demo ---- To see dqlite ","default_branch":null,"files":null,"tree":[],"storefront":"/r/canonical","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/canonical/go-dqlite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}