View definition

(Options).ReadOnly

Defined in github.com/boltdb/bolt/db.go

Description

Open database in read-only mode. Uses flock(..., LOCK_SH |LOCK_NB) to grab a shared lock (UNIX).