Documentation ¶
Overview ¶
Package leveldb provides a LevelDB-based implementation of store.Store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
func Open(path string, opts OpenOptions) (store.Store, error)
Open opens the database located at the given path.
This adds the following four stats for a syncbase service:
syncbase/leveldb/service/{hash}/file_count syncbase/leveldb/service/{hash}/filesystem_bytes syncbase/leveldb/blobmap/{hash}/file_count syncbase/leveldb/blobmap/{hash}/filesystem_bytes
and the following two stats metrics per database:
syncbase/leveldb/db/{blessing}/{DB-name}/{hash}/file_count syncbase/leveldb/db/{blessing}/{DB-name}/{hash}/filesystem_bytes
where {hash} is a hash of the file path of the store.
Types ¶
type OpenOptions ¶
Click to show internal directories.
Click to hide internal directories.