Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSnapshot ¶
BuildSnapshot serializes the database state into a JSON array of objects with keys K and V and the key and value for each entry as respective values
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
A Database is a key-value store
func InstallSnapshot ¶
InstallSnapshot deserializes a JSON string (following the schema created by BuildSnapshot) and returns a populated Database
Click to show internal directories.
Click to hide internal directories.