encrypt

package
v0.0.0-...-a9bd8d8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "encrypt"
	Type = plugin.BHandle
	Self = path.DEFAULT_PATH_BACK_UPCACHE + "/" + Name
)

Variables

This section is empty.

Functions

func New

func New() plugin.Plugin

func Zip

func Zip(srcFile string, destZip string) error

Zip srcFile could be a single file or a directory destZip必须为一个正确的文件路径,否则返回错误

Types

type EncryptAndArchive

type EncryptAndArchive struct {
	// contains filtered or unexported fields
}

EncryptAndArchive 加密及归档

func (*EncryptAndArchive) Caller

func (e *EncryptAndArchive) Caller(single plugin.Single)

func (*EncryptAndArchive) GetName

func (e *EncryptAndArchive) GetName() string

func (*EncryptAndArchive) GetSupport

func (e *EncryptAndArchive) GetSupport() []uint32

func (*EncryptAndArchive) GetType

func (e *EncryptAndArchive) GetType() plugin.Type

func (*EncryptAndArchive) SetSource

func (e *EncryptAndArchive) SetSource(source *plugin.Source)

func (*EncryptAndArchive) Start

func (e *EncryptAndArchive) Start(args []string)

Jump to

Keyboard shortcuts

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