Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("The specified item could not be found in the keychain.")
View Source
var ErrNoAvailImpl = errors.New("No keyring implementation for your platform available.")
Functions ¶
Types ¶
type ArrayKeyring ¶
type ArrayKeyring struct {
// contains filtered or unexported fields
}
func (*ArrayKeyring) Remove ¶
func (k *ArrayKeyring) Remove(service, key string) error
type Keyring ¶
type Keyring interface { Get(service, key string) ([]byte, error) Set(service, key string, secret []byte) error Remove(service, key string) error List(service string) ([]string, error) }
func DefaultKeyring ¶
type OSXKeychain ¶
type OSXKeychain struct {
// contains filtered or unexported fields
}
func (*OSXKeychain) Remove ¶
func (k *OSXKeychain) Remove(service, key string) error
Click to show internal directories.
Click to hide internal directories.