Documentation ¶
Index ¶
- Variables
- func AddKeyChain(account string, data []byte) error
- func AesDecrypt(encryptData, key []byte, withBase64 bool) ([]byte, error)
- func AesEncrypt(originData, key []byte, withBase64 bool) ([]byte, error)
- func DecryptFile(path, account string) ([]byte, error)
- func DeleteKeyChain(account string) error
- func EncryptFile(path, account string) ([]byte, error)
- func ExecCommand(cmd string, args ...string) error
- func GetKeyChain(account string) ([]byte, error)
- func SetKeyChain(account string, data []byte) error
- func WaitFileChanged(filePath string) (chan bool, error)
- func WriteTempFile(bs []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDuplicateItem = keychain.ErrorDuplicateItem ErrItemNotFound = keychain.ErrorItemNotFound )
Functions ¶
func AddKeyChain ¶
func DecryptFile ¶
func DeleteKeyChain ¶
func EncryptFile ¶
func ExecCommand ¶ added in v0.3.0
func GetKeyChain ¶
func SetKeyChain ¶ added in v0.2.0
func WaitFileChanged ¶ added in v0.3.0
func WriteTempFile ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.