Versions in this module Expand all Collapse all v4 v4.18.4 Sep 26, 2024 v4.18.3 Sep 26, 2024 Changes in this version + const DefaultConnectInsecure + const DefaultMigrationsTable + var ErrBadConfig = fmt.Errorf("bad parameter") + var ErrNilConfig = fmt.Errorf("no config") + func OpenURL(url string) (database.Driver, error) + func WithInstance(instance *gorqlite.Connection, config *Config) (database.Driver, error) + type Config struct + ConnectInsecure bool + MigrationsTable string + type Rqlite struct + func (r *Rqlite) Close() error + func (r *Rqlite) Drop() error + func (r *Rqlite) Lock() error + func (r *Rqlite) Open(url string) (database.Driver, error) + func (r *Rqlite) Run(migration io.Reader) error + func (r *Rqlite) SetVersion(version int, dirty bool) error + func (r *Rqlite) Unlock() error + func (r *Rqlite) Version() (version int, dirty bool, err error)