Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { // FS returns the underlying filesystem to read/write from. FS() afero.Fs }
Context are all the values defined in the background that age operations may require.
type FileReader ¶
FileReader reads and decrypts data from an encrypted file.
type FileWriter ¶
FileWriter encrypts and writes data to a file.
func (FileWriter) Close ¶
func (f FileWriter) Close() error
Close writes the encrypetd data to the file and closes it.
type Fs ¶
Fs is a filesystem that reads and writes encrypted files. Note that files cannot be opened for both reading and writing at the same time.
Click to show internal directories.
Click to hide internal directories.