CovenantSQL: github.com/CovenantSQL/CovenantSQL/xenomint/sqlite Index | Files

package sqlite

import "github.com/CovenantSQL/CovenantSQL/xenomint/sqlite"

Package sqlite introduces a sqlite3 implementation of the xenomint/interfaces.Storage interface.

Index

Package Files

doc.go sqlite.go

type SQLite3 Uses

type SQLite3 struct {
    // contains filtered or unexported fields
}

SQLite3 is the sqlite3 implementation of the xenomint/interfaces.Storage interface.

func NewSqlite Uses

func NewSqlite(filename string) (s *SQLite3, err error)

NewSqlite returns a new SQLite3 instance attached to filename.

func (*SQLite3) Close Uses

func (s *SQLite3) Close() (err error)

Close implements Close method of the xenomint/interfaces.Storage interface.

func (*SQLite3) DirtyReader Uses

func (s *SQLite3) DirtyReader() *sql.DB

DirtyReader implements DirtyReader method of the xenomint/interfaces.Storage interface.

func (*SQLite3) Reader Uses

func (s *SQLite3) Reader() *sql.DB

Reader implements Reader method of the xenomint/interfaces.Storage interface.

func (*SQLite3) Writer Uses

func (s *SQLite3) Writer() *sql.DB

Writer implements Writer method of the xenomint/interfaces.Storage interface.

Package sqlite imports 6 packages (graph) and is imported by 12 packages. Updated 2019-06-10. Refresh now. Tools for package owners.