config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataDirectory = utils.GetDataDirectory()

DataDirectory TODO

View Source
var IndexProvider string

IndexProvider TODO

View Source
var TestingMode = false

TestingMode TODO

Functions

func GetDBConn

func GetDBConn() (db.DB, error)

GetDBConn gets a new Database connection for the config provider

func GetIndexConn

func GetIndexConn() (index.Index, error)

GetIndexConn gets a new Index connection for the config provider

func GetWorkingBook

func GetWorkingBook(db db.DB, bkName string) (*note.Book, error)

GetWorkingBook gets the config working Book

Types

This section is empty.

Jump to

Keyboard shortcuts

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