Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDatabase ¶
type IDatabase struct {
// Creates a new table in the database.
CreateTable func()
// Adds a number in the database to the provided key-value.
Add func(key string, value int)
// Removes all the keys from the database.
Clear func() bool
// Deletes the provided key from the database.
Delete func(key string) bool
// Retrieves data from the provided key from the database.
Get func(key string) any
// Sets a value for the provided key in the database.
Set func(key string, value any)
// Substracts a number in the database to the provided key-value.
Substract func(key string, value int)
}
Click to show internal directories.
Click to hide internal directories.