forked from nutsdb/nutsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
20 lines (15 loc) · 846 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
Package nutsdb implements a simple, fast, embeddable and persistent key/value store
written in pure Go. It supports fully serializable transactions.
And it also supports data structure such as list、set、sorted set etc.
NutsDB currently works on Mac OS X and Linux. Windows not been tested.
Usage
NutsDB has the following main types: DB, BPTree, Entry, DataFile And Tx. and NutsDB supports bucket, A bucket is
a collection of unique keys that are associated with values.
All operations happen inside a Tx. Tx represents a transaction, which can
be read-only or read-write. Read-only transactions can read values for a
given key , or iterate over a set of key-value pairs (prefix scanning or range scanning).
read-write transactions can also update and delete keys from the DB.
See the examples for more usage details.
*/
package nutsdb