Documentation ¶
Index ¶
Constants ¶
View Source
const ( Filename = "boltdb.db" Bucket = "DB" DefaultDir = "./data/store" DefaultMode = os.FileMode(0600) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(config *StoreConfig) (*Store, error)
type StoreConfig ¶
type StoreConfig struct { Dir string `json:"dir,omitempty"` Mode os.FileMode `json:"mode,omitempty"` Options *bolt.Options `json:"options,omitempty"` }
func DefaultStoreConfig ¶ added in v0.3.1
func DefaultStoreConfig() *StoreConfig
Click to show internal directories.
Click to hide internal directories.