 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var ErrNotFound = errors.New("ErrorNotFound")
    ErrNotFound is returned when no results are returned from the database
Functions ¶
This section is empty.
Types ¶
type DBStore ¶
type DBStore struct {
	// contains filtered or unexported fields
}
    DBStore uses LevelDB to store values.
func NewDBStore ¶
NewDBStore creates a new instance of DBStore.
func NewInmemoryStore ¶
func NewInmemoryStore() *DBStore
NewInmemoryStore returns a new instance of DBStore. To be used only in tests and simulations.
 Click to show internal directories. 
   Click to hide internal directories.