interfaces

package
v0.0.0-...-020e20f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package interfaces defines common used interfaces of the xenomint package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL