Documentation ¶
Index ¶
- Variables
- func NewKey(keys ...string) string
- type BuntCache
- func (bc *BuntCache) AddPortion(portions ...Portion)
- func (bc *BuntCache) CreateJSONIndex(name string, pattern string, paths ...string)
- func (bc *BuntCache) Delete(key string) error
- func (bc *BuntCache) Get(key string) (val string, err error)
- func (bc *BuntCache) GetDB() *buntdb.DB
- func (bc *BuntCache) GetObject(key string, val interface{}) (err error)
- func (bc *BuntCache) Iterate(iterator func(key, val string) bool)
- func (bc *BuntCache) Set(key string, obj interface{}) error
- func (bc *BuntCache) SetDefaultConverter(converter Converter)
- type Converter
- type Dataset
- type Portion
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPortion = &Dataset{"*", JsonConverter}
View Source
var JsonConverter = &jsonConverter{}
Functions ¶
Types ¶
type BuntCache ¶
type BuntCache struct {
// contains filtered or unexported fields
}
func NewCacheWithConverter ¶
export
func (*BuntCache) AddPortion ¶
func (*BuntCache) CreateJSONIndex ¶
func (*BuntCache) SetDefaultConverter ¶
Click to show internal directories.
Click to hide internal directories.