Versions in this module Expand all Collapse all v0 v0.3.0 Mar 6, 2023 Changes in this version + func ExecCommand(cmd string, args ...string) error + func WaitFileChanged(filePath string) (chan bool, error) + func WriteTempFile(bs []byte) (string, error) v0.2.0 Feb 16, 2023 Changes in this version + func SetKeyChain(account string, data []byte) error v0.1.0 Feb 16, 2023 Changes in this version + var ErrDuplicateItem = keychain.ErrorDuplicateItem + var ErrItemNotFound = keychain.ErrorItemNotFound + 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 GetKeyChain(account string) ([]byte, error)