Versions in this module Expand all Collapse all v1 v1.3.0 Jan 28, 2022 Changes in this version + func SetHandleInViper(v *viper.Viper, db *DB) + type Counter string + const CounterWALPos + type DB struct + func GetHandleFromViper(v *viper.Viper) (*DB, error) + func New(file string) (c *DB, err error) + func (c *DB) BucketInit(bucketName string) error + func (c *DB) Close() error + func (c *DB) CounterGet(bucketName string, counterName Counter) (value uint64, err error) + func (c *DB) CounterSet(bucketName string, counterName Counter, value uint64) (err error)