api

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(src string, key string)

func Encrypt

func Encrypt(diskSize int, src string, key string)

func EncryptWithOptions added in v1.1.0

func EncryptWithOptions(src string, key string, options Options)

Types

type Options added in v1.1.0

type Options struct {
	FileExt     bool
	Destination string //full path + .zip or .tar.gz if fileext is set to true
	RamDiskSize int
}

Jump to

Keyboard shortcuts

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