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

package interfaces

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

Package interfaces defines common used interfaces of the xenomint package.

Index

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.