datastore

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 19 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

type ErrorRepoNotExist struct {
	RepoID int64
}

func (ErrorRepoNotExist) Error

func (e ErrorRepoNotExist) Error() string

func (ErrorRepoNotExist) Unwrap

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