Discover Packages
github.com/pasientskyhosting/plik
client
crypto
package
Version:
v0.0.0-...-233af93
Opens a new window with list of versions in this module.
Published: Aug 11, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Backend interface {
Configure(arguments map[string ]interface{}) (err error )
Encrypt(in io .Reader ) (out io .Reader , err error )
GetConfiguration() interface{}
}
Backend interface describe methods that the different
types of crypto backend must implement to work.
NewCryptoBackend instantiate the wanted archive backend with the name provided in configuration file
We are passing its configuration found in .plikrc file or arguments
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.