Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decrypt ¶
type Decrypt struct {
// contains filtered or unexported fields
}
Decrypt the decryption component
func NewDecrypt ¶
NewDecrypt create a decryption component
type Encrypt ¶
type Encrypt struct {
// contains filtered or unexported fields
}
Encrypt the encryption component
func NewEncrypt ¶
NewEncrypt create an encryption component
func (*Encrypt) CreateEncryptTemp ¶
func (e *Encrypt) CreateEncryptTemp(path string) (tempPath string, removeTemp func() error, err error)
CreateEncryptTemp create an encryption temporary file if enable encrypt and the path is matched
func (*Encrypt) NeedEncrypt ¶
NeedEncrypt encryption is enabled and path is matched
Click to show internal directories.
Click to hide internal directories.