Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultLogFileSize = 64 << 20 // 64MB
)
View Source
const (
FileLockName = "libra.lock"
)
Variables ¶
View Source
var ( ErrNilOption = errors.New("nil option provided") ErrLogFileThresholdSize = errors.New("log file threshold size cannot be 0") )
View Source
var (
ErrDatabaseIsRunning = errors.New("database is used by another process")
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options of the database.
func DefaultOptions ¶
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.