Documentation ¶
Index ¶
Constants ¶
View Source
const ErrCouldNotCloseDatabase = 1006
View Source
const ErrDbDoesNotOpen = 1001
View Source
const ErrKeyIsEmpty = 1004
View Source
const ErrKeyNotFound = 1007
View Source
const ErrOpeningDatabase = 1002
View Source
const ErrUnableToDelete = 1005
View Source
const ErrUnableToWrite = 1003
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close() string
Command close the database. It is safe to close the database file leveldb.
Returns a string containing information about the result of the operation.
func Delete ¶
Command deleting records. The command to remove records from the database by key.
Returns a string containing information about the result of the operation.
func Get ¶
The command get a value. It gets the value for the selected key.
Returns a string containing information about the result of the operation.
func Open ¶
The command to open the database. If the database does not exist, it will create a new database.
Returns a string containing information about the result of the operation.
func ParseSubCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.