Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2015 Changes in this version + const ErrAllocate + const ErrAuthFailed + const ErrBufferTooSmall + const ErrDataTooLarge + const ErrDuplicateCallback + const ErrDuplicateItem + const ErrDuplicateKeychain + const ErrInvalidCallback + const ErrInvalidItemRef + const ErrInvalidKeychain + const ErrInvalidSearchRef + const ErrItemNotFound + const ErrNoDefaultKeychain + const ErrNoSuchAttr + const ErrNoSuchClass + const ErrNoSuchKeychain + const ErrNotAvailable + const ErrParam + const ErrReadOnly + const ErrReadOnlyAttr + const ErrUnimplemented + func AddGenericPassword(attributes *GenericPasswordAttributes) error + func CreateKeychain(path string, password string) error + func CreateKeychainViaPrompt(path string) error + func DeleteKeychain(path string) error + func FindAndRemoveGenericPassword(attributes *GenericPasswordAttributes) error + func FindGenericPassword(attributes *GenericPasswordAttributes) ([]byte, error) + func GetAllAccountNames(serviceName string, keychains ...string) (accountNames []string, err error) + func RemoveAndAddGenericPassword(attributes *GenericPasswordAttributes) error + type GenericPasswordAttributes struct + AccountName string + Keychain []string + Password []byte + ServiceName string + TrustedApplications []string