aboutsummaryrefslogtreecommitdiff
path: root/info.go
diff options
context:
space:
mode:
Diffstat (limited to 'info.go')
-rw-r--r--info.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/info.go b/info.go
new file mode 100644
index 0000000..d9642a5
--- /dev/null
+++ b/info.go
@@ -0,0 +1,10 @@
+package bolt
+
+// info contains information about the database.
+type info struct {
+ MapSize int
+ LastPageID int
+ LastTransactionID int
+ MaxReaders int
+ ReaderCount int
+}