constants

package
v0.0.0-...-91ead5b Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONFIG_BASENAME = "storage"
	CONFIG_FILETYPE = "toml"
)
View Source
const (
	LOG_PREFIX_CRITICAL = "CRITICAL"
	LOG_PREFIX_ERROR    = "ERROR"
	LOG_PREFIX_WARNING  = "WARNING"
	LOG_PREFIX_INFO     = "INFO"
)
View Source
const APPLICATION_TEMPORARY_DIRECTORY_NAME = "storage"

Name of the directory that represents the application in system temporary directory

View Source
const ARCHIVE_BACKUP_EXTENSION = ".bk"

Extension that is used to represent backup archives

View Source
const ARCHIVE_EXTENSION = ".tar.gz.age"

Encrypted, compressed, archived directory with all extensions

View Source
const CONFIG_DEFAULT_LOG_FILE_FILENAME = "storage.log"
View Source
const PRIVATE_KEY_SIZE_LIMIT = 1 << 24 // 16 MiB
View Source
const VERSION = "0.3"

Variables

View Source
var (
	USER_HOME_DIRECTORY                = userHomeDir
	CONFIG_DIRECTORY_PATH              = path.Join(USER_HOME_DIRECTORY, ".config/storage")
	CONFIG_RELATIVE_DEV_DIRECTORY_PATH = "test_data"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳