Documentation ¶
Index ¶
- Variables
- type BoltProvider
- type BoltPvd
- func (bp *BoltPvd) AddNamespace(nsName string) error
- func (bp *BoltPvd) Bolt() *bolt.DB
- func (bp *BoltPvd) Close() error
- func (bp *BoltPvd) DelBool(key string) error
- func (bp *BoltPvd) DelBoolIn(ns, key string) error
- func (bp *BoltPvd) DelFloat(key string) error
- func (bp *BoltPvd) DelInt(key string) error
- func (bp *BoltPvd) DelInt64(key string) error
- func (bp *BoltPvd) DelInt64In(ns, key string) error
- func (bp *BoltPvd) DelNamespace(nsName string) error
- func (bp *BoltPvd) DelString(key string) error
- func (bp *BoltPvd) DelStringIn(ns, key string) error
- func (bp *BoltPvd) GetBool(key string) (bool, bool)
- func (bp *BoltPvd) GetBoolIn(ns, key string) (bool, bool)
- func (bp *BoltPvd) GetFloat(key string) (float64, bool)
- func (bp *BoltPvd) GetInt(key string) (int, bool)
- func (bp *BoltPvd) GetInt64(key string) (int64, bool)
- func (bp *BoltPvd) GetInt64In(ns, key string) (int64, bool)
- func (bp *BoltPvd) GetString(key string) (string, bool)
- func (bp *BoltPvd) GetStringIn(ns, key string) (string, bool)
- func (bp *BoltPvd) HasNamespace(nsName string) bool
- func (bp *BoltPvd) ListBools() (map[string]bool, error)
- func (bp *BoltPvd) ListBoolsByPrefixIn(prefix, ns string) (map[string]bool, error)
- func (bp *BoltPvd) ListBoolsIn(ns string) (map[string]bool, error)
- func (bp *BoltPvd) ListInt64sIn(ns string) (map[string]int64, error)
- func (bp *BoltPvd) ListStringsByPrefixIn(prefix, ns string) (map[string]string, error)
- func (bp *BoltPvd) ListStringsIn(ns string) (map[string]string, error)
- func (bp *BoltPvd) SetBool(key string, val bool) error
- func (bp *BoltPvd) SetBoolIn(ns, key string, val bool) error
- func (bp *BoltPvd) SetFloat(key string, val float64) error
- func (bp *BoltPvd) SetInt(key string, val int) error
- func (bp *BoltPvd) SetInt64(key string, val int64) error
- func (bp *BoltPvd) SetInt64In(ns, key string, val int64) error
- func (bp *BoltPvd) SetString(key string, val string) error
- func (bp *BoltPvd) SetStringIn(ns, key, val string) error
- func (bp *BoltPvd) TryLock(key string) error
- func (bp *BoltPvd) Unlock(key string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBucketNotFound = errors.New("bucket not found")
)
Functions ¶
This section is empty.
Types ¶
type BoltProvider ¶ added in v0.6.0
type BoltPvd ¶
type BoltPvd struct {
// contains filtered or unexported fields
}
func (*BoltPvd) AddNamespace ¶
func (*BoltPvd) DelInt64In ¶
func (*BoltPvd) DelNamespace ¶
func (*BoltPvd) DelStringIn ¶
func (*BoltPvd) HasNamespace ¶
func (*BoltPvd) ListBoolsByPrefixIn ¶
func (*BoltPvd) ListStringsByPrefixIn ¶
func (*BoltPvd) ListStringsIn ¶
func (*BoltPvd) SetStringIn ¶
Click to show internal directories.
Click to hide internal directories.