 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentStorage ¶
type PersistentStorage struct {
	// contains filtered or unexported fields
}
    PersistentStorage is a wrapper around persistent K:V db that provides thread safe functions to set and fetch state variables of the Inner Ring and Storage applications.
func NewPersistentStorage ¶
func NewPersistentStorage(path string) (*PersistentStorage, error)
NewPersistentStorage creates a new instance of a storage with 0600 rights.
func (PersistentStorage) Close ¶
func (p PersistentStorage) Close() error
Close closes persistent database instance.
 Click to show internal directories. 
   Click to hide internal directories.