Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Key value store Use the Open() method to create one, and Close() it when done
func Open ¶
Open a key-value store "path" is the full path to the database file, any leading directories must have been created already File is created with mode 0640 if needed Because of BoltDB restrictions, only one process may open the file at a time Attempts to open the file from another process will fail with a timeout error
func (*Store) Delete ¶
Delete the entry with the given key If no such key is present in the store, it returns error
Click to show internal directories.
Click to hide internal directories.