Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscardStore ¶
type DiscardStore struct{}
func NewDiscardStore ¶
func NewDiscardStore() (*DiscardStore, error)
NewDiscardStore creates a new DiscardStore however, new(DiscardStore) (or just declaring a DiscardStore variable) is sufficient to initialize a DiscardStore.
func (*DiscardStore) Delete ¶
func (s *DiscardStore) Delete() error
func (*DiscardStore) Get ¶
func (s *DiscardStore) Get() string
func (*DiscardStore) Set ¶
func (s *DiscardStore) Set(v string) error
Set discards v and always succeeds
type KeyringStore ¶
type KeyringStore struct {
// contains filtered or unexported fields
}
func NewKeyringStore ¶
func NewKeyringStore() (*KeyringStore, error)
func (*KeyringStore) Delete ¶
func (s *KeyringStore) Delete() error
func (*KeyringStore) Get ¶
func (s *KeyringStore) Get() string
func (*KeyringStore) Set ¶
func (s *KeyringStore) Set(v string) error
Click to show internal directories.
Click to hide internal directories.