storage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) (*sql.DB, error)

func InitFromConfig

func InitFromConfig(path string) error

func Register

func Register(name string, db *sql.DB)

Types

type Config

type Config struct {
	Storage map[string]Storage
}

type Repository

type Repository interface {
	// contains filtered or unexported methods
}

type Storage

type Storage struct {
	Type string
	File string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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