 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func NewDatastore(path string) (ds.Datastore, error)
- type Datastore
- func (d *Datastore) Delete(key ds.Key) (err error)
- func (d *Datastore) Get(key ds.Key) (value interface{}, err error)
- func (d *Datastore) Has(key ds.Key) (exists bool, err error)
- func (d *Datastore) KeyFilename(key ds.Key) string
- func (d *Datastore) Put(key ds.Key, value interface{}) (err error)
- func (d *Datastore) Query(q query.Query) (query.Results, error)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ObjectKeySuffix = ".dsobject"
    Functions ¶
Types ¶
type Datastore ¶
type Datastore struct {
	// contains filtered or unexported fields
}
    Datastore uses a standard Go map for internal storage.
func (*Datastore) KeyFilename ¶
KeyFilename returns the filename associated with `key`
 Click to show internal directories. 
   Click to hide internal directories.