CovenantSQL: Index | Files

package interfaces

import ""

Package interfaces defines common used interfaces of the xenomint package.


Package Files

doc.go interfaces.go

type Storage Uses

type Storage interface {
    DirtyReader() *sql.DB
    Reader() *sql.DB
    Writer() *sql.DB
    Close() error

Storage is the interface implemented by an object that returns standard *sql.DB as DirtyReader, Reader, or Writer and can be closed by Close.

Package interfaces imports 1 packages (graph) and is imported by 6 packages. Updated 2018-11-23. Refresh now. Tools for package owners.