sqlstore

package
v0.0.0-...-89eca19 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package sqlstore is a collection of utility functions for database handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsConstraintError

func IsConstraintError(err error) bool

IsConstraintError returns true if err is a constraint violation error.

func Open

func Open(dbPath string) (*sql.DB, error)

Open returns a new database connection, and upgrades the schema as needed. Currently uses sqlite.

func ReloadConfig

func ReloadConfig()

ReloadConfig performs required actions to reload all dynamic config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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