store

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore interface {
	Save(os.File) error
	Open(string, *os.File) error
	List() error
}

type SQLStore

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

func NewSQL

func NewSQL(conf config.Database) (*SQLStore, error)

func (*SQLStore) Connect

func (s *SQLStore) Connect(context.Context) (driver.Conn, error)

func (*SQLStore) Dialect

func (s *SQLStore) Dialect() string

func (*SQLStore) Driver

func (s *SQLStore) Driver() driver.Driver

func (*SQLStore) Mount

func (s *SQLStore) Mount(fn func(*SQLStore) error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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