config

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets = xdg.ConfigHome + "/encloud/assets"
View Source
var ChunkSize = 1024 * 32 // chunkSize in bytes. here, 32 KiB.
View Source
var DotKeys = xdg.ConfigHome + "/encloud/.keys"
View Source
var Download = xdg.ConfigHome + "/encloud/assets/downloads"
View Source
var EncryptionKeySize = uint32(32) // KeySize is 32 bytes (256 bits).
View Source
var IdRsa = xdg.ConfigHome + "/encloud/.keys/.idRsa"
View Source
var IdRsaPub = xdg.ConfigHome + "/encloud/.keys/.idRsaPub"
View Source
var KeyMemory = uint32(1024 * 64) // KeyMemory in KiB. here, 64 MiB.
View Source
var KeySize = 3072
View Source
var KeyThreads = uint8(4)
View Source
var KeyTime = uint32(5)
View Source
var NonceSize = 24 // in bytes. taken from aead.NonceSize()
View Source
var SaltSize = 32 // in bytes
View Source
var TestDir = xdg.ConfigHome + "/encloud/testdata"

Functions

func LoadDefaultConf

func LoadDefaultConf() error

LoadConf load default config

Types

This section is empty.

Jump to

Keyboard shortcuts

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