 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ErrKeyExists = fmt.Errorf("key by that name already exists, refusing to overwrite")
    
      View Source
      
  
var ErrNoSuchKey = fmt.Errorf("no key by the given name was found")
    Functions ¶
This section is empty.
Types ¶
type FSKeystore ¶
type FSKeystore struct {
	// contains filtered or unexported fields
}
    func NewFSKeystore ¶
func NewFSKeystore(dir string) (*FSKeystore, error)
func (*FSKeystore) Delete ¶
func (ks *FSKeystore) Delete(name string) error
func (*FSKeystore) List ¶
func (ks *FSKeystore) List() ([]string, error)
type MemKeystore ¶
type MemKeystore struct {
	// contains filtered or unexported fields
}
    func NewMemKeystore ¶
func NewMemKeystore() *MemKeystore
func (*MemKeystore) Delete ¶
func (mk *MemKeystore) Delete(name string) error
func (*MemKeystore) List ¶
func (mk *MemKeystore) List() ([]string, error)
 Click to show internal directories. 
   Click to hide internal directories.