datastore

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverSqlite   = "sqlite3"
	DriverMysql    = "mysql"
	DriverPostgres = "postgres"
)

Supported database drivers

Variables

View Source
var ErrNoTokenProvided = errors.New("Please provide a token")

Functions

func NewEngine

func NewEngine(opts *store.Opts) (store.Store, error)

func SupportedDriver

func SupportedDriver(driver string) bool

Types

type ErrorRepoNotExist added in v1.0.0

type ErrorRepoNotExist struct {
	RepoID int64
}

func (ErrorRepoNotExist) Error added in v1.0.0

func (e ErrorRepoNotExist) Error() string

func (ErrorRepoNotExist) Unwrap added in v1.0.0

func (ErrorRepoNotExist) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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