config

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FileNameDefault is the default file name for the data store.
	FileNameDefault = ".vimp.db"

	// LocalStorePrefix is the prefix for local store.
	LocalStorePrefix = "sqlite://"
)

Variables

This section is empty.

Functions

func EnsureURI

func EnsureURI(uri string) (string, error)

EnsureURI ensures that the URI has a scheme.

func GetDefaultDBPath

func GetDefaultDBPath() string

GetDefaultDBPath returns the default path for the data store.

func GetTempFilePath added in v0.5.4

func GetTempFilePath(prefix string) string

GetTempFilePath returns a temporary file path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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