aboutsummaryrefslogtreecommitdiff
path: root/info.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-08 08:06:17 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-01-08 08:06:17 -0700
commitebc9f0da9e0d2fe90a4f9a820114d462fdf13178 (patch)
tree287fb8791e03a70d5959c12dabab4bb25766d713 /info.go
parentNOTES (diff)
downloaddedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.gz
dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.xz
Basic types.
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
+}