Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KB represents base2 kilobyte KB int64 = 1024 // MB represents base2 megabyte MB = KB * 1024 // GB represents base2 gigabyte GB = MB * 1024 // TB represents base2 terabyte TB = GB * 1024 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB represents gocask A Log-Structured Hash Table for Fast Key/Value Data Based on https://riak.com/assets/bitcask-intro.pdf
type Option ¶
Option represents gocask configuration option
func WithDataDir ¶
WithDataDir configures the location of the data dir where your databases will reside
func WithMaxDataFileSize ¶
WithMaxDataFileSize configures maximum data file size after which data files will be rotated
Click to show internal directories.
Click to hide internal directories.